Enrich and score LinkedIn inbound leads with OpenAI, Slack and Gmail
UnknownWhat this workflow does
This AI workflow has 21 nodes and runs when someone submits an n8n form (“Talk to our team”) (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Google Sheets, Slack and Gmail and 1 more.
How it runs
Trigger: When someone submits an n8n form (“Talk to our team”) (plus 1 other trigger).
- Describe your ideal customer (Edit Fields (Set)): sets 9 fields: idealCustomer, whatYouSell, hotScore…
- Search LinkedIn for the person (Apify): run actor and get dataset (actors)
- Keep the closest name matches (Code): runs custom JavaScript code
- Found them on LinkedIn? (If): checks a condition and branches into true / false
- Read their public profiles (Apify): run actor and get dataset (actors)
- Log a lead we could not find (Code): runs custom JavaScript code
- Confirm who works there (Code): runs custom JavaScript code
- Add the lead to your sheet (Google Sheets): append
- Look up their company (Apify): run actor and get dataset (actors)
- Route by tier (Switch): routes items into 2 branches
…plus 8 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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 @apify/n8n-nodes-apify is verified or supports 3.0 (used in Search LinkedIn for the person, Read their public profiles, Look up their company).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (14)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Apify
@apify/n8n-nodes-apify.apify - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Merge
n8n-nodes-base.merge - Google Sheets
n8n-nodes-base.googleSheets - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail - Webhook
n8n-nodes-base.webhook - Filter
n8n-nodes-base.filter
From the author
Quick overview When someone fills in your form, this finds them on LinkedIn, confirms they work where they say, reads their company page, and has AI score the lead against your ideal customer. Every lead lands in Google Sheets; hot leads ping Slack and warm…