Tags
n8nPRO
Workflow Name: ๐ค Taxi Service Provider
Template was created in n8n v1.90.2
Skill Level: High
Categories: n8n, Chatbot
Stacks
- Execute Sub-workflow Trigger node
- Chat Trigger node
- Redis node
- Postgres node
- AI Agent node
- Calculator node
- If node, Code node, Edit Fields (Set)
Prerequisite
- Execute Sub-workflow Trigger: Taxi Service Workflow (or your own node)
- Sub-workflow: Demo Call Back (or your own node)
Production Features
- Provider Data from external Database with Caching Mechanism
- Optional Score design output
- Optimize Taxi Provider Prompt from database
- Error Management
What this workflow does?
This is a n8n Taxi Provider Workflow demo. It will receive message from the Taxi Service Workflow, process the estimation and return to the caller.
How it works
- The Flow Trigger node will wait for the message from other Sub-workflow.
- When message is received, it will first check for the matching Provider from the PostgreSQL database.
- Then it will increase a Provider Number in Redis for selection later
- Trigger a AI Agent to process the fare estimation and create a NEW booking
- Finally, send the AI response to the Call Output
- Note: if the Provider is set to inactive, it will do nothing

Set up instructions
- Pull and Set up the required SQL from our Github repository.
- Create you Redis credentials, refer to n8n integration documentation for more information.
- Select your Credentials in Provider Cache, Save Provider Cache and Provider Number.
- Create you Postgres credentials, refer to n8n integration documentation for more information.
- Select your Credentials in Load Provider Data and Create Booking Data.
- Modify the AI Agent prompt to fit your need
How to adjust it to your needs
- By default, this template will use the sys_provider table provider information, you could change it for your own design.
- You can use any AI Model for the AI Agent node
- Include is our prompt for the taxi service provider. It is a flexible design which use the data from the Provider Cache to customize the prompt, so you could create more Taxi Service Providers by duplicate this workflow in the Taxi Service node.
Support Us ๐ฆ
We're an indie AI chatbot startup in Hong Kong, seeking your support to fuel our project. In return, we are sharing our core infrastructure for your reference to speed up your project. Welcome to the world of AI ๐
Buy the Full AI Chatbot Call Center Package for US$500 ๐ย Here
Download Part 4 For US$80 ๐ย Here
Resources
https://github.com/ChatPayLabs/n8n-chatbot-core