Skip to content

Workflow Execution

Monitor workflow progress — node stats, lead positions, activity logs, and retry failed entries.

Full name: campaignstack_get_workflow_stats

workflows:read Read-only Idempotent

Get real-time execution statistics for a workflow. Returns per-node lead counts (waiting, processing, completed, failed), edge traversal counts, and paused action types. Use campaignstack_get_workflow to get the workflow structure first.

NameTypeRequiredDefaultDescription
workflowIdstringYes(min length: 1)

Full name: campaignstack_list_leads_at_node

workflows:read Read-only Idempotent

List leads currently at a specific workflow node. Returns up to 100 leads with their name, headline, company, status, and timestamps. Use campaignstack_get_workflow_stats to identify nodes of interest.

NameTypeRequiredDefaultDescription
nodeIdstringYes(min length: 1)

Full name: campaignstack_get_node_activity

workflows:read Read-only Idempotent

Get recent activity for a specific workflow node. Returns entries sorted by most recent, with per-status counts. Useful for monitoring execution progress and identifying failures.

NameTypeRequiredDefaultDescription
nodeIdstringYes(min length: 1)
limitintegerNo50(min: 1, max: 100)

Full name: campaignstack_retry_failed_entry

workflows:write Idempotent

Retry a failed workflow entry. Resets the entry from FAILED to WAITING so the workflow executor picks it up on the next tick. Use campaignstack_list_leads_at_node to find failed entries.

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