Automation library · AI assistants

Voice AI chatbot with OpenAI and RAG

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

LargeCalls a model: OpenAIRetrieval

27 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
2Loops or waits
2Services it connects to

The flow

Starts it 4Model 17Logic 2Service 4

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

  1. 1OpenAI Chat ModelLm Chat Open AiModel
  2. 2Window Buffer MemoryMemory Buffer WindowModel
  3. 3CalculatorTool CalculatorModel
  4. 4Embeddings OpenAIEmbeddings Open AiModel
  5. 5OpenAI Chat Model1Lm Chat Open AiModel
  6. 6WebhookWebhookStarts it
  7. 7OpenAI Chat Model2Lm Chat Open AiModel
  8. 8When clicking ‘Test workflow’Manual triggerStarts it
  9. 9Embeddings OpenAI1Embeddings Open AiModel
  10. 10Recursive Character Text SplitterText Splitter Recursive Character Text SplitterModel
  11. 11Voicebot AI AgentAgentModel
  12. 12Qdrant Vector StoreVector Store QdrantModel
  13. 13RAGTool Vector StoreModel
  14. 14Generate text (STT)Open AiModel
  15. 15GuardrailsGuardrailsModel
  16. 16Create collectionHttp RequestService
  17. 17Clear collectionHttp RequestService
  18. 18Insert fileVector Store QdrantModel
  19. 19Default Data Loader1Document Default Data LoaderModel
  20. 20Generate audio (TTS)Open AiModel
  21. 21Default response (TTS)Open AiModel
  22. 22Search filesGoogle DriveService
  23. 23Wait 5 sec.WaitLogic
  24. 24Respond to WebhookRespond To WebhookStarts it
  25. 25Respond default to WebhookRespond To WebhookStarts it
  26. 26Loop Over ItemsSplit In BatchesLogic
  27. 27Get filesGoogle DriveService

How it's built

Starts on
Another system calling it
Steps
27, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Drive, Qdrant
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 and Qdrant 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 27 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 27 steps before you point it at anything that matters.