Sync Marketo leads from Snowflake

Recipe ToolsDatabaseMarketing

What it does

When a scheduled time arrives, this automation runs a SQL query in Snowflake to fetch new leads. It adds them to Marketo, searches for each by email, creates missing records, and triggers a campaign.

Who it's for

Marketing operations teams who need to sync lead data from Snowflake to Marketo on a schedule.

How teams use this

Sync new leads on a daily schedule

Run the SQL query every morning to pull overnight signups from Snowflake and add them to Marketo so the sales team has fresh leads to work.

Route leads to different campaigns

Check the lead source or segment in Snowflake and trigger different Marketo campaigns for each group so they receive the right nurture track.

Sync leads from a different region

Point the SQL query to a different Snowflake table or schema so leads from another geography are synced to Marketo on the same schedule.

How it works

  1. Run on a scheduled interval. This automation starts at the specified time and frequency so leads are synced to Marketo on a regular cadence without manual work.
  2. Fetch leads with a SQL query. Run a custom SQL command in Snowflake to select and batch new lead rows so they are ready to sync to Marketo.
  3. Search for each lead by email. For each row from Snowflake, search Marketo for a lead using the email address. If the lead does not exist, create it in Marketo so duplicates are not added.
  4. Add leads to a list. Add all synced leads to a designated lead list in Marketo so they can be targeted by campaigns and workflows.
  5. Trigger a campaign. Start a Marketo campaign or smart campaign so leads in the list are enrolled in nurture flows or other marketing programs.