https://api.us.nylas.com/v3/grants/{grant_id}/workflows/{workflow_id}Update a workflow
Updates the specified grant-level workflow.
Works with an API key, an access token (use /v3/grants/me/ in place of the grant ID), or an IAM API key with the workflows.update permission.
Update workflow request
trigger_eventThe 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.opened fire for every open of
every tracked message the workflow covers.
fromDetails of the sender if the workflow should use transactional send. If not provided, the sender will be the grant associated with the trigger event.
A workflow with from.email must use an application-level template. If template_id points
to a grant-level template, the request returns 400 with the message
a Workflow with a from email must use an application-level template.