Execute Operations
executeWorkflow
Executes a workflow (multiple APIs or Endpoints) in a single call. Returns detailed step-by-step results. Parameters:input: WorkflowInputRequest! - Either a workflow configuration or saved workflow IDpayload: JSON - Input data for the workflow (optional)credentials: JSON - Runtime credentials for integrations (optional)options: RequestOptions - Execution options (optional, see RequestOptions defaults)
WorkflowResult with individual step results and final output
- GraphQL
- Client
buildWorkflow
Builds a workflow automatically based on instructions and available integrations. Uses AI to determine the optimal sequence of API calls and data transformations. Supports both API-based workflows and transform-only workflows for data processing. Parameters:instruction: String! - Natural language description of what the workflow should do (required)payload: JSON - Sample input data to help with workflow generation (optional, supports file upload data)integrationIds: [ID!] - List of integration IDs to use in the workflow (optional - omit for transform-only workflows)responseSchema: JSONSchema - Desired output format (optional, auto-generated if not provided)
Workflow configuration ready for execution
- GraphQL
- Client
generateStepConfig
Generates or refines an API configuration for a single workflow step using AI. Supports creating configurations from scratch, editing existing ones, or fixing failed configurations. Can work with or without an integration context. Use Cases:- Create: Generate a new API config from an instruction (e.g., “Get all active users from the database”)
- Edit: Modify an existing config with new requirements (e.g., “Add pagination”)
- Fix: Automatically repair a failed config when errors occur
integrationId: String - Integration to use for context/documentation (optional)currentStepConfig: JSON - Existing API config to edit or fix (must include aninstructionfield)stepInput: JSON - Sample input data available to the step (optional)credentials: JSON - Available credentials for variable context (optional)errorMessage: String - Error from failed execution (triggers fix mode, min 100 chars)
ApiConfig - The generated or updated API configuration
- GraphQL
- Client
Configuration Management
upsertWorkflow
Creates or updates a workflow configuration.- GraphQL
- Client
deleteWorkflow
Deletes a workflow configuration. Returnstrue if successful.
- GraphQL
- Client
upsertWorkflowSchedule
Creates or updates a workflow schedule for recurring execution. Parameters:schedule: WorkflowScheduleInput! - Schedule configuration (required)
- GraphQL
- Client
deleteWorkflowSchedule
Deletes a workflow schedule. Returnstrue if successful.
- GraphQL
- Client
upsertIntegration
Creates or updates an integration configuration. Integrations represent connections to external APIs or databases. Parameters:input: IntegrationInput! - Integration configuration (required)mode: UpsertMode - CREATE, UPDATE, or UPSERT (default: UPSERT)
- GraphQL
- Client
deleteIntegration
Deletes an integration configuration. Returnstrue if successful.
- GraphQL
- Client