Sync files to Salesforce on a schedule

Recipe ToolsCRMMarketing

What it does

When a specified interval occurs, this automation uploads a file to Salesforce and creates feed items. Cases receive the file attachment, and the team sees the update in the activity stream.

Who it's for

Sales operations teams who need to sync files to Salesforce records on a recurring schedule.

How teams use this

Sync reports to Salesforce daily

Upload a daily report file to Salesforce on a set schedule so cases always have the latest data. The feed items notify the team that the file is ready.

Attach files to specific case types

Filter the case search to only attach files to cases with a certain status or type. This ensures only relevant records receive the upload.

Run the sync from a different event

Replace the Clock trigger with a different event so files upload when something else happens instead of on a schedule. The Salesforce steps stay the same.

How it works

  1. Wait for the scheduled time. At the specified interval, Clock triggers this automation to begin uploading the file to Salesforce.
  2. Upload file to Salesforce. The file is uploaded and stored as a content version in Salesforce so it is available in the system.
  3. Search for related cases. Search Salesforce for cases that should receive the file attachment so the right records are updated.
  4. Create feed items and attachments. Create feed items and feed attachments on the cases so the team sees the file update in the activity stream.