The flow
Starts it 2Model 3Logic 17Service 11
The steps in the order they run, from what starts it.
- 1Flow TriggerExecute Workflow triggerStarts it
- 2Test TriggerChat triggerStarts it
- 3Postgres Chat MemoryMemory Postgres ChatModel
- 4Update User SessionRedis ToolService
- 5xAI @grok-2-1212Lm Chat XAi GrokModel
- 6Load User MemoryPostgres ToolService
- 7Save User MemoryPostgres ToolService
- 8Create Route DataRedis ToolService
- 9Find Route DistanceHttp Request ToolService
- 10InputSetLogic
- 11Test FieldsSetLogic
- 12AI AgentAgentModel
- 13Service CacheRedisService
- 14Route DataRedisService
- 15Error OutputSetLogic
- 16If Service CacheIfLogic
- 17If Route DataIfLogic
- 18Call BackExecute WorkflowLogic
- 19Parse ServiceCodeLogic
- 20Load Service DataPostgresService
- 21Parse RouteCodeLogic
- 22OutputSetLogic
- 23ServiceSetLogic
- 24If ActiveIfLogic
- 25Taxi Service ProviderExecute WorkflowLogic
- 26SwitchSwitchLogic
- 27Reset SessionRedisService
- 28Save Service CacheRedisService
- 29Inactive OutputSetLogic
- 30ChineseSetLogic
- 31JapaneseSetLogic
- 32EnglishSetLogic
- 33Delete Route DataRedisService
How it's built
- Starts on
- Someone opening a chat with it
- Steps
- 33, with 4 branches
- Size
- Large: read it before trusting it with anything live
- Connects to
- Postgres, 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 Postgres and Redis accounts, 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 33 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 itNothing 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 33 steps before you point it at anything that matters.