Sync Salesforce contacts from HTTP webhook events

Developer ToolAPI IntegrationMarketingCRMCommunicationSales Enablement

What it does

When a webhook receives an event via HTTP, this automation checks the subscription type and upserts the contact to Salesforce for premium subscribers. For others, it sends the data via HTTP and retries once if an error occurs.

Who it's for

Sales operations teams who need to sync contacts to Salesforce based on subscription tier without manual intervention.

How teams use this

Route premium contacts to Salesforce

Premium subscribers are automatically upserted to Salesforce so the sales team always has the latest contact data. Non-premium contacts follow a separate path without cluttering the CRM.

Add a Slack notification on sync failure

Include a Slack message step after the error retry so the team is notified when a contact sync fails. This keeps operations aware of data issues in real time.

Sync contacts to a different CRM

Replace the Salesforce upsert with another system so premium contacts flow to that platform instead. The HTTP webhook and subscription logic remain unchanged.

Filter contacts by region before sync

Add a condition to check the contact region and only sync to Salesforce if it matches your target markets. This reduces unnecessary CRM records and keeps data focused.

How it works

  1. Receive event via HTTP webhook. A real-time HTTP webhook call arrives with contact and subscription data, starting the automation.
  2. Upsert contact for premium subscribers. If the subscription type equals Premium, the contact is upserted to Salesforce so the record stays current.
  3. Send data via Twilio for other tiers. For non-premium subscribers, a custom Twilio action sends the contact data to an external system as a fallback path.
  4. Retry failed HTTP requests once. If an error occurs, the HTTP request retries one time. If the error persists after the retry, the automation ends.