Workflows
Trigger and manage automated outreach sequences.
Tools (5)
Section titled “Tools (5)”list_workflows
Section titled “list_workflows”Full name: campaignstack_list_workflows
List all workflows for a campaign. Returns workflow IDs, names, status, enabled flag, and node count. Use the returned workflowId values with campaignstack_get_workflow to inspect workflow details, or campaignstack_trigger_workflow to execute a workflow.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
campaignId | string | Yes | — | (min length: 1) |
get_workflow
Section titled “get_workflow”Full name: campaignstack_get_workflow
Get a workflow by ID with all nodes (type, label, config, position, execution target) and edges. If the workflow is not found, use campaignstack_list_workflows to find valid workflow IDs.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
workflowId | string | Yes | — | (min length: 1) |
update_workflow_status
Section titled “update_workflow_status”Full name: campaignstack_update_workflow_status
Enable or disable a workflow. When enabled, the workflow will process leads according to its node configuration. Use campaignstack_get_workflow to inspect the current node configuration first.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
workflowId | string | Yes | — | (min length: 1) |
enabled | boolean | Yes | — |
trigger_workflow
Section titled “trigger_workflow”Full name: campaignstack_trigger_workflow
Trigger workflow execution for specific leads or all leads in the workflow’s lead list. Leads are set to ‘waiting’ status at the workflow entry node and will be processed by the workflow executor. Use campaignstack_list_workflows to find workflow IDs, and campaignstack_get_lead_list to see available leads.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
workflowId | string | Yes | — | (min length: 1) |
leadIds | string[] | No | — |
auto_generate_workflow
Section titled “auto_generate_workflow”Full name: campaignstack_auto_generate_workflow
Auto-generate a workflow from an expanded campaign. Creates a complete outreach workflow with AI-generated nodes (connection request, follow-up messages, wait steps) based on the campaign’s ICP, personas, and roadmap phases. Returns the new workflow ID and node count. The campaign must already be expanded (have ICP, personas, and phases created). Use campaignstack_get_campaign to verify campaign state first, and campaignstack_get_workflow to inspect the generated workflow.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
campaignId | string | Yes | — | (min length: 1) |
workspaceId | string | Yes | — | (min length: 1) |