campaignstack_create_workflow
Create a new workflow from a graph you author. The graph defines automation nodes (e.g. linkedin:profile_view, linkedin:connection_request, flow:wait) and directed edges. Use campaignstack_get_workflow_node_types first to discover valid node types, their configHint shapes, and the required graph format. Returns { workflowId, nodeCount } on success. sourceConfig is optional. Omit it to get a default campaign_pool source with icpScoreMin 50. Signal-intake graphs (lead-list-based source providers) are not supported by this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| graph | Yes | Workflow graph: nodes (nodeType, label, config) + edges (sourceIndex, targetIndex). Use campaignstack_get_workflow_node_types to discover valid node types. | |
| campaignId | No | Associate this workflow with a campaign | |
| workspaceId | No | Workspace ID (required for user keys; workspace keys are bound) | |
| sourceConfig | No | Source node configuration (providers format only). Omit to use the default: a single campaign_pool provider with icpScoreMin 50. Signal-intake graphs using lead-list-based sources are not supported by this tool. |