You built a client a lead-routing workflow, a chat agent, and a weekly sync. They run every day. Then the client asks what the automations did last month, and the honest answer lives in an execution list only you can open.
This guide sets up n8n client reporting: each client gets a page showing what their workflows did. Every run and failure, every lead, chat conversation, and tool call, and how many tokens their agents used. You import two workflows once. After that, any workflow reports with a single node, and finished runs are reported with no nodes at all.
A note on what this guide is not. It is not about using n8n to build marketing reports from Google Analytics or ad data. It is about reporting on the n8n workflows themselves.
Who this is for: agencies and freelancers who build and run n8n workflows or AI agents for clients, on n8n Cloud or self-hosted.
What clients want to see
n8n’s execution list is built for the person who maintains the workflows. It answers “did this run fail, and at which node?” It is the wrong thing to show a client, for three reasons:
- It covers the whole instance. If you run several clients on one n8n, the list holds all of them.
- It shows the data. Opening a run shows the payload each node handled, including other people’s names and emails.
- It speaks in nodes. A client doesn’t want “HTTP Request1 succeeded.” They want “14 leads sent to HubSpot this week.”
What a client wants is short:
- Is it running? How many runs, how many failed, and when the last one was.
- What did it do for us? Leads created, conversations answered, calls handled, pages crawled.
- What is it costing? Token usage for anything with a language model in it, by model.
The usual workaround is a row appended to a Google Sheet at the end of each workflow. It works for one client. It gets hard to keep consistent across ten, and a sheet is still not something a client checks on their own.
The setup below sends the same facts to Burrow, which files them under the right client and shows them on that client’s Automations page.
How the setup works
There are three files. Download them now; the steps below use each one.
| File | What it is |
|---|---|
| burrow-event.json | Burrow Event. A sub-workflow that sends events to Burrow. Every other workflow calls it. |
| burrow-run-tracker.json | Burrow Run Tracker. Reports every finished run of your clients’ workflows, and their token usage, with no nodes added to those workflows. |
| burrow-caller-nodes.json | Two ready-made nodes to paste into your own workflows. |
The pieces fit together like this:
- A data table in n8n lists your clients and the Burrow IDs for each. It is the only place those IDs live.
- Burrow Event takes a client’s short name and a list of events, looks the client up in the table, and posts the events to Burrow.
- Your workflows call Burrow Event with one Execute Workflow node wherever something worth reporting happens.
- The Run Tracker runs on a schedule, reads n8n’s own execution list, and reports runs and token usage for you.
You can stop after Burrow Event and report only what you choose. The Run Tracker is optional, but it is the part that gives you run counts and token usage without touching existing workflows.
Before you start
You need:
- n8n with Data tables, cloud or self-hosted.
- A Burrow ingestion key, created for n8n. An ingestion key lets a system send events into Burrow and nothing else.
- Your Burrow organization ID, and the client ID and project ID of each client site you want to report on.
- For the Run Tracker only: an n8n API key for the same instance.
If you don’t have a Burrow account yet, the trial is free for 30 days with no card.
Map each client in a data table
In n8n, create a data table named burrow_destinations with these four text columns:
| key | client_id | project_id | label |
|---|---|---|---|
acme | Burrow client ID | Burrow project ID | Acme / acme.com |
Add one row per client site. key is the short name your workflows will use. label is for you; nothing reads it.
Because this table is the only place Burrow IDs live, adding a client later is one new row. No workflow changes.
Import the Burrow Event workflow
First, store the ingestion key. Create a Bearer Auth credential in n8n and paste the ingestion key as the token. Keep the key in the credential only. Never put it in a node field or a Set node, where it would show up in execution data.
Then import the workflow:
- Create a workflow, choose Import from file, and pick
burrow-event.json. - Open Lookup Client and choose your
burrow_destinationstable. - Open Build Envelopes and replace
PASTE_YOUR_BURROW_ORGANIZATION_IDwith your organization ID. This is an ID, not a secret. - Open POST to Burrow and choose the Bearer Auth credential.
- Save and publish.
The workflow takes two inputs: client, a key from the table, and events, a list. It adds the organization, client, and project IDs, marks each event as coming from n8n on the Automations channel, and posts it to https://app.useburrow.com/api/v1/events.
Report from your own workflows
Open burrow-caller-nodes.json, copy its contents, and paste onto a workflow’s canvas. You get two Execute Workflow nodes that are already set up the right way:
- Workflow: your Burrow Event workflow. Choose it after pasting.
- client: the row’s
key, for exampleacme. - events: an expression that returns a list of events.
- Wait for sub-workflow completion: off, so reporting never slows the workflow down.
- On error: continue, so a reporting problem never breaks the workflow.
Name each one Burrow: <what> and connect it after the step it reports on.
An event looks like this:
{{ [{
event: 'automations.lead.created',
externalEventId: 'n8n:' + $execution.id + ':lead',
properties: { leadId: String($json.id), crmTarget: 'hubspot', sourceDetail: 'contact-form' },
tags: { modality: 'workflow' }
}] }}
Every event Burrow understands, with its properties and tags, is listed in the Automations Playground. These are the ones most workflows use:
| When | Event | Useful properties and tags |
|---|---|---|
| A chat begins | automations.chat.started | conversationId; tags agentId, modality: chat |
| Each message | automations.message.sent | conversationId, role (user or assistant) |
| An agent calls a tool | automations.tool.completed | toolName, toolCallId; tag toolName |
| A lead is created | automations.lead.created | leadId, crmTarget, sourceDetail |
| A voice call ends | automations.voice_call.completed | callId, duration |
| A crawl runs | automations.crawl.started, .completed, .failed | crawlId, pagesCrawled, pagesIndexed |
| A knowledge base is refreshed | automations.knowledge.synced | knowledgeBaseName, totalDocuments |
Three rules
- Always set
externalEventId, built from$execution.id. Burrow drops a repeat with the same ID, so a retried run is not counted twice. - Send IDs and counts, not people. No message text, names, emails, phone numbers, or IP addresses. The client’s report should say a lead was created, not who the lead was.
- Report after you reply. In a webhook or chat workflow, place the Burrow node after the response so a visitor never waits for it.
Report on chat agents
A chat agent produces several events per turn: the chat starting, a message each way, and any tools the agent called. Add a Code node after the agent that builds the turn’s events, then one Burrow node after it.
const t = $('When chat message received').first().json;
const base = 'n8n:' + $execution.id;
const tags = { agentId: 'acme-chat', modality: 'chat' };
const msg = role => ({ event: 'automations.message.sent', externalEventId: base + ':msg:' + role,
properties: { conversationId: t.sessionId, role }, tags });
const steps = $('AI Agent').first().json.intermediateSteps || [];
return [{ json: { events: [
// Same ID on every turn of a session, so Burrow keeps only the first.
{ event: 'automations.chat.started', externalEventId: 'n8n:acme:chat:' + t.sessionId + ':started',
properties: { conversationId: t.sessionId }, tags },
msg('user'), msg('assistant'),
...steps.filter(s => s.action && s.action.tool).map((s, i) => ({
event: 'automations.tool.completed', externalEventId: base + ':tool:' + i,
properties: { toolName: s.action.tool, toolCallId: base + ':tool:' + i, conversationId: t.sessionId },
tags: { ...tags, toolName: s.action.tool } })),
] } }];
Two things to set up around it:
- Tool calls need Return Intermediate Steps. Turn it on in the agent’s options, or the list of tool calls is empty.
- Keep the reply the reply. If the Chat Trigger answers with the last node’s output, the Burrow node would become the answer. End the path with a Set node named
Replythat returns{{ $('AI Agent').first().json.output }}.
The client sees conversations started, messages exchanged, and which tools the agent used. They do not see what anyone typed.
Track every run and token usage per client
The Run Tracker is the part that needs no changes to your workflows. Every 10 minutes it reads n8n’s execution list and reports each finished run as automations.workflow.completed or automations.workflow.failed, with its duration.
To import it:
- Create an n8n API credential with an API key for this instance.
- Import
burrow-run-tracker.json. - Open Clients and choose your
burrow_destinationstable. - Open Workflows, Executions, Execution Details, and Delete Run, and choose the n8n API credential in each.
- Open Send to Burrow and choose your Burrow Event workflow.
- Save and publish.
Name your workflows by client
The tracker decides which client a workflow belongs to from its name. Name your workflows <Client> - <What>. A workflow belongs to a client when the part of its name before - matches a key in the table, ignoring letter case, spaces, and punctuation.
- Key
acmematchesAcme - Chat Agent. - Key
northwindmatchesNorth Wind - Weekly Sync.
A workflow that matches no row is not reported. That keeps your own internal workflows out of client reports.
n8n token usage, per client
For any workflow with a chat model node, the tracker reads each run and reports the tokens used, per model, as automations.usage.recorded. Because the run already belongs to a client, so does the usage.
That gives you token usage per client and per model without a logging step in every agent workflow, and without a spreadsheet. Embedding tokens are not counted.
Things to know
- Workflows that don’t save successful runs are invisible to the tracker. Have them report their own run with the
Burrow: Runnode fromburrow-caller-nodes.json. It uses the same event ID the tracker would, so nothing is double-counted. - For private data, tag the workflow
purge-after-report. Leave it saving successful runs. The tracker reports each run and its tokens, then deletes the run from n8n, usually within 20 minutes and after an hour at most. Failed runs are kept so you can debug them. - The first cycle looks back three hours. Older runs are not sent.
The client dashboard for n8n
Once events are arriving, open the client’s project in Burrow and go to Automations. Everything from the steps above lands there for that client only:
- Runs completed and failed, from the Run Tracker.
- Leads, conversations, tool calls, calls, and crawls, from the nodes you added.
- Token usage by model.
Because it sits in Burrow, the automation activity is next to the rest of that client’s work: form submissions, uptime, deploys, and invoices. When a form-to-CRM workflow fails, you can see the forms still arriving and the workflow not finishing, on the same timeline. The Automations channel page covers failure detection in more detail.
It is also what makes this a client report and not an internal monitor. The same data can go into the client’s scheduled reports and their read-only client portal, so the answer to “what did the automations do last month?” is already written down when they ask.
Check it worked, and troubleshooting
To check the setup:
- Run a workflow that has a Burrow node.
- Open the client’s project in Burrow and look at Automations. The event appears within a few seconds. Tracked runs appear within 10 minutes.
If something is off:
| What you see | Cause and fix |
|---|---|
| Burrow Event fails with “no row in burrow_destinations” | The client value matches no key. Fix the value or add the row. |
| Burrow Event fails with “set ORGANIZATION_ID” | The organization ID was not pasted into Build Envelopes. |
| POST to Burrow returns 401 | The Bearer Auth credential holds the wrong key, or the key was revoked. |
| Events arrive on the wrong client or with no project | Check client_id and project_id in the row. |
| A workflow never shows in the run list | Its name doesn’t match a key, or it doesn’t save successful runs. |
| An event is flagged in Burrow | It carries a property or tag the Automations contract doesn’t list. Fix the name, or add it to your organization’s contract. |
| A chat visitor gets an odd reply after adding the nodes | The Chat Trigger answers with the last node. Add the Reply node described in the chat agents chapter. |