Sync Salesforce contacts to Google Sheets

CRMMarketingRecipe ToolsDeveloper ToolAPI IntegrationDocument/FileSales Enablement

What it does

When a contact is created or updated in Salesforce, this automation checks the mobile phone field. It transforms unformatted numbers via HTTP, then adds or updates the row in Google Sheets.

Who it's for

Sales operations teams who need Salesforce contacts synced to Google Sheets with formatted phone numbers.

How teams use this

Keep a shared contact list current

Sync Salesforce contacts to a Google Sheet so the team can reference phone numbers and details without logging into Salesforce. The sheet updates automatically whenever a contact changes.

Standardize phone numbers across systems

Format all mobile phone numbers with the + prefix during sync so they work with SMS tools and international dialing. Only contacts with unformatted numbers go through the transformation step.

Route contacts to different sheets by region

Modify the condition to check a region field and send contacts to separate Google Sheets based on geography. This keeps regional teams organized without changing the core sync logic.

How it works

  1. Monitor for new or updated contacts. Detect when a contact is created or updated in Salesforce, including the mobile phone field.
  2. Check if phone needs formatting. Evaluate the mobile phone field to see if it lacks the + prefix. Route to the next step only when formatting is needed.
  3. Format phone via HTTP. Send the phone number through an HTTP request to add the + prefix and standardize the format for international use.
  4. Add or update the row in Google Sheets. Insert a new row or update the existing row in the sheet with the contact details and formatted phone number.