Send personalized LinkedIn invitations with OpenAI, Slack and HeyReagent
Ready for 3.0What this workflow does
This AI workflow has 12 nodes and runs on a schedule (cron 0 9 * * 1-5). Along the way it connects OpenAI Chat Model and Slack. It also calls api.heyreagent.com over HTTP.
How it runs
Trigger: On a schedule (cron 0 9 * * 1-5).
- Settings (Edit Fields (Set)): sets 6 fields: keywords, location, howMany…
- Search people (HTTP Request): calls api.heyreagent.com (POST)
- One person per item (Split Out): splits a list into separate items
- Keep people with a profile link (Filter): keeps only the items that match a condition
- Loop over people (Loop Over Items (Split in Batches)): loops over the items in batches
- Write the note (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model
- Ask me in Slack (Slack): send and wait for a reply
- Send it? (If): checks a condition and branches into true / false
- Send the invitation (HTTP Request): calls api.heyreagent.com (POST)
- Pause before the next (Wait): waits 30 seconds
Services it uses
HTTP calls to: api.heyreagent.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 (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Split Out
n8n-nodes-base.splitOut - Filter
n8n-nodes-base.filter - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Slack
n8n-nodes-base.slack - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait
From the author
Quick overview This workflow searches for LinkedIn profiles by keywords and location using the HeyReagent API, then sends a connection invitation with a custom note to each returned person, spacing requests to reduce rate pressure. How it works 1. Runs when…