automations
Run Manual Trigger
Changed onRun a manual automation trigger.
Only triggers set to manual can be run. Actions run as the bot with no member or channel, so use for_each_member for anything per member. The trigger's usual cooldowns and monthly budget apply.
context adds template variables, used as {{ key }} in the actions.
skipped is true when the trigger's conditions failed or a cooldown or budget blocked the run. Nothing ran, but it still counts toward your rate limits.
Needs an API key with automations.run, and counts toward the automation-runs limit.
post/v1/automations/{trigger_id}/run
Request
- Base URLhttps://api.monni.fyi (the document declares no server; this is the origin it was published from)
- URLhttps://api.monni.fyi/v1/automations/{trigger_id}/run
- AuthAPI key in header X-API-Key
Path parameters
trigger_idstring required
Request body
Example request
{
"context": {
"priority": 3,
"ticket_id": "T-4021",
"urgent": true
}
}Response
Successful Response
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info