AI Agents

Connect WhatsApp with Google Docs

36 nodes 229 172 Automatic trigger
Download

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. 1.Receive message from WhatsApp via trigger
  2. 2.Process text with AI agent powered by Anthropic
  3. 3.Search vector database for related information
  4. 4.Analyze and format the result
  5. 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

AI Agent WhatsApp Vector Store Output Parser Postgres Anthropic Gemini Google Docs

Details

Trigger Automatic trigger
Nodes 36
Apps 8
Views 229
Downloads 172

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (36)

/

AI Agent

Agent

#1

Send message

Whats App

#2

Pinecone Vector Store

Vector Store Pinecone

#3

Answer questions with a vector store

Tool Vector Store

#4

If

If

#5

No Operation, do nothing

No Op

#6

Structured Output Parser

Output Parser Structured

#7

Edit Fields

Set

#8

Insert rows in a table

Postgres

#9

Postgres Chat Memory

Memory Postgres Chat

#10

WhatsApp_Receive

Whats App Trigger

#11

Make SessionId1

Set

#12

Anthropic Chat Model

Lm Chat Anthropic

#13

Embeddings Google Gemini

Gemini Model

#14

Anthropic Chat Model1

Lm Chat Anthropic

#15

Anthropic Chat Model2

Lm Chat Anthropic

#16

Application works

Google Docs

#17

Verify the message

If

#18

Category "Latest Works"

If

#19

If-Apps

If

#20

If-Web

If

#21

web works

Google Docs

#22

Attach Docs (Apps)

Set

#23

عقدة Attach Docs (Web)

Set

#24

Merge Context + Docs

Merge

#25

Merge Docs

Merge

#26

No Operation, do nothing3

No Op

#27

If_Info

If

#28

No Operation, do nothing1

No Op

#29

Set (Company URLs)

Set

#30

HTTP Request

HTTP Request

#31

Function (Build URL items

Code

#32

Function (HTML → text)

Code

#33

Function (Join pages text → docs_content)

Code

#34

If (docs ok)

If

#35

No Operation, do nothing2

No Op

#36