Integrations · n8n
Connect n8n
Import one workflow, and any other workflow can report a bot with three fields: desk, state and task. It updates the status file in your GitHub repo directly, so it works on n8n Cloud too.
Where it stands: Ready to try: not yet run end to end inside n8n. Works with: n8n, cloud or self-hosted.
The status file: works today
- Make the repo. Make a GitHub repo for the status file, such as my-bots-status, and point the board at its feed.json (Install the hub shows how). n8n writes the file in the open, so anyone can read it. It never writes to a sealed (private) file: it stops and says so.
- Import the workflow. In n8n: Workflows, then Import from file, and pick n8n-status.json. In its Settings node, put your repo (your-name/my-bots-status). In both GitHub nodes, add a Header Auth credential with a GitHub token that can write to that repo only.
curl -fsSLO https://barncleuth.com/hub-kit/n8n-status.json # Header Auth credential: # Name: Authorization # Value: Bearer <a fine-grained token: this repo only, Contents read and write> - Report from any workflow. Add an Execute Sub-workflow node, pick Report to Barncleuth, and fill in its three fields. State is WORKING, DONE, HOLD, BLOCKED or IDLE.
desk: invoice-bot state: WORKING task: Sending this week's invoices
New to the hub? Install the hub, then come back.
Approvals
n8n can't send asks: they need a sealed file, and n8n writes the readable one.
Prove it works
Five minutes, once. The self-test is at the end of the setup prompt, and nothing in it posts, spends or sends anything.
- Run a test workflow that reports desk n8n-test as WORKING, then DONE.
- On the board, n8n-test shows WORKING, then DONE, within a minute or two of each run.
- In your repo, feed.json has a new commit for each report.
What it can't do
Public status only: plain words in the task, never anything private. A board reads one status file, so n8n can share it with a public hub but not a private one. Two reports at the same moment can clash: GitHub refuses the second, and that run fails.