Skip to content

Workflows

Trigger and manage automated outreach sequences.

Full name: campaignstack_list_workflows

workflows:read Read-only Idempotent

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.

NameTypeRequiredDefaultDescription
campaignIdstringYes(min length: 1)

Full name: campaignstack_get_workflow

workflows:read Read-only Idempotent

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.

NameTypeRequiredDefaultDescription
workflowIdstringYes(min length: 1)

Full name: campaignstack_update_workflow_status

workflows:write Idempotent

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.

NameTypeRequiredDefaultDescription
workflowIdstringYes(min length: 1)
enabledbooleanYes

Full name: campaignstack_trigger_workflow

workflows:write

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.

NameTypeRequiredDefaultDescription
workflowIdstringYes(min length: 1)
leadIdsstring[]No

Full name: campaignstack_auto_generate_workflow

workflows:write

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.

NameTypeRequiredDefaultDescription
campaignIdstringYes(min length: 1)
workspaceIdstringYes(min length: 1)