API Guide
Advanced Workflows are currently only available for Enterprise customers. To upgrade, get in touch with our sales team.
The Kadoa Advanced Workflow API provides endpoints to manage workflows efficiently. In this guide, you’ll learn how to:
- Fetch workflow data
- Fetch workflow configuration
- Update an existing workflow
- Delete a workflow
Create an Advanced Workflow
Creation of new advanced workflows is currently only possible via our Chrome Extension or our Workflow Builder in the Kadoa Dashboard. Please refer to the Setup Guide for more information.
Fetch Workflow Data
Use the following endpoint to retrieve details about a specific workflow:
GET /v4/workflows/{workflowId}/data
The response will include the result data and some additional metadata about the workflow run.
Fetch Workflow Configuration
Use the following endpoint to retrieve the configuration of an advanced workflow:
GET /v4/advanced-workflows/{workflowId}
Request Parameters
- workflowId (string, required): The ID of the workflow to fetch.
- Authorization (header, required): API key for authorization.
Example Request
Response
The response will include the workflow configuration.
Update Workflow Configuration
To update the steps in an existing workflow, use the following endpoint:
PUT /v4/advanced-workflows/{workflowId}/steps
Request Parameters
- workflowId (string, required): The ID of the workflow to update.
- Authorization (header, required): API key for authorization.
- steps (array body, required): An array containing the all steps.
This endpoint requires the complete array of workflow steps. Partial updates are not supported yet - you must include all existing steps even if you’re only modifying one.
Example Request
You can now test the updated workflow by using the /run endpoint and fetch the result data.
Response
The response will indicate whether the steps were successfully updated, along with the new version of the workflow.
Create Workflow
To create a new workflow, it’s highly recommended to use the workflow editor on the dashboard.
Delete Workflow
To delete a workflow, use the following endpoint:
DELETE /v4/workflows/{workflowId}