Account configuration is required before testing transactions
If you are interested in access to this feature, please contact [email protected]!
Overview
A Workflow trigger can be used to start a workflow. One of the examples of PayMongo Workflow Trigger is to automatically start a workflow when a payout occurs, as shown in this guide.
To create a trigger, you need to create a workflow that you want to attach the trigger to, then you can send a request to the create a trigger endpoint by setting this payload:
{
"workflow_id": "flow-LL993aXe4CR9Ghg",
"condition": {
"event_name": "payout.deposited",
"channel": "paymongo"
}
}Event Types
| Event Name | Description |
|---|---|
payout.deposited | Trigger a workflow when a payout is deposited to the account's PayMongo Wallet. |