Find work emails for pending leads with Google Sheets and LeadMagic
UnknownWhat this workflow does
This workflow has 12 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets and Leadmagic (community).
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Configuration (Edit Fields (Set)): sets 3 fields: sheet_url, sheet_name, max_rows
- Read rows (Google Sheets): read (sheet)
- Select pending leads (Code): runs custom JavaScript code
- Process one lead (Loop Over Items (Split in Batches)): loops over the items in batches
- Mark lookup started (Google Sheets): update (sheet)
- Check row is marked (Code): runs custom JavaScript code
- Find work email (Lead Magic): find email
- Classify lookup result (Code): runs custom JavaScript code
- Write result to Lead ID (Google Sheets): update (sheet)
- Check result was written (Code): runs custom JavaScript code
…plus 1 more step. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-leadmagic is verified or supports 3.0 (used in Find work email).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Lead Magic
n8n-nodes-leadmagic.leadMagic - Wait
n8n-nodes-base.wait
From the author
Quick overview Fill missing work emails in Google Sheets with LeadMagic. The workflow records each lookup outcome on the original lead row and matches by permanent Lead ID, so results stay attached to the right lead after sorting. How it works 1. Runs when…