Sync Salesforce account files on schedule
CRMMarketing
What it does
When a scheduled time arrives, this automation finds new or updated accounts in Salesforce. For each account with files, it downloads them, retrieves file details, and uploads them back to keep records in sync.
Who it's for
Sales operations teams who need to maintain file consistency across Salesforce accounts on a regular cadence.
Apps used
How teams use this
Keep account files current daily
Run this automation each morning so all new or updated accounts have their files synced in Salesforce. The team always sees the latest attachments without manual work.
Sync files for specific account types
Filter the account search to only include enterprise or high-value accounts so the automation focuses on priority records. The rest of the flow stays the same.
Archive files to external storage
Add a step after download to check file size and only upload files under a certain threshold. Include a condition to route large files to archive storage instead.
How it works
- Run on a set schedule. At the scheduled time, search Salesforce for accounts that were created or updated since the last run.
- Download files from each account. For each account found, download all attached files from Salesforce so they are available for processing in the next steps.
- Retrieve file metadata. Get the details of each content document in Salesforce, including name, size, and other properties needed for the upload step.
- Upload files back to Salesforce. Upload each file back to Salesforce to complete the sync and ensure all account records have current file attachments.