Trigger types
Database event
Use Database event when something happening in Yorlet should start the workflow. To configure it, follow these steps:- Set Trigger type to Database event.
- Choose an Event from the list. Events are grouped by record type, such as invoice, tenancy, application, and maintenance.
tenancy.activated— a tenancy becomes activeinvoice.paid— an invoice is paidapplication.accepted— an application is acceptedmaintenance.issue.created— a maintenance issue is raisedcontract.completed— a contract is signed
API request
Use API request when you want to start the workflow from your own systems, rather than from something happening in Yorlet. There is no Run or Test button in the Dashboard. A teammate with an API key triggers the workflow by sending a request to it. You can add Input parameters so the request can pass values in. Click Add for each parameter, then set:- A key — the name you will send, and the name you reference later as
{{ trigger.input.<key> }} - A type — String, Number, or Boolean
- Required — turn this on if the request must include the parameter
Developers trigger the workflow with
POST /v1/workflows/:id/trigger and an optional input object keyed by the parameter names you defined.