Route Google Sheets rows to Salesforce by department

Document/FileSales EnablementRecipe ToolsCRMMarketing

What it does

When a new row is added to a Google Sheet, this automation checks the department field. For HR rows, it sends an email notification. For other departments, it looks up contact data and creates a Salesforce contact.

Who it's for

Sales operations teams who need to route new leads from a spreadsheet into Salesforce based on department.

How teams use this

Route HR leads to email instead

When the department is HR, send an email alert to the team instead of creating a Salesforce contact. This keeps HR leads in the inbox workflow where they belong.

Sync leads to a different CRM

Point the final step to a different CRM system instead of Salesforce so the same routing logic works for teams using another platform.

Add a phone lookup before creating contact

Include a second lookup table that searches for phone numbers so the Salesforce contact is created with email and phone both populated from the sheet.

Filter rows by status before routing

Add a condition to check a status column so only qualified rows are routed to Salesforce, and others are logged for review.

How it works

  1. Monitor for new spreadsheet rows. A new row is added to a sheet in Google Sheets in real time, and this automation picks it up right away.
  2. Route by department. Check the department field in the row. If it equals HR, send an email notification to the channel. Otherwise, continue to enrich and sync the contact.
  3. Enrich with lookup data. Search the Lookup Table for matching contact entries to add more details to the row before it reaches Salesforce.
  4. Create the contact in Salesforce. Create a contact record in Salesforce with the enriched data. If an error occurs, the job stops and does not retry.