Skip to main content

WhatsApp AI assistant for Q&A & bookings with Gemini, Pinecone & Google Sheets

Workflow preview

Workflow preview
100%
WhatsApp AI assistant for Q&A & bookings with Gemini, Pinecone & 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

Overview Turn WhatsApp chats into instant answers and real time bookings—all in one n8n workflow. Your AI Agent leverages Gemini embeddings + Pinecone for on the fly knowledge retrieval, then logs ...

Best for

  • Automation automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.code, n8n-nodes-base.whatsapp, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.datetime, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.vectorstorepinecone, @n8n/n8n-nodes-langchain.embeddingsgooglegemini

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
WhatsApp AI assistant for Q&A & bookings with Gemini, Pinecone & Google Sheets
Workflow name
WhatsApp AI assistant for Q&A & bookings with Gemini, Pinecone & Google Sheets

Overview

Turn WhatsApp chats into instant answers and real-time bookings—all in one n8n workflow. Your AI Agent leverages Gemini embeddings + Pinecone for on-the-fly knowledge retrieval, then logs reservations directly into Google Sheets.

Features

AI-powered Q&A: Natural-language responses driven by Gemini + Pinecone vector search

Seamless Reservations: Book services via WhatsApp; entries auto-append to Google Sheets

Auto-Embedding Sub-workflow: Drag-and-drop Google Drive docs get indexed in Pinecone

24-Hour Follow-Up: Automated template messages if no response within a day

Personal Support Pledge: Hands-on help until your workflow runs flawlessly

Requirements

n8n account (self-hosted or n8n.cloud)

Google Cloud project with Gemini & Drive APIs enabled

Pinecone account (free tier works)

Google Sheets account

WhatsApp Business API credentials (e.g. Twilio, 360dialog)

Setup Instructions

Import Workflow

Download the .json file from your Gumroad purchase

In n8n Editor → Import → From File → select the JSON

Add Credentials

Google Service Account (Gemini & Drive APIs)

Pinecone (API Key + Environment)

Google Sheets OAuth2

WhatsApp Business API (HTTP credential or native)

Configure Nodes

AI Agent: select Gemini credentials; update system prompt with your business name & services

Pinecone Loader: point “Google Drive” node to your docs folder

Sheets Append: set Spreadsheet ID, sheet name “reservations”, map Timestamp, UserID, Service, Date, Time, Notes

WhatsApp Trigger & Send: set webhook URL; choose approved template name

Test End-to-End

Activate the workflow → send a test WhatsApp message → verify AI reply + new row in your sheet

Google Sheet Structure

Column Description Timestamp Auto-generated when a user books UserID : Unique WhatsApp user identifier Service : Chosen service or product name Date : Booking date Time : Booking time slot Notes : Any extra information (e.g., special requests)

Customization

Add New Services: Edit the system prompt’s services list

Change Follow-Up Window: Adjust the “24-hour window check” node logic

Embed Different Docs: Point the Drive node at any folder of PDFs/TXT

📞 Personal Support Pledge: I’ll work with you (via WhatsApp or email, remote desktop ) until your workflow is running flawlessly—no extra fees, no “good luck” drop‐off. Just send a message via:

Email: [email protected]

WhatsApp: +20 106 180 3236

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 - cleanAnswer

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

Block 2 - 24-hour window check

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

Block 3 - Send Pre-approved Template Message to Reopen the Conversation

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

Block 4 - Send AI Agent's Answer

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

Block 5 - Sticky Note

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

Block 6 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 7 - Date & Time

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

Block 8 - Simple Memory

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

Block 9 - Pinecone Vector Store

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

Block 10 - Embeddings Google Gemini

Type / Role
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini - embeddingsGoogleGemini
Config choices
Version 1

Block 11 - Google Gemini Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 12 - AI Agent

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

Block 13 - reservations

Type / Role
n8n-nodes-base.googleSheetsTool - googleSheetsTool
Config choices
Version 4.6

Block 14 - When clicking ‘Execute workflow’

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

Block 15 - Google Drive

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

Block 16 - Default Data Loader

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

Block 17 - Recursive Character Text Splitter

Type / Role
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - textSplitterRecursiveCharacterTextSplitter
Config choices
Version 1

Block 18 - Pinecone Vector Store1

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

Block 19 - Embeddings Google Gemini1

Type / Role
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini - embeddingsGoogleGemini
Config choices
Version 1

Block 20 - Sticky Note1

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

Block 21 - Sticky Note2

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

Block 22 - whatsapp trigger

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

Block 23 - Check 24-Hour Follow-Up

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

Block 24 - Pinecone Vector Search

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

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

3. Summary Table

Workflow WhatsApp AI assistant for Q&A & bookings with Gemini, Pinecone & Google Sheets
Complexity advanced
Nodes 25
Categories Automation
Author Tharwat Mohamed
Published 08 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5781/5781.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 WhatsApp AI assistant for Q&A & bookings with Gemini, Pinecone & Google Sheets do?

Overview Turn WhatsApp chats into instant answers and real time bookings—all in one n8n workflow. Your AI Agent leverages Gemini embeddings + Pinecone for on the fly knowledge retrieval, then logs ...

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 Automation use case.