# AI WhatsApp Chatbot with Voice and Image: n8n workflow template

> Started by an event in a connected app, and works across Google Sheets. It puts OpenAI behind a retrieval step, so answers are drawn from documents you...

Source: https://millionrounds.com/workflow/ai-whatsapp-chatbot-with-voice-and-image (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Documents and files](https://millionrounds.com/workflows?category=Documents+and+files#library)

# AI WhatsApp Chatbot with Voice and Image

Started by an event in a connected app, and works across Google Sheets. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 47 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fai-whatsapp-chatbot-with-voice-and-image)

**47 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 11 Logic 8 Service 27

The steps in the order they run, from what starts it.

- 1 **Rapiwa Trigger** Rapiwa trigger *Starts it*
- 2 **Support Desk** Http Request Tool *Service*
- 3 **Read Company Information** Google Sheets Tool *Service*
- 4 **Read Product** Google Sheets Tool *Service*
- 5 **Read Service** Google Sheets Tool *Service*
- 6 **Log Customer Issues** Google Sheets Tool *Service*
- 7 **salebot** Http Request Tool *Service*
- 8 **delix** Http Request Tool *Service*
- 9 **socialvibe** Http Request Tool *Service*
- 10 **faculty** Http Request Tool *Service*
- 11 **yoori** Http Request Tool *Service*
- 12 **meetair** Http Request Tool *Service*
- 13 **oxoo** Http Request Tool *Service*
- 14 **flixoo** Http Request Tool *Service*
- 15 **Think** Tool Think *Model*
- 16 **Memory** Memory Buffer Window *Model*
- 17 **OpenAI** Lm Chat Open Ai *Model*
- 18 **Docs (retrieves company documentation)** Google Docs Tool *Service*
- 19 **Company documentation** Google Docs Tool *Service*
- 20 **Route Types** Switch *Logic*
- 21 **Research** Agent Tool *Model*
- 22 **Processes the image analysis and generates a response** Agent *Model*
- 23 **Processes audio and generates a response** Agent *Model*
- 24 **Generates AI responses, maintains context, retrieves info** Agent *Model*
- 25 **Analyzes the document and generates a response** Agent *Model*
- 26 **Summarizes audio for concise replies** Agent *Model*
- 27 **Status** No Op *Logic*
- 28 **Reaction** No Op *Logic*
- 29 **Downloads audio from message URL** Http Request *Service*
- 30 **Fetches image data via HTTP request** Http Request *Service*
- 31 **Download Document** Http Request *Service*
- 32 **Rapiwa (image replay)** Rapiwa *Service*
- 33 **Rapiwa (text replay)** Rapiwa *Service*
- 34 **Rapiwa (document replay)** Rapiwa *Service*
- 35 **Rapiwa (audio/voice replay)** Rapiwa *Service*
- 36 **Save Message status in sheet** Google Sheets *Service*
- 37 **Transcribes and analyzes** Open Ai *Model*
- 38 **Analyzes the image content** Open Ai *Model*
- 39 **Map file extensions** Code *Logic*
- 40 **Formats the image analysis into a structured prompt** Set *Logic*
- 41 **Route Document Types** Switch *Logic*
- 42 **Map document prompt** Set *Logic*
- 43 **Extract from PDF** Extract From File *Service*
- 44 **Map JSON** Set *Logic*
- 45 **Extract from XLS** Extract From File *Service*
- 46 **Extract from XLSX** Extract From File *Service*
- 47 **Rapiwa (Sends an error for unsupported file types.)** Rapiwa *Service*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 47, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Sheets
- **Model:** OpenAI
- **Retrieval:** Answers are drawn from documents you supply, not from the model alone

## Questions

What does it need to run?

An n8n account, plus your own Google Sheets account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls OpenAI. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 47 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 47 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fai-whatsapp-chatbot-with-voice-and-image)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)

## Workflows like it

Also documents and files, with the same services where possible, closest in size first.

- [**Verify onboarding compliance documents with OpenAI** 37 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/verify-onboarding-compliance-documents-with-openai)
- [**Sync Google Drive documents to Pinecone RAG with Gemini** 32 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/sync-google-drive-documents-to-pinecone-rag-with-gemini)
- [**Extract and classify legal documents with Claude** 31 steps · calls a model · Email, Google Sheets](https://millionrounds.com/workflow/extract-and-classify-legal-documents-with-claude)
- [**Automate commercial insurance submissions with Google Suite** 29 steps · Email, Google Docs](https://millionrounds.com/workflow/automate-commercial-insurance-submissions-with-google-suite)
- [**Generate business requirement documents with Google Workspace** 28 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/generate-business-requirement-documents-with-google-workspac)
- [**Provide academic OCR and RAG answers on Telegram with Gemini** 28 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/provide-academic-ocr-and-rag-answers-on-telegram-with-gemini)
