Sync New/Updated Salesforce Users to Okta
CRMMarketingRecipe ToolsIdentity ManagementCollaborationSales Enablement
What it does
When someone creates or updates a user in Salesforce, this automation searches Okta for that user by email. It updates or activates their account based on status, adds department and manager details from a lookup table, and notifies Slack and the manager.
Who it's for
IT teams who manage user access across Salesforce and Okta without manual sync work.
How teams use this
Activate new hires in Okta from Salesforce
When someone is added to Salesforce with active status, the automation creates or activates their Okta account with department and manager details from the lookup table. Slack and email notify the team and manager.
Deactivate users when status changes
If a Salesforce user status changes to Deactivate, this automation updates Okta to deactivate that account and sends alerts to Slack and the manager. No manual Okta access is needed.
Sync users to a different Okta org
Point the automation to a second Okta instance so users synced from Salesforce are provisioned in both organizations. The lookup table and notification steps remain the same.
Add custom fields to Okta user profiles
Extend the automation to include additional Salesforce fields such as cost center or office location when updating Okta. Filter the lookup table to only return records matching the user's region.
How it works
- Detect new or updated Salesforce user. A new user record is created or an existing user is updated in Salesforce, triggering this automation to run.
- Retrieve department and manager details. Search the lookup table for department and manager information based on the user's job title so Okta has complete profile data.
- Search for user in Okta. Search Okta by email to locate the user record so the automation can update or activate their account based on Salesforce status.
- Notify the team in Slack. Post a message to the Okta channel in Slack so the team sees the user was synced, updated, or deactivated.
- Alert the manager by email. Send an email to the manager with details of the account change so they are informed of the sync.