Sync Salesforce MQL lead journey timelines with Factors.ai
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 16 nodes and runs on a schedule (every day). Along the way it connects Salesforce.
How it runs
Trigger: On a schedule (every day).
- Calculate Dynamic Last Run Time (Code): runs custom JavaScript code
- Fetch SF MQL Leads (Salesforce): get many
- Loop Over Lead Batches (Loop Over Items (Split in Batches)): loops over the items in batches
- Commit Last Run Time Update (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Extract Domain from Email (Code): runs custom JavaScript code
- Update Lead Missing Email (Salesforce): update
- Wait: waits 2 seconds
- Fetch Journey Data from API (HTTP Request): calls an HTTP API
- Tidy API Response Data (Code): runs custom JavaScript code
…plus 5 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - Salesforce
n8n-nodes-base.salesforce - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait - HTTP Request
n8n-nodes-base.httpRequest
From the author
Quick overview This workflow runs on a schedule to fetch new, unsynced Salesforce leads, pulls account journey activity from the Factors.ai API based on the lead’s email domain, and updates the lead in Salesforce with a formatted journey summary and…