Connect WhatsApp with Google Docs
Workflow Description
An intelligent automation that bridges WhatsApp conversations to Google Docs using an AI agent. Receives messages, processes them with artificial intelligence, retrieves contextual data from a vector store, and automatically creates or updates documents.
How it works
- 1.Receive message from WhatsApp via trigger
- 2.Process text with AI agent powered by Anthropic
- 3.Search vector database for related information
- 4.Analyze and format the result
- 5.Create or update document in Google Docs
Use cases
- Automatically document important conversations in shared documents
- Collect team notes from WhatsApp and organize them in Google Docs
- Convert questions into documented answers with archives
Requirements
- WhatsApp Business account connected to n8n
- Google Cloud project with Google Docs permissions
- API key from Anthropic
- Postgres connection for record storage
- Vector database such as Pinecone
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (36)
AI Agent
Agent
Send message
Whats App
Pinecone Vector Store
Vector Store Pinecone
Answer questions with a vector store
Tool Vector Store
If
If
No Operation, do nothing
No Op
Structured Output Parser
Output Parser Structured
Edit Fields
Set
Insert rows in a table
Postgres
Postgres Chat Memory
Memory Postgres Chat
WhatsApp_Receive
Whats App Trigger
Make SessionId1
Set
Anthropic Chat Model
Lm Chat Anthropic
Embeddings Google Gemini
Gemini Model
Anthropic Chat Model1
Lm Chat Anthropic
Anthropic Chat Model2
Lm Chat Anthropic
Application works
Google Docs
Verify the message
If
Category "Latest Works"
If
If-Apps
If
If-Web
If
web works
Google Docs
Attach Docs (Apps)
Set
عقدة Attach Docs (Web)
Set
Merge Context + Docs
Merge
Merge Docs
Merge
No Operation, do nothing3
No Op
If_Info
If
No Operation, do nothing1
No Op
Set (Company URLs)
Set
HTTP Request
HTTP Request
Function (Build URL items
Code
Function (HTML → text)
Code
Function (Join pages text → docs_content)
Code
If (docs ok)
If
No Operation, do nothing2
No Op