Disclosure first: I’m the founder of Metrecept, the pipe this workflow runs through.
The problem it was built for: Retry On Fail re-sends a paid model call, and a week later nobody can show whether the second attempt was a second charge. The execution log is yours, written by the account that could edit it.
What the workflow does
- Posts the same request through the pipe twice: a MISS, then a HIT.
model: mockruns with no provider key, so it works as-is. - The HIT comes back with an
X-Metrecept-Receiptheader, an Ed25519-signed record of that call. A Code node checks the signature with Nodecrypto. - Both calls are tagged
X-Metrecept-Session: <run id>; the last node GETs/v1/sessions/<run id>and the proof JSON carriessession_receipt_verify_url, one signed record of the whole run (call count, hits, misses, pipe charge, first and last timestamp). Forward that one line in the Slack message or ticket the workflow already sends. Whoever opens it checks the signature in their browser against the public key directory. No account.
What it does not do
- It covers only calls that crossed the pipe. A node calling the provider directly leaves no record.
- It does not grade the output. A signed wrong answer is still wrong.
- It did not stop the retry. The idempotency key still does that.
Receipt from this morning’s run: Metrecept | Proof, not trust
JSON: metrecept-opensource/demo/n8n_retry_hit_receipt_template.json at main · iwasinnam2/metrecept-opensource · GitHub
Verifier, if you’d rather not trust the page: metrecept-opensource/demo/verify_receipt.py at main · iwasinnam2/metrecept-opensource · GitHub
Pricing, stated plainly: this workflow’s receipt, the session receipt, is the $0 one and is included. The per-call HIT receipt the Code node also checks bills on the seat; you can delete that branch and keep only the session link.