Types
UpdateWorkflowInput
input
UpdateWorkflowInputFields
workflowId
ID!
required
name
trigger
JSON-encoded trigger configuration. type is lowercase: {"type":"manual"}, {"type":"events","events":["thread.thread_created"]} or {"type":"schedule","cron":"0 9 * * 1"}. See Workflow.trigger for every event.
startStepId
The ID of the first step to execute. Cannot be cleared to null on a published workflow; unpublish (isPublished: false) before restructuring steps, then republish.
order
deprecated
Writes the legacy order integer and nothing else — it does not change where the workflow sits in the list.
No longer affects ordering. Use moveWorkflow to reorder, and read position.
isPublished
Was this page helpful?

