See llms.txt for all machine-readable content.
This workflow runs a chat-based support agent powered by Groq, records every tool call the agent makes into an n8n Data Table, and appends an audit note that flags any numbers in the final answer that don’t appear in the question, tool inputs, or tool results.
The problem this solves is a small one that turns up late. An agent gives someone an answer, they act on it, and a week later somebody asks why it said that. Usually there is nothing to look at. The chat has gone, and the agent cannot reliably tell you what it did.
This keeps the receipts. After every reply it writes one row for each tool the agent used: which tool ran, what it was given, what came back, and which conversation it belonged to. Six rows means six tool calls, in order. If the agent answered without using any tool at all, that is written down too, and it is often the row you most want to find.
It also writes a short audit note. Every number in the answer is checked against what the tools returned, what the tools were asked, and the original question. If a number appears in none of those, the note names it. That is the number the agent did not get from anywhere, and it is the usual shape of a confident wrong answer. The reply the person sees carries the answer plus a one line summary of which tools were used, so they can see what it rests on without opening the table.
Be clear about what that check is. It is arithmetic on digits, not judgement. A sentence that is completely made up but contains no numbers will pass without comment. Matching is also loose, so a short number like 2 will nearly always be found somewhere by chance. It is most useful on long specific numbers, which is where invented figures usually show up. Treat the note as something to look at, not a verdict.
What it will not do: it does not block, correct or rewrite what the agent said, and it does not judge whether the answer was any good. It records what happened and points at numbers that came from nowhere. A person decides the rest.
One thing worth knowing before you rely on it. The log depends on the agent node handing back its intermediate steps, which is a normal built in option and is switched on in the template. If that changes in a future n8n release the log goes empty rather than wrong, and every row would read as though no tool had been used.