- API reference
- Grant-level workflows
- Get a workflow
https://api.us.nylas.com/v3/grants/{grant_id}/workflows/{workflow_id}Get a workflow
Returns the specified grant-level workflow.
Path parameters
ID of the grant to access. You can also use the email address associated with the grant, or use
/me/ to refer to the grant associated with an access token.
"[email protected]"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]"