# ClickFunnels Skills Index

Skills are structured references that AI agents can use to interact with the ClickFunnels platform programmatically.

## When to use this

Use ClickFunnels when the job is to sell something online end to end: publish the page, take the payment, deliver the product, and follow up, all against one contact database. Concretely, reach for these skills to build funnels and pages, publish blog posts and courses, create products, prices and discounts, run marketing automations and email, register a page you host yourself, act on existing orders and subscriptions, or read funnel and page performance.

Do not reach for ClickFunnels to host an arbitrary web application, to run a large outbound sales CRM or a helpdesk, or to send transactional application email. If you need your own frontend, host it yourself and register it as an external SDK page so tracking, opt-ins, and checkout still work.

Read [/llms.txt](/llms.txt) for the full "when to use" breakdown, the platform map, and how to get credentials.

## How to call ClickFunnels

Start with [Which ClickFunnels integration should I use?](https://support.myclickfunnels.com/docs/which-clickfunnels-integration-should-i-use) to choose between MCP, REST, the Page SDK and webhooks for your job.

1. Prefer the MCP server at `https://agents.myclickfunnels.com/mcp` (Streamable HTTP, OAuth 2.1 with PKCE) if your client supports MCP. It uses progressive discovery: list the categories, describe one, then act.
2. Otherwise use the REST API (v2) against the published OpenAPI specification. Every operation has a unique operationId, typed schemas, and a description, so it converts directly into function/tool definitions.
3. Read the skill below that matches your job BEFORE the first write. Page and blog bodies are authored in PML, and writing `markup` replaces the whole page.
4. Ask for least privilege: scopes are per category (`contacts:read`, `store:write`, ...), with `read`/`write` wildcards only when you genuinely need the whole workspace.

## Machine-readable discovery

Everything on this page is also published as data, so you do not have to parse prose:

- [OpenAPI specification](/openapi.json): the catalogue of every operation the REST API exposes. Start here if you only have one URL. Also at `/openapi.yaml`, `/api/openapi.{json,yaml}`, and `/api/v2/openapi.{json,yaml}`.
- [Agent Skills index](/.well-known/agent-skills/index.json): the guides below as a typed list with a content digest per guide, per Agent Skills Discovery 0.2.0.
- [Protected resource metadata](https://accounts.myclickfunnels.com/.well-known/oauth-protected-resource) (RFC 9728) and [authorization server metadata](https://accounts.myclickfunnels.com/.well-known/oauth-authorization-server) (RFC 8414): the scope vocabulary and the OAuth endpoints.
- Every API response to an unauthenticated or under-scoped request carries a `WWW-Authenticate` challenge naming the metadata document and the scope you were missing, plus an RFC 8288 `Link` header back to the specification and these documents.
- Every API error response is `{"error": "...", "hint": ...}`. `hint` is always present: it names the next step - how to get a token, which scope was missing, where the full route list lives - or is `null` when the error has nothing to add. Read it before retrying.

## Available Skills

### Page Markup (PML)

Reference for the XML-like DSL used to author the `markup` field on any CF2 surface (pages and blog posts). Elements, attributes, design system, examples. Writing `markup` replaces the whole page and PML covers only a subset of what the ClickFunnels editor can build, so read the approval guardrail before touching a page that already exists.

- [Page Markup Skill](/.well-known/page-markup/skill.md)
- [Approval guardrail - overwriting an existing page](/.well-known/page-markup/skill.md#stop-get-approval-before-overwriting-an-existing-page)

### Pages

Create and update CF2 funnel/site pages programmatically, manage page markup, and control per-page search and AI crawler access.

- [Pages Skill](/.well-known/pages/skill.md)
- [API Reference - Create Page](https://developers.myclickfunnels.com/reference/createpage.md)
- [API Reference - Update Page](https://developers.myclickfunnels.com/reference/updatepages.md)

### Blogs

Create, list, and update CF2 blog posts. Post body is authored in PML.

- [Blogs Skill](/.well-known/blogs/skill.md)
- [Import External Blog Posts Skill](/.well-known/blogs/import-external-post/skill.md)
- [API Reference - List Blog Posts](https://developers.myclickfunnels.com/reference/listblogsposts.md)
- [API Reference - Create Blog Post](https://developers.myclickfunnels.com/reference/createblogpost.md)
- [API Reference - Update Blog Post](https://developers.myclickfunnels.com/reference/updateblogpost.md)

### Courses

Create CF2 courses and their content tree - a course, its sections (modules), and lessons whose body is authored in Markdown.

- [Courses Skill](/.well-known/courses/skill.md)

### Contacts

Manage contacts and the CRM surface - create, fetch, update, upsert and redact contacts; create and apply tags; run bulk tag, unsubscribe and export actions; and list contacts with filters, sorting and cursor pagination. Includes step-by-step recipes for importing a list from another platform idempotently, carrying opt-outs and segments across, and for cleaning contacts out of a workspace safely.

- [Contacts Skill](/.well-known/contacts/skill.md)
- [Importing from another platform](/.well-known/contacts/skill.md#recipe---importing-contacts-from-another-platform)
- [Cleaning contacts out of a CRM](/.well-known/contacts/skill.md#recipe---cleaning-contacts-out-of-a-crm)
- [API Reference - Upsert Contact](https://developers.myclickfunnels.com/reference/upsertcontacts.md)
- [API Reference - List Contacts](https://developers.myclickfunnels.com/reference/listcontacts.md)
- [API Reference - Create Tag Action](https://developers.myclickfunnels.com/reference/createcontactstagactions.md)

### Opportunities

Track deals, applications, and any staged process against contacts - pipelines with ordered stages, opportunities that move through them, and a note timeline per opportunity. Includes the decision guide for when a pipeline beats plain contact tags.

- [Opportunities Skill](/.well-known/opportunities/skill.md)
- [When to use a pipeline versus the contact itself](/.well-known/opportunities/skill.md#when-to-use-a-pipeline-versus-the-contact-itself)
- [API Reference - Create Pipeline](https://developers.myclickfunnels.com/reference/createsalespipelines.md)
- [API Reference - Create Opportunity](https://developers.myclickfunnels.com/reference/createsalesopportunities.md)

### Refine Filters

Define reusable contact filters, apply existing order-filter tokens when listing orders, and read a filter's matching records projected to just the fields you need - without paging the whole set. For counts, breakdowns and totals over a filtered set rather than the records themselves, see the Stats skill.

- [Refine Filters Skill](/.well-known/refine-filters/skill.md)
- [API Reference - Create Filter](https://developers.myclickfunnels.com/reference/createrefinefilter.md)
- [API Reference - List Filters](https://developers.myclickfunnels.com/reference/listrefinefilters.md)
- [API Reference - Generate Filter](https://developers.myclickfunnels.com/reference/generatecontactfilter.md)
- [API Reference - Stats for a Filtered Set](https://developers.myclickfunnels.com/reference/getworkspacestats.md) (Closed Beta - request access at https://developers.myclickfunnels.com/page/code-support)

### Products & Discounts

Create and manage sellable products, their prices, and discounts - the implicit default variant, one-time / subscription / payment-plan prices, compare-at pricing, safe repricing once orders exist, discount codes (percentage or fixed amount, workspace-wide or scoped), and attaching products to funnel pages.

- [Products & Discounts Skill](/.well-known/products/skill.md)
- [API Reference - Create Product](https://developers.myclickfunnels.com/reference/createproducts.md)
- [API Reference - Create Price](https://developers.myclickfunnels.com/reference/createproductsprices.md)
- [API Reference - Update Price](https://developers.myclickfunnels.com/reference/updateproductsprices.md)
- [API Reference - Create Discount](https://developers.myclickfunnels.com/reference/creatediscounts.md)

### External Purchases

Turn ClickBank, CopeCart or Whop purchases into ClickFunnels orders - create incoming endpoints, map external plan or SKU ids to ClickFunnels prices, and diagnose the recorded events.

- [External Purchases Skill](/.well-known/external-purchases/skill.md)
- [API Reference - Create External Purchase Endpoint](https://developers.myclickfunnels.com/reference/createwebhooksincomingexternalpurchaseendpoints.md)
- [API Reference - Create Product Mapping](https://developers.myclickfunnels.com/reference/createwebhooksincomingexternalpurchaseproductmappings.md)
- [API Reference - List External Purchase Events](https://developers.myclickfunnels.com/reference/listwebhooksincomingexternalpurchaseevents.md)

### Subscription Changes

Discover, preview, and commit variant/price changes on existing subscription line items.

- [Subscription Changes Skill](/.well-known/subscription-changes/skill.md)
- [API Reference - List Change Options](https://developers.myclickfunnels.com/reference/listproductspriceschangeoptions.md)
- [API Reference - Preview Change](https://developers.myclickfunnels.com/reference/previewordersLineitemschange.md)
- [API Reference - Commit Change](https://developers.myclickfunnels.com/reference/performordersLineitemschange.md)

### Orders

Manage an existing order's schedule and lifecycle - move a subscription trial end or Payments AI renewal date, cancel a Payments AI or Stripe subscription, refund a charge in full, and abandon an unpaid invoice to stop its automatic payment retries.

- [Orders Skill](/.well-known/orders/skill.md)
- [API Reference - Update Order](https://developers.myclickfunnels.com/reference/updateorders.md)
- [API Reference - Cancel Order](https://developers.myclickfunnels.com/reference/cancelorder.md)
- [API Reference - Refund Transaction](https://developers.myclickfunnels.com/reference/refundorderstransactions.md)
- [API Reference - Abandon Invoice](https://developers.myclickfunnels.com/reference/abandonordersinvoices.md)

### Funnels

Build and modify funnel workflows programmatically - split tests, conditional splits, branch positioning, multi-page branches.

- [Funnels Skill](/.well-known/funnels/skill.md)

### Workflows

Build marketing-automation workflows programmatically - triggers, ordered action steps (send email, tag, set attribute, create opportunity, grant course/community access, webhook, delay), conditional and A/B split branching, enabling, and manually enrolling contacts. Read a step's stats - contacts at it now and contacts who left it, plus email engagement and attributed revenue for a send-email step.

- [Workflows Skill](/.well-known/workflows/skill.md)
- [API Reference - Workflow Step Stats](https://developers.myclickfunnels.com/reference/getworkflowstepstats.md) (Closed Beta - request access at https://developers.myclickfunnels.com/page/code-support)

### Emails

Configure the workspace business mailing address and manage marketing email programmatically - email templates (create, update, delete from `html_body`/`text_body`), broadcasts, sending domains (provision and verify DKIM/SPF/DMARC), the sending addresses on them, and the inline-HTML body shortcut on a workflow send-email step.

- [Emails Skill](/.well-known/emails/skill.md)
- [API Reference - Create Email Template](https://developers.myclickfunnels.com/reference/createemailstemplate.md)
- [API Reference - Create Email Broadcast](https://developers.myclickfunnels.com/reference/createemailsbroadcast.md)

### SDK - External Pages

Add the ClickFunnels SDK to a page you host yourself (own domain, static host, Netlify/Vercel, or `file://`) so it tracks visits, captures opt-ins, and carries contact identity across funnel steps - using the `cf-page-token` meta tag, the `sdk.js` script, and `data-cf-element` form markup. The page is registered with ClickFunnels as an external page - placed in a funnel as a step, or standalone (registered for tracking, placed later, e.g. into a split branch). Checkout turns such a page into an order form: products, order bumps, one-click one-time offers, and gateway payment UI.

- [Create an External Page Skill](/.well-known/sdk/create-external-page/skill.md)
- [Migrate an External Page Domain Skill](/.well-known/sdk/migrate-external-page-domain/skill.md)
- [Add Checkout to an External Page Skill](/.well-known/sdk/add-checkout/skill.md)
- [API Reference - Funnel Structure](https://developers.myclickfunnels.com/reference/getfunnelstructure.md)
- [API Reference - Update Page](https://developers.myclickfunnels.com/reference/updatepages.md)

### Stats

Read aggregated analytics of three kinds - performance metrics for a funnel or page (views, opt-ins, sales, earnings over a timerange), email engagement for a broadcast or a workflow send-email step (opens, clicks, bounces, unsubscribes, attributed revenue), and record stats over a filtered set (counts, breakdowns by a property, date ranges, numeric totals for contacts and orders). Designed for recurring audit agents, and for answering "how many match this" without paging a collection.

- [Stats Skill](/.well-known/stats/skill.md)
- [API Reference - Funnel Stats](https://developers.myclickfunnels.com/reference/getfunnelstats.md)
- [API Reference - Page Stats](https://developers.myclickfunnels.com/reference/getpagestats.md)
- [API Reference - Broadcast Stats](https://developers.myclickfunnels.com/reference/getemailsbroadcaststats.md)
- [API Reference - Workflow Step Stats](https://developers.myclickfunnels.com/reference/getworkflowstepstats.md) (Closed Beta - request access at https://developers.myclickfunnels.com/page/code-support)
- [API Reference - Workspace Stats](https://developers.myclickfunnels.com/reference/getworkspacestats.md) (Closed Beta - request access at https://developers.myclickfunnels.com/page/code-support)

## Resources

- [ClickFunnels Product Overview](/llms.txt): What the platform is, when to use it, how to get credentials
- [OpenAPI Specification (YAML)](/api/v2/openapi.yaml): OpenAPI 3.1 contract for the REST API. Also at /openapi.yaml
- [OpenAPI Specification (JSON)](/openapi.json): The same contract as JSON. Also at /api/v2/openapi.json
- [API Protected Resource Metadata](https://accounts.myclickfunnels.com/.well-known/oauth-protected-resource): RFC 9728 document listing every grantable scope
- [OAuth Authorization Server Metadata](https://accounts.myclickfunnels.com/.well-known/oauth-authorization-server): RFC 8414 document: authorize, token, register, revoke
- [MCP Server](https://agents.myclickfunnels.com/mcp): App-native MCP server over Streamable HTTP
- [Sitemap](/sitemap.xml): Every public URL on this host, including each skill guide
- [Developer Hub](https://developers.myclickfunnels.com): Full API documentation, guides, and reference
- [Support Center](https://support.myclickfunnels.com): Help docs, guides, and tutorials
- [About ClickFunnels](/about): Redirects to https://www.clickfunnels.com/, which holds the company information
- [Contact ClickFunnels](/contact): Redirects to the support article on how to reach ClickFunnels customer support
