Automation library · AI assistants

AI chatbot call center: Demo call center with Grok and Redis

Started by someone opening a chat with it, and works across Redis. It puts Grok behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 27 steps, 4 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: GrokRetrieval

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

The flow

Starts it 2Model 4Logic 15Service 6

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

  1. 1Test TriggerChat triggerStarts it
  2. 2Flow TriggerExecute Workflow triggerStarts it
  3. 3xAI @grok-2-1212Lm Chat XAi GrokModel
  4. 4Postgres Chat MemoryMemory Postgres ChatModel
  5. 5Load User MemoryPostgres ToolService
  6. 6Save User MemoryPostgres ToolService
  7. 7Taxi ServiceTool WorkflowModel
  8. 8Test FieldsSetLogic
  9. 9InputSetLogic
  10. 10AI AgentAgentModel
  11. 11Rate LimitRedisService
  12. 12New SessionRedisService
  13. 13Error OutputSetLogic
  14. 14If RatedIfLogic
  15. 15Chat SwitchSwitchLogic
  16. 16Call BackExecute WorkflowLogic
  17. 17Rated OutputSetLogic
  18. 18SessionRedisService
  19. 19OutputSetLogic
  20. 20Test OutputSetLogic
  21. 21Chat MemorySetLogic
  22. 22Channel SwitchSwitchLogic
  23. 23ProviderRedisService
  24. 24CodeCodeLogic
  25. 25Provider SwitchSwitchLogic
  26. 26Taxi Booking WorkerExecute WorkflowLogic
  27. 27Taxi Service RedirectExecute WorkflowLogic

How it's built

Starts on
Someone opening a chat with it
Steps
27, with 4 branches
Size
Large: read it before trusting it with anything live
Connects to
Redis
Model
Grok
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 Redis account, and a key for Grok. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone opening a chat with it.

Does it use AI?

Yes. It calls Grok. 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.