LinkedIn lead generation: Auto DM system with comment triggers using Unipile & NocoDB
Ready for 3.0What this workflow does
This workflow has 24 nodes and runs when someone submits an n8n form (“Linkedin Auto DM lead magnets”). Along the way it connects NocoDB.
How it runs
Trigger: When someone submits an n8n form (“Linkedin Auto DM lead magnets”).
- cursor (Code): runs custom JavaScript code
- Get Comments from Posts (HTTP Request): calls an HTTP API
- Split Out: splits a list into separate items
- Filter: keeps only the items that match a condition
- Check if we are connected (If): checks a condition and branches into true / false
- Get all the rows where the dm is already sent (NocoDB): get many
- Get all the rows where the connection is already asked (NocoDB): get many
- Filter people where we have not sent the DM yet (Code): runs custom JavaScript code
- Filter people where we have not asked connexion yet (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
…plus 13 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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- HTTP Request
n8n-nodes-base.httpRequest - Split Out
n8n-nodes-base.splitOut - If
n8n-nodes-base.if - Filter
n8n-nodes-base.filter - Code
n8n-nodes-base.code - NocoDB
n8n-nodes-base.nocoDb - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Wait
n8n-nodes-base.wait - Merge
n8n-nodes-base.merge - n8n Form Trigger
n8n-nodes-base.formTrigger
From the author
Short Description This LinkedIn automation workflow monitors post comments for specific trigger words and automatically sends direct messages with lead magnets to engaged users. The system checks connection status, handles non-connected users with connection…