Score and send LinkedIn DMs with GPT-4.1-mini, Google Sheets and Phantombuster
Ready for 3.0What this workflow does
This AI workflow has 16 nodes and runs on a schedule (every hour). Along the way it connects Google Sheets and OpenAI. It also calls api.phantombuster.com over HTTP.
How it runs
Trigger: On a schedule (every hour).
- Get Prospects from Sheet (Google Sheets): uses Google Sheets
- Filter Active Prospects (Code): runs custom JavaScript code
- Batch Prospects (Loop Over Items (Split in Batches)): loops over the items in batches
- Score Lead with AI (OpenAI): uses OpenAI
- Parse Lead Score (Code): runs custom JavaScript code
- Route by Step (Switch): routes items into 3 branches
- Generate First DM (OpenAI): uses OpenAI
- Generate Follow-up DM (OpenAI): uses OpenAI
- Close Lead in Sheet (Google Sheets): update
- Parse First DM (Code): runs custom JavaScript code
…plus 5 more steps. See the full node list below.
Services it uses
HTTP calls to: api.phantombuster.com
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 - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - OpenAI
@n8n/n8n-nodes-langchain.openAi - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest
From the author
How it works This workflow creates an AI-powered LinkedIn DM outreach sequence that automatically scores, messages, and follows up with prospects using Google Sheets as a lightweight CRM. When the workflow runs on a schedule, it reads prospect data from…