LoomCycle Hook
AI-generatedSummary
Register a LoomCycle webhook that receives callbacks before or after matching tool calls, list registered hooks, or delete a hook by ID. Registration uses an owner and name identity; if Owner is blank, the node derives it as n8n:<workflow node ID>.
Inputs
- Operation (required) — Choose Register, List, or Delete.
- Name (required) — For Register, the hook name. Together with Owner, it identifies the hook; registering the same pair replaces the prior entry.
- Phase (required) — For Register, choose Pre to receive a callback before the tool runs, or Post to receive one after it runs.
- Callback URL (required) — For Register, the HTTP or HTTPS endpoint LoomCycle will POST hook payloads to, such as an n8n Webhook trigger URL.
- Owner — For Register, the owning app UID. If blank, the node uses
n8n:<workflow node ID>. - Agents (Comma-Separated) — For Register, agent name globs to match. Supports exact names or trailing-
*prefixes; blank matches all agents. - Tools (Comma-Separated) — For Register, tool name globs to match. Supports exact names or trailing-
*prefixes; blank matches all tools. - Fail Mode — For Register, choose Open to ignore webhook delivery errors and let the tool call proceed, or Closed to fail the tool call on delivery errors. Defaults to Open.
- Timeout (Ms) — For Register, the per-call webhook timeout in milliseconds. Zero uses LoomCycle's registry default of 5 seconds.
- Hook ID (required) — For Delete, the LoomCycle-assigned hook ID, available from Register or List.
Output shape
A single item containing the operation result.
Register returns the registration response, including the assigned hook ID. List returns an object with a
hooksarray. Delete returns{ "ok": true, "id": "<hook ID>" }. Empty agent or tool filters are omitted from registration, and API errors are surfaced as node errors unless the workflow is configured to continue on fail.