Automation library · Chat assistants

Complete business WhatsApp AI-powered RAG chatbot with OpenAI

Started by another system calling it, and works across Google Drive, Qdrant and WhatsApp. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 22 steps, 1 branch: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAIRetrieval

22 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 4Model 11Logic 1Service 6

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

  1. 1OpenAI Chat ModelLm Chat Open AiModel
  2. 2When clicking ‘Test workflow’Manual triggerStarts it
  3. 3Embeddings OpenAIEmbeddings Open AiModel
  4. 4Token SplitterText Splitter Token SplitterModel
  5. 5VerifyWebhookStarts it
  6. 6RespondWebhookStarts it
  7. 7Window Buffer MemoryMemory Buffer WindowModel
  8. 8OpenAI Chat Model1Lm Chat Open AiModel
  9. 9Embeddings OpenAI2Embeddings Open AiModel
  10. 10AI AgentAgentModel
  11. 11Create collectionHttp RequestService
  12. 12Refresh collectionHttp RequestService
  13. 13Qdrant Vector StoreVector Store QdrantModel
  14. 14Default Data LoaderDocument Default Data LoaderModel
  15. 15Respond to WebhookRespond To WebhookStarts it
  16. 16is Message?IfLogic
  17. 17RAGTool Vector StoreModel
  18. 18Retrive Qdrant Vector StoreVector Store QdrantModel
  19. 19SendWhats AppService
  20. 20Get folderGoogle DriveService
  21. 21Only messageWhats AppService
  22. 22Download FilesGoogle DriveService

How it's built

Starts on
Another system calling it
Steps
22, with 1 branch
Size
Large: read it before trusting it with anything live
Connects to
Google Drive, Qdrant, WhatsApp
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 Drive, Qdrant and WhatsApp accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

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 22 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 22 steps before you point it at anything that matters.