Mercury Trigger icon

Mercury Trigger

Starts the workflow when Mercury events occur

Mercury Trigger

AI-generated

Summary

Watches Mercury bank accounts or transactions for specific events and fetches the full resource details when triggered.

Inputs

  • triggerType (required) — The type of event to monitor. Options include transactionCreated, transactionSettled, transactionFailed, transactionCancelled, transactionUpdated, and accountBalanceUpdated.

Output shape

A list of items (one per triggered event), where each item contains the full Mercury API resource object (e.g., transaction details or account data).

The webhook validates the request signature and checks specific status filters (e.g., 'settled', 'failed', 'cancelled') before fetching the resource. Only events matching the selected trigger type and status are processed.

Examples

Example 1: Monitor for newly created transactions.

Set Trigger Type to 'Transaction Created'.

Example 2: Monitor for failed transactions only.

Set Trigger Type to 'Transaction Failed'.

Example 3: Monitor for account balance updates.

Set Trigger Type to 'Account Balance Updated'.

Links

Discussion