AI-powered WhatsApp support bot with ticket creation for Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 32 nodes and runs when someone submits an n8n form (plus 2 other triggers). Along the way it connects Pinecone Vector Store, Google Sheets, Gmail and OpenAI Chat Model and 2 more.
How it runs
Trigger: When someone submits an n8n form (plus 2 other triggers).
- Switch: routes items into branches
- Company Info (Edit Fields (Set)): sets or maps fields
- Split Pages URLs (Code): runs custom JavaScript code
- HTTP Request: calls an HTTP API
- Split_Binary (Code): runs custom JavaScript code
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 4 tools (Get tickets, Create support tickets, Send a message in Gmail, Pinecone (Retrieve Info)); memory: Simple Memory
- Merge: merges the data from its input branches
- XML: converts between XML and JSON
- Loop Over Files (Loop Over Items (Split in Batches)): loops over the items in batches
- Remove Duplicates: removes duplicate items
…plus 10 more steps. See the full node list below.
Services it uses
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 (22)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - n8n Form Trigger
n8n-nodes-base.formTrigger - XML
n8n-nodes-base.xml - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - HTML
n8n-nodes-base.html - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Wait
n8n-nodes-base.wait - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Edit Fields (Set)
n8n-nodes-base.set - Extract from File
n8n-nodes-base.extractFromFile - Switch
n8n-nodes-base.switch - Merge
n8n-nodes-base.merge - Remove Duplicates
n8n-nodes-base.removeDuplicates - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Gmail Tool
n8n-nodes-base.gmailTool - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger
From the author
This n8n workflow automates the entire process, from learning based on your website data, documents to a multi-channel chatbot with automated ticket creation. It's the perfect solution for businesses looking to build a powerful and intelligent chatbot,…