Convert spoken staff orders into POS actions

A custom voice agent listened for orders, changed the basket in a POS, and initiated card payment in a demo.

Done with Custom agent· Advanced· Nov 2026

What they did
The author assembled a LangChain workflow using gpt-3.5-turbo and three actions: add item, remove item, and pay. Those actions were exposed as functions that sent requests to a FastAPI service standing in for the POS. A headset recorded the whole exchange, and the prompt told the system to respond only to speech spoken between the words 'agent' and 'please'.
How it went
During the demo, it separated the relevant instructions from surrounding talk, applied a revised order after the speaker changed their mind, and then launched card payment. The demo did not include speed or accuracy figures, and there was no report of a real shop deployment.
Tips
Write the tool docstrings as direct instructions for the model, including the exact input shape you want back. Add a human check before any payment or cart update is carried out.

Try it yourself with n8n

Create a workflow for [spoken staff orders or transcript] that listens for phrases between [start cue] and [end cue], then uses an LLM to call tools for [add item], [remove item], and [begin payment] against [my POS endpoint]. Present the parsed order for approval before any item is added, removed, submitted, or paid. Try it first with sample phrases in a sandbox, and wait for confirmation before taking any irreversible action.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.