Automate B2B sales research & email personalization with Sona and GPT-4
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets and OpenAI Chat Model. It also calls api2.sonalabs.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Read Leads from Google Sheets (Google Sheets): uses Google Sheets
- Filter: keeps only the items that match a condition
- Loop Over Leads (Loop Over Items (Split in Batches)): loops over the items in batches
- Update Row Status (Google Sheets): update
- Sona Company Search (HTTP Request): calls api2.sonalabs.com (POST)
- Code: runs custom JavaScript code
- Company Research AI (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Generate Personalized Email (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Format Results (Code): runs custom JavaScript code
- Update Sheet with Results (Google Sheets): update
…plus 1 more step. See the full node list below.
Services it uses
HTTP calls to: api2.sonalabs.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)
- Google Sheets
n8n-nodes-base.googleSheets - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - No Operation, do nothing
n8n-nodes-base.noOp - Manual Trigger
n8n-nodes-base.manualTrigger - Wait
n8n-nodes-base.wait - Filter
n8n-nodes-base.filter
From the author
Sona-Powered AI Sales Research & Personalized Email Automation 🎯 Overview Automatically research B2B leads and generate personalized outreach emails by reading prospects from Google Sheets, enriching with company data from Sona Enrich, analyzing insights…