Sync new Redshift users to Salesforce

DatabaseCRMMarketingSales

What it does

When a new row is added to the Redshift users table, this automation searches Salesforce for that user by ID. It creates the user in Salesforce if not found, or updates the existing record if one matches.

Who it's for

IT teams who need to keep Salesforce user records in sync with Redshift without manual entry.

How teams use this

Onboard new employees into Salesforce

When HR adds a new user to Redshift, this automation creates that person in Salesforce so they appear in the system on day one. No manual user creation is needed.

Keep employee details current

When someone updates their information in Redshift, this automation finds their Salesforce record and refreshes it with the new details. Both systems stay in sync without extra steps.

Add custom fields to the sync

Map additional Redshift columns like department or manager to Salesforce user fields so the new record includes more context. Only the field mappings need to be configured.

Filter users by department before syncing

Add a condition to only create Salesforce users from specific departments in Redshift, so the automation skips contractors or inactive employees. The rest of the flow stays the same.

How it works

  1. Monitor new users in Redshift. A new or updated row appears in the public.users table in Redshift with employee information including a user ID.
  2. Check if someone has a user ID. Stop the automation if the Redshift row has no user ID, since Salesforce needs that value to match or create the record.
  3. Search Salesforce for someone by ID. Query Salesforce for an existing user record using the user ID from Redshift so the automation knows whether to create or update.
  4. Create or update someone in Salesforce. Create a new user in Salesforce if the search found no match, or update the existing user record if one was found with the Redshift data.