Sync Marketo leads to Brainshark monthly
Recipe ToolsMarketingWorkatoData ParserUtilities
What it does
When the first of the month arrives, this automation exports leads from Marketo and parses the data. It creates Brainshark sessions for eligible records, logs outcomes, and retries on errors so consent updates reach Brainshark reliably.
Who it's for
Marketing operations teams who need to sync lead consent from Marketo to Brainshark on a recurring schedule.
How teams use this
Sync consent monthly without manual export
Leads flow from Marketo to Brainshark on schedule every month, and the data table tracks which records succeeded, failed, or saw no change. The team no longer exports and uploads by hand.
Route failed records for review
When a lead fails to sync, the data table logs it so the team can investigate and retry. Only eligible records move forward, and ineligible ones stay in the queue for later.
Run sync on demand for a specific list
Change the trigger from monthly to manual so someone can run the sync whenever a new Marketo list is ready. The rest of the flow stays the same.
How it works
- Run on the first of each month. This automation starts at 12:00 PM on the first day of every month to sync the latest lead data.
- Set up tracking variables. Create a new record in the Workato Db Table to initialize counters for eligible records, updated records, failed records, and other tracking fields.
- Export leads in bulk from Marketo. Export all leads from the specified Marketo list as a file so consent data can be processed and sent to Brainshark.
- Parse the exported CSV. Parse the CSV file with Csv Parser to extract lead records and prepare them for batch processing and Brainshark session creation.
- Create Brainshark sessions and log results. Call the Brainshark session function for each lead, update the data table with success or failure outcomes, and retry once if errors occur.