Sync ServiceNow attachments to Salesforce and Box
IT HelpdeskDeveloperAPICRMMarketingSalesCollaborationDocument Management
What it does
When a record is updated in the ServiceNow incident table, this automation retrieves attachments and syncs them to Salesforce and Box. Each attachment is fetched, created in Salesforce, and uploaded to Box so both systems stay current.
Who it's for
IT teams who need ServiceNow incident attachments available in Salesforce and Box without manual uploads.
Apps used
How teams use this
Keep incident files in sync across systems
When someone updates a ServiceNow incident with an attachment, this automation ensures Salesforce and Box both receive the file without manual intervention. The team works in their preferred system and stays in sync.
Route attachments to different Box folders
Extend this automation to check the incident type and upload files to different Box folders based on the category. Only incidents matching certain types are synced to specific locations.
Sync to Salesforce cases instead
Redirect the automation to match ServiceNow incidents to Salesforce cases and attach files there instead. The sync logic stays the same and only the target object changes.
How it works
- Monitor for updated incidents. Detect when a record is updated in the ServiceNow incident table to start the sync.
- Find attachments on the record. Search ServiceNow for all attachments linked to the incident so each file can be processed.
- Retrieve attachment metadata. Call the Rest endpoint to get attachment metadata for each item found so details are available before download.
- Download each attachment file. Call the Rest endpoint to fetch the full attachment file contents so it can be sent to Salesforce and Box.
- Create attachment in Salesforce and Box. Add the attachment record to Salesforce and upload the file contents to Box in the same step so both systems receive the file.