Skip to main content

AI-powered WhatsApp support bot with ticket creation for Google Sheets

Workflow preview

Workflow preview
100%
AI-powered WhatsApp support bot with ticket creation for Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 business...

Best for

  • Support Chatbot automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.chattrigger, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.formtrigger, n8n-nodes-base.xml, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.html, n8n-nodes-base.splitinbatches

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Zain Khan.

Original n8n.io source

1.1 Workflow description

Title
AI-powered WhatsApp support bot with ticket creation for Google Sheets
Workflow name
AI-powered WhatsApp support bot with ticket creation for Google Sheets

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, replace their customer support operations team with a website widget support and a dedicated WhatsApp support agent.

How it Works
  1. Data Ingestion & Vectorization:

    • The workflow starts with a simple form where you can input your website's sitemap, specific page URLs, and relevant documents containing your business information.
    • n8n crawls and scrapes all the data from these sources.
    • The scraped data is then processed and vectorized (converted into numerical representations).
    • These vector embeddings are stored in a Pinecone Vector DB to create a powerful and searchable knowledge base.
  2. Multi-Channel User Interaction:

    • Website Widget Support: An integrated chatbot can be embedded directly onto your website. Users can ask questions and receive instant, accurate answers based on the vectorized data in Pinecone.
    • WhatsApp Support Agent: A WhatsApp trigger allows users to interact with your business via WhatsApp. The bot responds to queries using the same knowledge base, making support accessible on a popular messaging platform.
  3. Intelligent Ticket Creation:

    • If a user describes a specific issue that requires human intervention, the bot will intelligently ask for more specific information (e.g., order number, user ID).
    • Once the required information is provided, the workflow automatically creates a new support ticket in a designated Google Sheet.
  4. Automated Communication:

    • After a ticket is created, the workflow automatically sends a confirmation email to the user.
    • This email contains the ticket details and a confirmation that their issue has been logged, ensuring a smooth and professional customer experience.
Requirements
  • n8n: A self-hosted or cloud instance of n8n.
  • Pinecone: An account and API key for Pinecone to store your vector data.
  • Google Sheets: A Google account with a designated spreadsheet for storing support tickets.
  • Email Service: An email service provider (e.g., Gmail, SendGrid, Mailgun) configured with n8n to send automated emails.
  • WhatsApp Business API: Access to the WhatsApp Business API for the WhatsApp trigger.
How to Use
  1. Configure Credentials: Set up your credentials for Pinecone, Google Sheets, your email service, and the WhatsApp Business API within n8n.
  2. Populate the Knowledge Base: Use the provided form to enter your website's sitemap, specific URLs, and documents. Run the initial part of the workflow to scrape and store this data in Pinecone.
  3. Activate the Chatbots: Deploy the website widget and activate the WhatsApp trigger.
  4. Monitor and Manage: Monitor the incoming tickets in your Google Sheet and manage customer queries efficiently, knowing that the automated system is handling the initial interactions and basic queries.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When chat message received

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.1

Block 2 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.1

Block 3 - On form submission

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 4 - XML

Type / Role
n8n-nodes-base.xml - xml
Config choices
Version 1

Block 5 - HTTP Request

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 6 - Code

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Fetch Page HTML

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 8 - HTML

Type / Role
n8n-nodes-base.html - html
Config choices
Version 1.2

Block 9 - Loop Over Pages

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 10 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 11 - Split Pages URLs

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Pinecone Vector Store

Type / Role
@n8n/n8n-nodes-langchain.vectorStorePinecone - vectorStorePinecone
Config choices
Version 1.3

Block 13 - Default Data Loader

Type / Role
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - documentDefaultDataLoader
Config choices
Version 1.1

Block 14 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 15 - Pinecone (Retrieve Info)

Type / Role
@n8n/n8n-nodes-langchain.vectorStorePinecone - vectorStorePinecone
Config choices
Version 1.3

Block 16 - Company Info

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 17 - Extract Text

Type / Role
n8n-nodes-base.extractFromFile - extractFromFile
Config choices
Version 1

Block 18 - Extract PDF

Type / Role
n8n-nodes-base.extractFromFile - extractFromFile
Config choices
Version 1

Block 19 - Select Text

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 20 - PDF or TXT

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 21 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 22 - Remove Duplicates

Type / Role
n8n-nodes-base.removeDuplicates - removeDuplicates
Config choices
Version 2

Block 23 - Loop Over Files

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 24 - Switch1

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Showing the first 24 of 35 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow AI-powered WhatsApp support bot with ticket creation for Google Sheets
Complexity advanced
Nodes 35
Categories Support Chatbot, Multimodal AI
Author Zain Khan
Published 14 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7405/7405.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does AI-powered WhatsApp support bot with ticket creation for Google Sheets do?

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 business...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, Multimodal AI use case.