Sync new CSV contacts from Google Drive to Salesforce

Document/FileData ParserCRMMarketing

What it does

When someone uploads a CSV file to Google Drive, this automation parses the file and searches Salesforce for each contact. It creates contacts that do not already exist in Salesforce, then renames the file in Google Drive.

Who it's for

Sales operations teams who import contacts from CSV files and need them synced to Salesforce automatically.

How teams use this

Import contacts from a vendor list

Upload a CSV of new vendor contacts to Google Drive and let this automation add them to Salesforce without manual entry. The team saves time and avoids duplicate records.

Sync leads from a marketing campaign

Point this automation at a shared Google Drive folder where marketing drops CSV exports from a campaign tool. Contacts flow into Salesforce automatically so sales can start outreach right away.

Add custom fields to each new contact

Extend the create step to map additional columns from the CSV, such as company, phone, or source, so each Salesforce contact record is richer. Only the field mapping needs to be configured.

How it works

  1. Detect a new CSV file. When someone uploads a new file or folder to Google Drive, this automation checks if the name contains .csv and proceeds only for CSV files.
  2. Download the file contents. Retrieve the full contents of the CSV file from Google Drive so the data is ready to parse.
  3. Parse the CSV into rows. Convert the CSV file into individual line items so each contact record can be processed separately in the next steps.
  4. Search Salesforce for each contact. For each row in the parsed CSV, search Salesforce to see if that contact already exists by contact ID.
  5. Create missing contacts. When a contact is not found in Salesforce, create a new contact record with the data from the CSV row. Then rename the file in Google Drive to mark it as processed.