Sync CSV leads from Box to Salesforce and campaigns

Document/FileCRMMarketingCollaboration

What it does

When a new line is added to a CSV file in Box, this automation searches Salesforce for that lead by email. It creates the lead if not found, searches for any tagged campaign, creates it if needed, and adds the lead to it.

Who it's for

Sales operations teams who need to add leads and campaign memberships to Salesforce from a Box CSV without manual data entry.

How teams use this

Onboard leads from marketing events

Upload a CSV of event attendees to Box and let this automation add each one to Salesforce and enroll them in a campaign. The team never has to open Salesforce to do it.

Route leads to sales by campaign source

Tag each CSV row with a campaign name so leads are automatically added to the right campaign in Salesforce. Sales can then filter and assign leads based on campaign membership.

Check for duplicate leads before creating

Add a phone number column to the CSV and set the search to check both email and phone so leads with matching phone numbers are not duplicated in Salesforce.

Filter leads by region before syncing

Include a region column in the CSV and add a condition to only create leads in Salesforce when the region matches your territory. Leads from other regions are skipped.

How it works

  1. Detect new line in CSV. A new row is added to a CSV file in Box, containing lead details like email and an optional campaign name.
  2. Search Salesforce for the lead. Search Salesforce for a lead matching the email address from the CSV row so a duplicate is not created.
  3. Create the lead if not found. Create the lead in Salesforce when the search finds no match, and post a notification to Slack so the team knows it was added.
  4. Search for and create campaign. If the CSV row names a campaign, search Salesforce for it by name and create it if it does not exist.
  5. Add lead to the campaign. Add the lead as a campaign member in Salesforce if it is not already tagged to that campaign.