Create a new workflow or update an existing one. If an id is provided in the request body, the workflow will be updated; otherwise, a new workflow will be created.
The ID of the bot to create/update the workflow for
Request body for creating or updating a workflow
Title of the workflow
Optional description of the workflow
Steps in the workflow
The workflow ID. If provided, the workflow will be updated; otherwise, a new workflow will be created.
Whether the workflow is enabled
Context describing when this workflow should be used
Order of the workflow