Sync Salesforce segments to Amazon S3
CRMMarketingRecipe ToolsDeveloper ToolAPI Integration
What it does
When a new or updated asset or email record is created in Salesforce, this automation retrieves the segment via HTTP. The segment uploads to Amazon S3 in real time so analytics always has current data.
Who it's for
Data and analytics teams who need Salesforce segments synced to S3 without manual exports.
How teams use this
Keep S3 segments in sync with Salesforce
Segments update in Amazon S3 automatically when asset or email records change in Salesforce, so analytics always works with current data without manual file uploads.
Sync only new segments to S3
Filter the automation to POST only when a production record ID is not present, so existing segments are not overwritten and only new ones upload to Amazon S3.
Delete old segments before uploading new ones
Add a step to delete the old segment from Amazon S3 before the POST uploads the updated one, so the bucket only holds the latest version of each segment.
Notify teams when segments sync fails
Send an alert to Slack or email when the HTTP GET or POST fails so operations teams know a segment did not reach S3 and can investigate.
How it works
- Detect new or updated Salesforce record. A new outbound message fires in Salesforce when an asset or email record is created or updated, starting this automation in real time.
- Retrieve segment data via HTTP GET. Send a GET request via HTTP to retrieve the segment from Salesforce so the automation has the current data to sync to Amazon S3.
- Upload segment to Amazon S3 via HTTP POST. Send a POST request via HTTP to Amazon S3 with the segment data from Salesforce so the file is stored and ready for analytics teams.