Sync Salesforce Case attachments to ServiceNow incident

CRMMarketingSalesIT HelpdeskDeveloperAPI

What it does

When a new or updated case appears in Salesforce, this automation creates a matching incident in ServiceNow. Each attachment from the case is downloaded and uploaded to the incident so the support team has all files in one place.

Who it's for

Customer support teams who manage cases in Salesforce and incidents in ServiceNow.

How teams use this

Sync cases with attachments to incidents

When a case with files is created in Salesforce, the incident appears in ServiceNow with all attachments ready. The support team sees the full context without switching systems.

Route high-priority cases to ServiceNow

Filter cases by priority or type so only urgent cases create incidents in ServiceNow. Lower-priority cases stay in Salesforce and do not create extra work.

Include case comments as incident notes

Add a step to fetch case comments from Salesforce and include them in the ServiceNow incident description. This requires retrieving comments before the incident is created so the full history is available.

How it works

  1. Monitor for new or updated case. A new case or an update to an existing case in Salesforce starts this automation.
  2. Create incident in ServiceNow. Create a new incident record in the ServiceNow incident table with the case details from Salesforce.
  3. Retrieve attachment details from Salesforce. For each attachment linked to the Salesforce case, retrieve its details so it can be transferred to the ServiceNow incident.
  4. Upload attachment to ServiceNow incident. Download each attachment from Salesforce and upload it to the ServiceNow incident via Rest so all files are available in ServiceNow.