Comprehensive contact enrichment with Apollo, LinkedIn, and GPT-4o for HubSpot
Ready for 3.0What this workflow does
This AI workflow has 19 nodes and runs when another workflow calls it. Along the way it connects HubSpot and OpenAI Chat Model. It also calls api.apollo.io and fresh-linkedin-profile-data.p.rapidapi.com over HTTP.
How it runs
Trigger: When another workflow calls it.
- clean (Code): runs custom JavaScript code
- Enrich with Apollo (HTTP Request): calls api.apollo.io (POST)
- Found? (If): checks a condition and branches into true / false
- Merge: merges the data from its input branches
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Extract fields (Edit Fields (Set)): sets 2 fields: person_data, recent_activity
- Get recent posts (HTTP Request): calls fresh-linkedin-profile-data.p.rapidapi.com
- Enrichment summary agent (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Auto-fixing Output Parser
- Split Out: splits a list into separate items
- Enrich in HubSpot (HubSpot): uses HubSpot
…plus 4 more steps. See the full node list below.
Services it uses
HTTP calls to: api.apollo.io, fresh-linkedin-profile-data.p.rapidapi.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 (17)
- Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - HubSpot
n8n-nodes-base.hubspot - Auto-fixing Output Parser
@n8n/n8n-nodes-langchain.outputParserAutofixing - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Merge
n8n-nodes-base.merge - Split Out
n8n-nodes-base.splitOut - Filter
n8n-nodes-base.filter - Limit
n8n-nodes-base.limit - Sort
n8n-nodes-base.sort - Aggregate
n8n-nodes-base.aggregate - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code
From the author
Summary Turns a plain name + email into a fully-enriched HubSpot contact by matching the person in Apollo, pulling their latest LinkedIn activity, summarising the findings with GPT-4o, and upserting the clean data into HubSpot Key use-cases SDRs enriching…