Create a pizza ordering chatbot with GPT-3.5 - Menu, orders & status tracking
Needs changesWhat this workflow does
This AI workflow has 8 nodes and runs when a chat message arrives. Along the way it connects OpenAI Chat Model and HTTP Request. It also calls n8n.io over HTTP.
How it runs
Trigger: When a chat message arrives.
- AI Agent: runs an AI agent, with model: Chat OpenAI; 4 tools (Get Order, Calculator, Get Products, Order Product); memory: Window Buffer Memory
Services it uses
HTTP calls to: n8n.io
Before you upgrade to n8n 3.0
2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- HTTP Request Tool (legacy) in Get Products, Order Product, Get Order: replace with HTTP Request node connected to the AI Agent's Tool input.
- AI Agent v1 (old agent modes) in AI Agent (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| HTTP Request Tool (legacy) Get Products, Order Product, Get Order | HTTP Request node connected to the AI Agent's Tool input |
| AI Agent v1 (old agent modes) AI Agent (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (6)
- Calculator
@n8n/n8n-nodes-langchain.toolCalculator - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - HTTP Request Tool
@n8n/n8n-nodes-langchain.toolHttpRequest - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
Pizza Ordering Chatbot with OpenAI - Menu, Orders & Status Tracking Introduction This workflow template is designed to automate order processing for a pizza store using OpenAI and n8n. The chatbot acts as a virtual assistant to handle customer inquiries…