Workflows
Create a workflow
Creates a workflow with its single trigger step. trigger_type defaults to EVENT, which requires event_name; SCHEDULE takes interval_ms and MANUAL is started only by POST /api/v1/workflows/{id}/executions.
Pass sequence to create the steps at the same time, as a LINEAR chain behind the trigger. Anything with a branch is PUT /api/v1/workflows/{id}/graph. Without a sequence the workflow holds only its trigger and stays inert until it has steps to run, which is why it is created disabled.
Requires the workflows:write scope — Create, edit, enable, and delete your automation workflows.
post/api/v1/workflows
Request
- Base URL: https://api.sendly.now
- URL: https://api.sendly.now/api/v1/workflows
- Auth: one of:
- HTTP bearer
- API key in cookie better-auth.session_token
- OAuth 2 (authorization code, authorization URL https://app.sendly.now/api/auth/oauth2/authorize, token URL https://app.sendly.now/api/auth/oauth2/token, scopes: workflows:write)
Request body
Response
Workflow created
Changes
No recorded changes to this operation across all 1 revision of this API.