Skip to content

docs(mcp): Add workflow tool examples to MCP use cases#17154

Open
inkeep[bot] wants to merge 1 commit into
masterfrom
docs-writer-ai-update-2026-06-01T10-18-08-419Z-w0z1a1
Open

docs(mcp): Add workflow tool examples to MCP use cases#17154
inkeep[bot] wants to merge 1 commit into
masterfrom
docs-writer-ai-update-2026-06-01T10-18-08-419Z-w0z1a1

Conversation

@inkeep

@inkeep inkeep Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Changes

Adds documentation examples for the new Workflows MCP tools introduced in PostHog/posthog#60388.

What's new

Added three <PromptExample> components to the "Build CDP destinations and workflows" section in the MCP use cases page, demonstrating the key workflow lifecycle:

  1. Create a workflow – Shows how to create a draft workflow with trigger and action configuration
  2. Test-run a workflow – Shows how to invoke a workflow with mock async functions and view the execution trace
  3. Enable a workflow – Shows how to activate a workflow after confirmation

These examples follow the intended workflow lifecycle enforced by the MCP guardrails: create as draft → test-run → enable.

New MCP tools documented

  • workflows-create - Create a new workflow (as draft)
  • workflows-update - Update an existing workflow
  • workflows-run - Test-invoke a saved workflow
  • workflows-enable - Enable a workflow
  • workflows-disable - Disable a workflow
  • workflows-archive - Archive a workflow

Note: The tools reference page (/docs/model-context-protocol/tools) uses the <MCPTools /> component which dynamically renders tools from the MCP schema, so the new workflow tools should appear there automatically once deployed.


This PR was created by the Inkeep Content Writer agent, which is maintained by the Docs and Wizard team. Please reach out on Slack for help if needed.

@inkeep inkeep Bot requested a review from mayteio June 1, 2026 10:19
@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Deploy preview

Status Details Updated (UTC)
🟢 Ready View preview Jun 01, 2026 10:29AM

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Vale prose linter → found 0 errors, 13 warnings, 0 suggestions in your markdown

Full report → Copy the linter results into an LLM to batch-fix issues.

Linter being weird? Update the rules!

contents/docs/model-context-protocol/use-cases.mdx — 0 errors, 13 warnings, 0 suggestions
Line Severity Message Rule
16:92 warning Capitalize 'Error Tracking' for PostHog's product. Use 'error tracking' for the general industry concept. PostHogBase.ProductNames
16:158 warning Capitalize 'Logs' for PostHog's product. Use 'logs' for the general industry concept. PostHogBase.ProductNames
35:5 warning 'Explore product analytics' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
35:13 warning Capitalize 'Product Analytics' for PostHog's product. Use 'product analytics' for the general industry concept. PostHogBase.ProductNames
52:12 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
52:30 warning Capitalize 'Experiments' for PostHog's product. Use 'experiments' for the general industry concept. PostHogBase.ProductNames
54:49 warning Capitalize 'Experiments' for PostHog's product. Use 'experiments' for the general industry concept. PostHogBase.ProductNames
54:97 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
54:161 warning Capitalize 'Experiments' for PostHog's product. Use 'experiments' for the general industry concept. PostHogBase.ProductNames
73:5 warning 'Run SQL and HogQL queries' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
90:32 warning Capitalize 'Workflows' for PostHog's product. Use 'workflows' for the general industry concept. PostHogBase.ProductNames
142:109 warning Capitalize 'Workflows' for PostHog's product. Use 'workflows' for the general industry concept. PostHogBase.ProductNames
169:32 warning Capitalize 'Experimentation' for PostHog's product. Use 'experimentation' for the general industry concept. PostHogBase.ProductNames

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Hey @mayteio! This docs PR was generated for you by an agent. You're responsible for reviewing and merging it into production.

  1. Review and approve the PR
  2. Merge the PR
    a. Check the preview env and CI build and merge it yourself
    b. Enable auto-merge if you're confident in the changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant