Sync Google Sheets contacts to Salesforce

Document/FileCRMMarketing

What it does

When a new or updated row appears in a Google Sheet, this automation searches Salesforce for a matching account and contact. It creates the account and contact when they do not exist, so the sheet data stays in sync with Salesforce.

Who it's for

Sales operations teams who need to upload leads from Google Sheets into Salesforce without manual entry.

How teams use this

Bulk upload leads from a spreadsheet

Import a list of contacts from Google Sheets into Salesforce accounts and contacts in one run. Each row becomes a job that creates or skips based on what already exists in Salesforce.

Keep Salesforce in sync with a shared sheet

Monitor a Google Sheet for new rows and push them to Salesforce in real time. The sheet stays as the source of truth while Salesforce gets the updates automatically.

Handle missing data before creating records

Add validation to check for blank email or last name fields and set defaults so Salesforce accepts every record. Only contacts with required fields pass through to creation.

How it works

  1. Monitor the sheet for new rows. Watch a Google Sheet for new or updated rows in real time. Each row represents a contact with account and contact details to sync to Salesforce.
  2. Search for the account. Search Salesforce for an account that matches the account name from the sheet row. If no account name exists, use a default value so the search can run.
  3. Create the account if missing. Create a new account in Salesforce when the search finds no match. This ensures every contact has an account to link to.
  4. Search for the contact. Search Salesforce for a contact that matches the email or name from the sheet row. Handle blank email fields so the search does not fail.
  5. Create the contact if missing. Create a new contact in Salesforce when the search finds no match. Use the first name as the last name if the sheet row has no last name value.