Send AI-personalized LinkedIn outreach from Google Sheets with Azure OpenAI and ConnectSafely
UnknownWhat this workflow does
This AI workflow has 13 nodes and runs on a schedule (cron 0 0 17 * * *). Along the way it connects Google Sheets, Azure OpenAI Chat Model and Connectsafely Ai (community). It also calls api.connectsafely.ai over HTTP.
How it runs
Trigger: On a schedule (cron 0 0 17 * * *).
- Get Prospects from Sheet (Google Sheets): uses Google Sheets
- Check if Message Exists (If): checks a condition and branches into true / false
- Batch Process Prospects (Loop Over Items (Split in Batches)): loops over the items in batches
- Generate Personalized Message with AI (AI Agent): runs an AI agent, with model: Azure OpenAI GPT-4o-mini
- Save Generated Message to Sheet (Google Sheets): append or update
- Fetch Updated Prospect Data (Google Sheets): uses Google Sheets
- Validate Message Not Empty (If): checks a condition and branches into true / false
- Get LinkedIn Profile Data (HTTP Request): calls api.connectsafely.ai (POST)
- Extract Profile URN and Identifiers (Code): runs custom JavaScript code
- Send LinkedIn Message via ConnectSafely (Connect Safely Linked In): send message
…plus 1 more step. See the full node list below.
Services it uses
HTTP calls to: api.connectsafely.ai
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-connectsafely-ai is verified or supports 3.0 (used in Send LinkedIn Message via ConnectSafely).
Nodes used (9)
- If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - AI Agent
@n8n/n8n-nodes-langchain.agent - Azure OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Connect Safely Linked In
n8n-nodes-connectsafely-ai.connectSafelyLinkedIn - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code
From the author
📊 Description Automate personalized LinkedIn outreach at scale using AI and real prospect data. 🤖📧 This workflow pulls leads from Google Sheets, generates human-like LinkedIn messages with Azure OpenAI, and sends them safely via the ConnectSafely LinkedIn…