Turn chat conversations into automation blueprints with Claude, Gmail and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 16 nodes and runs when a chat message arrives. Along the way it connects Anthropic Chat Model, Gmail and Google Sheets.
How it runs
Trigger: When a chat message arrives.
- Configuration (Edit Fields (Set)): sets 4 fields: ownerEmail, senderName, brandName…
- Discovery Agent (AI Agent): runs an AI agent, with model: Anthropic Chat Model; memory: Simple Memory; output parser: Structured Output
- Enforce Contract (Code): runs custom JavaScript code
- Blueprint Ready? (If): checks a condition and branches into true / false
- Build n8n Starter Workflow (Code): runs custom JavaScript code
- Reply with Question (Edit Fields (Set)): sets 1 field: output
- Build Blueprint Email (Code): runs custom JavaScript code
- Workflow JSON to File (Convert to File): converts data to a file (to binary)
- Email Blueprint to Visitor (Gmail): uses Gmail
- Log Lead in Google Sheets (Google Sheets): append
…plus 1 more step. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Anthropic + Google Sheets templates (261) · Other Anthropic + Gmail templates (192)
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 (11)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Convert to File
n8n-nodes-base.convertToFile - Gmail
n8n-nodes-base.gmail - Google Sheets
n8n-nodes-base.googleSheets
From the author
Who's it for Automation consultants and agencies who want a lead magnet that delivers real value, and teams collecting automation ideas. How it works 1. A visitor opens the hosted chat and describes a task they hate doing. 2. A Claude AI Agent with memory…