Repejo Trigger icon

Repejo Trigger

Starts the workflow when Repejo sends webhooks

Repejo Trigger

AI-generated

Summary

Listen for specified Repejo events via webhooks and trigger the workflow when those events occur, validating the webhook signature (using a stricter parsing method) and timestamp for security, enforcing replay attack prevention.

Inputs

  • Events (required) — Select one or more Repejo event types to listen for, such as payer.created, receivable.updated, etc. Only webhook calls matching these events trigger the workflow.
  • Webhook Secret — Enter the secret key from Repejo used to validate webhook signatures with HMAC-SHA256 to ensure authenticity.
  • Validate Signature — Enable or disable validation of the webhook signature. Defaults to true for recommended security.

Output shape

a single JSON object representing the webhook payload when a matching event occurs

The output JSON contains "event_type", "sent_at" timestamp, nested "data" object, and convenience fields "entity_type" and "action" parsed from the event_type string. The node rejects payloads older than 5 minutes to prevent replay attacks. Signature validation requires the header "Repejo-Signature" to be present and uses strict hexadecimal parsing with constant-time comparison, throwing an error if invalid. Events not matching the selected events do not trigger output.

Examples

Example 1: Trigger on a new payer creation event

Set Events to 'Payer Created', provide the Webhook Secret, keep Validate Signature enabled

Example 2: Trigger on any receivable update

Set Events to 'Receivable Updated', provide the Webhook Secret, keep Validate Signature enabled

Links

Discussion