# AI chatbot call center: Demo call center with Grok and Redis: n8n workflow

> 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...

Source: https://millionrounds.com/workflow/ai-chatbot-call-center-demo-call-center-with-grok-and-redis (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [AI assistants](https://millionrounds.com/workflows?category=AI+assistants#library)

# 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.

Large Calls a model: Grok Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fai-chatbot-call-center-demo-call-center-with-grok-and-redis)

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

**4** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 2 Model 4 Logic 15 Service 6

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

- 1 **Test Trigger** Chat trigger *Starts it*
- 2 **Flow Trigger** Execute Workflow trigger *Starts it*
- 3 **xAI @grok-2-1212** Lm Chat XAi Grok *Model*
- 4 **Postgres Chat Memory** Memory Postgres Chat *Model*
- 5 **Load User Memory** Postgres Tool *Service*
- 6 **Save User Memory** Postgres Tool *Service*
- 7 **Taxi Service** Tool Workflow *Model*
- 8 **Test Fields** Set *Logic*
- 9 **Input** Set *Logic*
- 10 **AI Agent** Agent *Model*
- 11 **Rate Limit** Redis *Service*
- 12 **New Session** Redis *Service*
- 13 **Error Output** Set *Logic*
- 14 **If Rated** If *Logic*
- 15 **Chat Switch** Switch *Logic*
- 16 **Call Back** Execute Workflow *Logic*
- 17 **Rated Output** Set *Logic*
- 18 **Session** Redis *Service*
- 19 **Output** Set *Logic*
- 20 **Test Output** Set *Logic*
- 21 **Chat Memory** Set *Logic*
- 22 **Channel Switch** Switch *Logic*
- 23 **Provider** Redis *Service*
- 24 **Code** Code *Logic*
- 25 **Provider Switch** Switch *Logic*
- 26 **Taxi Booking Worker** Execute Workflow *Logic*
- 27 **Taxi Service Redirect** Execute Workflow *Logic*

## 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.

## 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-chatbot-call-center-demo-call-center-with-grok-and-redis)
- **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.

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

## Workflows like it

Also ai assistants, with the same services where possible, closest in size first.

- [**WhatsApp unofficial AI bot with Groq and Pinecone** 26 steps · calls a model · Pinecone, Redis](https://millionrounds.com/workflow/whatsapp-unofficial-ai-bot-with-groq-and-pinecone)
- [**Automating WhatsApp replies with Go High Level and Redis** 25 steps · calls a model · Google Drive, Redis](https://millionrounds.com/workflow/automating-whatsapp-replies-with-go-high-level-and-redis)
- [**Generate creative solutions with Redis** 18 steps · calls a model · Redis](https://millionrounds.com/workflow/generate-creative-solutions-with-redis)
- [**Send GoHighLevel WhatsApp and email auto-replies with Redis** 36 steps · calls a model · Google Drive, Pinecone](https://millionrounds.com/workflow/send-gohighlevel-whatsapp-and-email-auto-replies-with-redis)
- [**Implement intelligent message buffering for AI chats** 16 steps · calls a model · Redis](https://millionrounds.com/workflow/implement-intelligent-message-buffering-for-ai-chats)
- [**Enhance customer chat by buffering messages with Twilio** 13 steps · calls a model · Redis, Twilio](https://millionrounds.com/workflow/enhance-customer-chat-by-buffering-messages-with-twilio)
