n8n-handoff
Validate a runx execution context and hand off a governed payload to an n8n workflow webhook with scoped auth, idempotency, and receipt expectations.
- License 许可
- MIT
- 所属仓库
- ZachDreamZ/runx
- 最近更新
- 2026-07-17
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- n8n-handoff
- runx
- { "category": "ops" }
- description
- Validate a runx execution context and hand off a governed payload to an n8n workflow webhook with scoped auth, idempotency, and receipt expectations.
02 资源文件 1
- 参考文档X.yaml5.1 KB
03 SKILL.md 正文
n8n Handoff
Hand off governed runx work to an n8n workflow without turning n8n into the authority holder.
This skill is for the outbound side of the n8n integration story. runx owns the policy decision, credential delivery, execution context, and receipt. n8n owns its workflow webhook, canvas, branching, fan-out, and downstream notifications.
Runners
preflight: validates and normalizes the handoff context without network.send: validates the context and posts the payload to the n8n webhook.
Use preflight for reviews, CI, and local harnesses. Use send only after the
n8n webhook URL and a N8N_WEBHOOK_TOKEN credential profile have been configured.
Execution context
execution_context must identify where the handoff came from. Include at least
one of:
callerorcaller_idprincipalorprincipal_idworkflow,workflow_id,workflow_ref, orsource_workflowupstream_execution_idorupstream_run_id
When present, these fields must match the top-level inputs:
platformevent_ididempotency_keyhandoff_scopehandoff_audience
Edge cases
- Cloud n8n cannot call a local shell or localhost runx process. Use hosted runx APIs for public n8n listing work.
- Self-hosted n8n can receive local outbound webhooks, but the receiver endpoint still needs an operator-owned bearer token and idempotency check.
- Do not put raw provider credentials into
payloadorexecution_context. Pass credential references or let runx hold the provider secret. - If the workflow slug changes, update
handoff_audienceto the matchingn8n:workflow:<slug>value. - The receiver must dedupe by
event_idbefore branching or sending downstream notifications.
Inputs
event_id(required): stable id for receiver-side dedupe.execution_context(required): explicit caller/workflow context.payload(required): business payload delivered to n8n.handoff_audience(optional): defaults ton8n:workflow:runx-governed-effect.webhook_hostandworkflow_slug(send runner): public n8n endpoint parts.idempotency_key(optional): defaults toevent_id.
04 同仓库更多 Skills
zapier-handoff
Validate a runx execution context and hand off a governed payload to a Zapier Catch Hook with scoped auth, idempotency, and receipt expectations.
x402-pay
Execute a governed x402 payment by delegating to the canonical spend flow with the x402 runtime path selected.
work-plan
Decompose a build objective into governed runx execution steps.
web-fetch
Fetch and extract one web source within an explicit allowlist, returning the content by digest with full provenance.
weather-forecast
Normalize provider weather evidence into an action-safe forecast packet with provenance, uncertainty, and stop conditions for downstream agents.
vuln-triage
Triage dependency or ecosystem vulnerability risk into remediation and advisory packets, grounding on verified CVE evidence when it is supplied.