- API reference
- Application-level workflows
- Return all workflows
https://api.us.nylas.com/v3/workflowsReturn all workflows
Returns all application-level workflows.
Query parameters
The maximum number of objects to return. See Pagination for more information.
50An identifier that specifies which page of data to return. You can get this value from the
next_cursor response field. See Pagination for more
information.
[{"id":"b79c82b2-a51b-4c54-8469-28006a43551a","grant_id":"6c45fe5e-0bb6-41b9-9acc-ccb15bfc51eb","app_id":null,"is_enabled":true,"name":"Booking Confirmation Workflow","trigger_event":"booking.created","delay":1,"template_id":"14c00cc8-648c-4381-ad10-52641d9bac8e","date_created":1756477389},{"id":"c89d93c3-b62c-5d65-9570-39117b54662b","grant_id":"6c45fe5e-0bb6-41b9-9acc-ccb15bfc51eb","app_id":null,"is_enabled":true,"name":"Booking Reminder Workflow","trigger_event":"booking.reminder","delay":60,"template_id":"25d11dd9-759d-5492-be21-63752e6cbd9f","date_created":1756477500},{"id":"d90e04d4-c73d-6e76-a681-40228c65773c","grant_id":"6c45fe5e-0bb6-41b9-9acc-ccb15bfc51eb","app_id":null,"is_enabled":false,"name":"Booking Cancellation Workflow","trigger_event":"booking.cancelled","delay":0,"template_id":"36e22ee0-86ae-6603-cf32-74863f7dce0g","date_created":1756477600}]app_idstringnullableThe ID of the Nylas application associated with the workflow. Returned only if the workflow is configured at the application level.
"6c45fe5e-0bb6-41b9-9acc-ccb15bfc51eb"1756477389delay*integerThe number of minutes between a trigger_event being met and the workflow sending
a message.
5grant_idstringnullableThe ID of the grant associated with the workflow. Returned only if the workflow is configured at the grant level.
"6c45fe5e-0bb6-41b9-9acc-ccb15bfc51eb""14c00cc8-648c-4381-ad10-52641d9bac8e"trigger_event*stringThe event which triggers the workflow.
grant.expired and grant.deleted require a from sender address, because the grant that
triggered them can no longer send email. Every other trigger accepts a workflow without one.
Workflows have no condition or filter field, so an enabled workflow sends for every matching
event in its scope. High-volume triggers such as message.created fire for every message in
every mailbox the workflow covers.
"booking.created""[email protected]"