Sync CSV leads from Dropbox to Marketo

Recipe ToolsDocument/FileMarketing

What it does

When a scheduled interval runs, this automation reads new lines from a CSV file in Dropbox and searches Marketo for each lead. It creates new leads or updates existing ones, then moves the file to a processed folder.

Who it's for

Marketing operations teams who need to import leads from CSV files into Marketo without manual data entry.

How teams use this

Import leads from a daily export

Run this automation each morning to read leads from an exported CSV and sync them to Marketo. New leads are created and existing ones are updated in one batch.

Route leads to sales after import

After leads are added to the Marketo list, send them to a sales channel in Slack so the team knows new prospects are ready. Only the downstream step changes.

Filter leads by company size before sync

Add a condition to check the company size field in the CSV and only create leads that meet your criteria. This keeps the Marketo database focused on qualified prospects.

Log sync results to a spreadsheet

Include a step to record how many leads were created, updated, or skipped in a Google Sheet for audit and reporting. This gives the team visibility into each run.

How it works

  1. Run on a set schedule. This automation starts at a specified interval so CSV files are processed regularly without someone having to start it manually.
  2. Read CSV lines from Dropbox. Fetch all lines from the CSV file in the Dropbox folder so each row can be checked against Marketo.
  3. Search or create each lead. For each line, search Marketo for a lead with that ID. Create the lead if it does not exist, or update it if it does. Add all leads to the lead list.
  4. Archive the processed file. Move the CSV file to the processed folder in Dropbox so it is not read again on the next scheduled run.