> ## Documentation Index
> Fetch the complete documentation index at: https://docs.teamfollowup.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Use the public API base URL: https://api.teamfollowup.ai/api.
> Authenticate public API requests with Authorization: Bearer YOUR_API_KEY.
> Use product-owned terms: agents, campaigns, projects (GoHighLevel sub-accounts), contacts, calls, outcomes, skills, cadences, phone numbers.
> Scope requests by locationId rather than projectName.
> Read the guide linked from each API reference group before recommending an endpoint.

# Campaign Workflows API

> The graph that runs after every call: one branch per outcome, nodes that tag, move, note, message and book. Versioned, so a live campaign is never half-saved.

A workflow maps each outcome to the CRM actions that follow. Concepts, node
types, conditions and advisories are in
[Campaign workflows](/campaign-workflows/overview).

| Endpoint                                                                                                 | Use it to                                                                                  |
| -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| [Get the campaign workflow](/api-reference/campaign-workflows/get-the-campaign-workflow)                 | Read `nodes`, `edges`, `dispositionEntries`, `campaignConfig`, `advisories` and `version`. |
| [Get a per-outcome workflow digest](/api-reference/campaign-workflows/get-a-per-outcome-workflow-digest) | One line per outcome, for review.                                                          |
| [Add actions to an outcome](/api-reference/campaign-workflows/add-actions-to-an-outcome)                 | Append nodes to one branch atomically. Accepts `Idempotency-Key`.                          |
| [Remove a workflow node](/api-reference/campaign-workflows/remove-a-workflow-node)                       | Delete one node and its edges.                                                             |
| [Replace the entire workflow](/api-reference/campaign-workflows/replace-the-entire-workflow)             | Swap the whole graph. Dropping nodes needs `allowRemovals`.                                |
| [Update settings or node contents](/api-reference/campaign-workflows/update-settings-or-node-contents)   | Merge settings and existing node contents. Never creates nodes.                            |

Every write takes `expectedVersion`. See [Conventions](/conventions#concurrency-tokens).

Scopes: `campaign_workflows:read`, `campaign_workflows:write`. See
[Authentication](/authentication#scopes).

## Guides

* [Campaign workflows](/campaign-workflows/overview)
* [What your agent records](/agents/outcomes) for the outcome constants.
* [GoHighLevel resources](/ghl/overview) for the ids nodes need.
* [Glossary](/glossary#campaign-workflows)
