Workflows are long-running AI pipelines (3-20 minutes) that research, write, and optimize content. They run asynchronously — you start one, then poll for completion.Documentation Index
Fetch the complete documentation index at: https://docs.clickflow.com/llms.txt
Use this file to discover all available pages before exploring further.
Lifecycle
Starting a workflow
Workflows are started viaplatform.create_roadmap_item with start_drafting: true. This creates a roadmap item and immediately kicks off the drafting workflow.
- MCP
- API
Polling for status
- MCP
- API
Call
workflows.get_status with workflow_id.In Progress
Completed
Failed
Human review
Some workflows pause to let a human review intermediate results before continuing.Detecting a paused workflow
Whenstatus is "Human Review", the response includes a review object:
Review types
| Type | Workflow | What you’re reviewing |
|---|---|---|
implementation_spec_review | Content optimization | Proposed changes to the page |
answer_review | FAQ generation | Generated FAQ question-answer pairs |
keywords_review | Internal linking | Suggested keywords to link |
internal_link_review | Internal linking | Pages and anchor text for links |
Resuming a workflow
- MCP
- API
Call
workflows.resume with the workflow_id and a decision object matching the review type:Decision payloads by review type
implementation_spec_review:
answer_review:
keywords_review:
internal_link_review:
Workflow types
| Workflow | How to start | Duration | Output |
|---|---|---|---|
| Create Post Draft | create_roadmap_item with start_drafting: true | 5-15 min | html, title, meta_description, thumbnail_url |
| Optimize Content | Dashboard only (content decay suggestion) | 10-20 min | html, changes_applied, metadata |
| Generate FAQs | Dashboard only (FAQ suggestion) | 3-8 min | faqs, schema_markup (JSON-LD) |
| Internal Linking | Dashboard only (linking suggestion) | 5-15 min | links_created, pages_modified |
Only Create Post Draft can be started directly via MCP or API. The other 3 workflows are triggered when you approve optimization suggestions in the ClickFlow dashboard. Once running, all workflows can be polled and resumed via MCP/API.
Delivery modes
| Mode | Behavior |
|---|---|
draft (default) | Output saved to workflow result + roadmap item draft. Retrieve via workflows.get_status or platform.get_roadmap_item. |
cms | Automatically publishes to your connected CMS on completion. Requires cms_connection_id. |