Workflow triggers
A workflow trigger is the record Solvimon creates each time a workflow matches an event. Triggers are how you prove a workflow ran, and how you run one on demand.
How it works
Workflows and actions are configuration and live in the Configuration API. Triggers are transactional records and live in the Transaction API. Each trigger names the workflow that ran, the customer it ran for, and a type-specific block pointing at the invoice, payment, subscription or wallet involved.
The type-specific block matches the workflow’s type:
Implementation
Trigger a workflow manually
Creating a trigger runs the workflow’s active actions immediately. This is the fastest way to verify an email before you widen a workflow’s customer scope:
For a payment workflow, swap the block for "payment": { "payment_id": "pay_..." }. Wallet triggers are EVENT-only in practice, since the balance condition is evaluated by Solvimon.
Find the triggers for a resource
Use search when you are answering “did this invoice get its email?”. POST /v1/workflow-triggers/search takes the platform’s standard filter_fields structure, where each entry names a field on the trigger:
Use values instead of value to match a list, and combine with the limit, page and order_by query parameters to page through the results.
An empty result means the workflow never matched. Triggers carry no result of their own, so if a trigger exists but no email went out, check the execution result on the workflow’s page in Desk; see Monitoring and audit.
Via Desk
Triggers appear on the workflow’s detail page and on the invoice, payment or subscription itself, so you can start from either end of the question.
Troubleshooting
Work through this in order when an email did not arrive:
- Is the workflow
ACTIVE? ADRAFTorINACTIVEworkflow never produces triggers. - Is the customer in scope? Check
customer_idson the workflow. - Does a trigger exist for the invoice or payment? If not, the event never matched the variant.
- Is the action
ACTIVE? A trigger runs only the workflow’s active actions. - If a trigger exists and the action is active, open the workflow in Desk and read the execution result and error message.
- If the execution succeeded, the problem is downstream. Check the email provider’s own logs.