Sync CSV leads from OneDrive to Salesforce and campaigns
Document/FileCRMMarketingCollaboration
What it does
When a new line is added to a CSV file in OneDrive, this automation searches Salesforce for that lead by email and creates it if not found. If the lead is tagged to a campaign, it searches for the 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 CSV without manual entry.
Apps used
How teams use this
Bulk import leads from a CSV
Upload a CSV to OneDrive with lead names, emails, and campaign tags. Each row becomes a Salesforce lead and campaign member without manual data entry or duplicate checking.
Route leads to campaigns automatically
Leads tagged to a campaign in the CSV are automatically added to that Salesforce campaign. The campaign is created on first use, so no setup is needed per campaign.
Notify the team of new leads
Each time a lead is created in Salesforce from the CSV, a Slack message posts to a channel so the sales team sees new leads in real time. Only new leads trigger the notification.
Add lead source or status field
Include additional columns in the CSV such as lead source or status, and map them to Salesforce fields when the lead is created. This requires adding those fields to the create step.
How it works
- Detect a new line in the CSV. A new row is added to a CSV file in OneDrive with lead details including email and an optional campaign name.
- Search Salesforce for the lead. Search Salesforce for a lead matching the email address from the CSV row so a duplicate record is not created.
- Create the lead if not found. Create a new lead in Salesforce with the details from the CSV row, then post a notification to Slack so the team knows it was added.
- Search for the campaign. If the CSV row names a campaign, search Salesforce for that campaign by name so it can be found or created.
- Add lead to campaign. Create the campaign in Salesforce if not found, then add the lead to the campaign if it is not already a member.