Automate company data enrichment with HubSpot, Sona, OpenAI & Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI Chat Model, Google Sheets and HubSpot. It also calls api.hubapi.com and api2.sonalabs.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Get Company List from Sheet (Google Sheets): uses Google Sheets
- Scrape Website Content (HTTP Request): calls an HTTP API
- Extract HTML Content (HTML): parses or builds HTML
- Clean & Format Text (Code): runs custom JavaScript code
- Analyze with AI (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Collect AI Results (Aggregate): combines items into one
- Create Custom HubSpot Fields (HTTP Request): calls api.hubapi.com (POST)
- Prepare Data for Loop (Edit Fields (Set)): sets 1 field: output
- Split Companies and AI Output into Items (Split Out): splits a list into separate items
- Loop Through Companies (Loop Over Items (Split in Batches)): loops over the items in batches
…plus 4 more steps. See the full node list below.
Services it uses
HTTP calls to: api.hubapi.com, api2.sonalabs.com
Scraping pages by hand? Firecrawl is a simpler option (10% off for new users).
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 (14)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - HTTP Request
n8n-nodes-base.httpRequest - No Operation, do nothing
n8n-nodes-base.noOp - Manual Trigger
n8n-nodes-base.manualTrigger - Google Sheets
n8n-nodes-base.googleSheets - HTML
n8n-nodes-base.html - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - Aggregate
n8n-nodes-base.aggregate - Edit Fields (Set)
n8n-nodes-base.set - Split Out
n8n-nodes-base.splitOut - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HubSpot
n8n-nodes-base.hubspot
From the author
Automatically identify ICP matches by enriching basic company records with Sona Enrich data—combining web scraping, AI analysis, and the structured attributes that define your ideal customer. Import company domains from a Google Sheet, automatically analyze…