Sync ServiceNow cases to Salesforce every 5 minutes
Recipe ToolsMarketingWorkatoCRMCustomer ServiceIT Service Management
What it does
When the clock triggers every 5 minutes, this automation retrieves cases from ServiceNow and searches Salesforce for existing support cases. It adds new cases and updates existing ones in Salesforce in batches so both systems stay in sync.
Who it's for
Customer support teams who need ServiceNow cases visible in Salesforce without manual updates.
How teams use this
Keep support cases synchronized hourly
Change the clock to run every 60 minutes instead of 5 minutes for teams that do not need real-time sync. The rest of the flow stays the same and only the schedule changes.
Filter cases by priority before syncing
Add a condition to the ServiceNow search so only high-priority cases are pulled into Salesforce. This requires a priority field check in the custom step.
Sync cases to a specific Salesforce queue
Update the Salesforce upsert step to assign synced cases to a support queue based on case type. The automation runs the same way and only the assignment logic changes.
Include ServiceNow comments in Salesforce
Extend the custom step to fetch case comments from ServiceNow and add them to the Salesforce record. This requires mapping comment fields during the upsert step.
How it works
- Run every 5 minutes. The automation starts on a 5-minute schedule to keep Salesforce and ServiceNow in sync continuously.
- Search Salesforce for support cases. Query Salesforce to find existing support cases so new ones from ServiceNow are not duplicated in the system.
- Retrieve cases from ServiceNow. Pull cases from ServiceNow using a custom action to identify which ones need to be added or updated in Salesforce.
- Upsert cases into Salesforce in batches. Add new cases and update existing ones in Salesforce in batches so both systems reflect the same support tickets.