Pachca Trigger icon

Pachca Trigger

Starts workflow when Pachca events occur

Pachca Trigger

AI-generated

Summary

Start a workflow when a Pachca event occurs. Configure the Pachca Trigger node to listen for a specific event (e.g., new message, button pressed) or all events. Set webhook setup to Automatic (the node registers the webhook URL in Pachca; bot tokens self-register, personal tokens require Bot ID and bots:write scope) or Manual (you copy the Production URL from the node into Pachca's Outgoing Webhook setting). When the workflow is active, the node verifies incoming webhooks by signature (if configured), IP allowlist (if set), and replay protection, then filters by the selected event before passing the webhook payload as JSON to the workflow.

Inputs

  • Event (required) — The Pachca event that triggers the workflow. Options include specific events (e.g., new_message, button_pressed) or '*' for all events. Default: new_message.
  • Webhook Setup (required) — Determines how the webhook URL is registered in Pachca. Automatic: node manages registration (requires valid credentials; bot tokens self-register, personal tokens need Bot ID and bots:write scope). Manual: user must paste the node's Production URL into Pachca bot settings. Default: manual.
  • Bot ID — Required only when Webhook Setup is Automatic and using a personal token. The ID of the bot whose webhook URL should be registered. Ignored for bot tokens. Default: 0.

Output shape

The workflow receives the full Pachca webhook payload as JSON data in the first (and only) output item when an event matches the filter.

The node verifies webhook signature (if signing secret is set in credentials), IP allowlist (if webhook allowed IPs are configured), and replay protection (webhook timestamp within 5 minutes) before processing.

Links

Discussion