# ClickFunnels Skills Index

This index on `accounts.myclickfunnels.com` links guides for managing ClickFunnels workspaces programmatically. Public workspace sites also publish their own agent skills for helping buyers discover products and reach checkout.

## Choose the domain for your task

The same `/llms.txt` and `/skill.md` paths serve different documents depending on the host:

| Host | `/llms.txt` | `/skill.md` |
| --- | --- | --- |
| `accounts.myclickfunnels.com` | ClickFunnels platform overview and integration map | This index of workspace management guides |
| `<workspace>.myclickfunnels.com` | Products, prices and checkout links for the workspace's public site | That site's purchase instructions |
| A customer's connected custom domain | Products, prices and checkout links for the site served on that domain | That site's purchase instructions |

If you are helping a site owner manage their workspace, continue with the guides below using their authorized API or MCP connection. If you are helping a buyer shop, use the merchant's actual site domain and follow the purchase flow below.

## Helping a buyer on a workspace or custom domain

1. Read `https://<site domain>/llms.txt` and `https://<site domain>/skill.md` (also available at `/.well-known/skill.md`) for the site's offers and purchase instructions. These describe the site served on that domain, not all inventory in its workspace.
2. For structured data, read `https://<site domain>/.well-known/agent.json`. Use its product IDs, prices and `checkout_url` values, including the canonical site domain it returns.
3. Show the buyer the product's listed price and billing terms. Open its checkout URL in the buyer's browser; optionally append `&ref=agent:<your name>` for agent attribution.
4. `GET /agent/checkout?product=<id>` returns a `302` to an order page with the product selected, or its store product page. The buyer chooses any options, enters contact and payment details, and confirms in the site's normal checkout. Requesting the agent endpoint does not create an order or charge the buyer.

These public endpoints need no ClickFunnels API token or OAuth login. Never send seller API tokens or OAuth credentials with these requests. Sites that do not offer this interface, including those with Agent access disabled, return `404` on these paths.

For site owners, see [Selling through AI agents](/.well-known/products/skill.md#selling-through-ai-agents) for catalog eligibility and [Orders placed through an AI agent](/.well-known/orders/skill.md#orders-placed-through-an-ai-agent) for attribution.

## 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.
- On ClickFunnels-owned API hosts (`myclickfunnels.com` and its subdomains), 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. Requests sent through a customer's custom domain keep the Bearer challenge but omit those discovery pointers.
- 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, save live content, manage page markup, and control per-page search and AI crawler access. A returned page URL does not confirm public delivery.

- [Pages Skill](/.well-known/pages/skill.md)
- [Saving live page content](/.well-known/pages/skill.md#saving-live-page-content)
- [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)

### Media

Upload images, import hosted videos in the background, poll until ready, and attach
video or image IDs to lessons. Create downloads from hosted files, or discover existing
ones, for product delivery.

- [Media Skill](/.well-known/media/skill.md)
- [API Reference - Import Video](https://developers.myclickfunnels.com/reference/createvideos.md)
- [API Reference - Get Video](https://developers.myclickfunnels.com/reference/getvideos.md)
- [API Reference - List Images](https://developers.myclickfunnels.com/reference/listimages.md)
- [API Reference - List Downloads](https://developers.myclickfunnels.com/reference/listdownloads.md)
- [API Reference - Create Download](https://developers.myclickfunnels.com/reference/createdownloads.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)
- [Named contact audiences (Segments)](/.well-known/contacts/skill.md#segments)
- [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)
- [Topic preferences and subscription history](/.well-known/contacts/skill.md#topic-preferences-and-subscription-history)
- [Contact activity and notes](/.well-known/contacts/skill.md#contact-activity-and-notes)
- [Contact shipping and billing addresses](/.well-known/contacts/skill.md#shipping-and-billing-postal-addresses)
- [Where contact addresses are used](/.well-known/contacts/skill.md#where-addresses-are-used)
- [API Reference - List Contact Events](https://developers.myclickfunnels.com/reference/listcontactsevents.md)
- [API Reference - Create Activity Note](https://developers.myclickfunnels.com/reference/createcontactseventsnotes.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/createworkspacerefinefilter.md)
- [API Reference - List Filters](https://developers.myclickfunnels.com/reference/listworkspacerefinefilters.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)

### 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. Also which products a published site offers AI agents to buy, through its own `/llms.txt`, `/skill.md`, `/.well-known/agent.json` and `/agent/checkout` link.

- [Products & Discounts Skill](/.well-known/products/skill.md)
- [Selling through AI agents](/.well-known/products/skill.md#selling-through-ai-agents)
- [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. Also how to tell an order an AI agent sent through a site's checkout link.

- [Orders Skill](/.well-known/orders/skill.md)
- [Orders placed through an AI agent](/.well-known/orders/skill.md#orders-placed-through-an-ai-agent)
- [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

Update funnel settings and build workflows programmatically - paths, favicons, domains, tags, code, split tests, conditional splits, branch positioning, multi-page branches. Archive, restore, or remove funnels, or duplicate an existing funnel in the same workspace with a pollable action receipt. Funnel `live_mode` selects payment mode, not page visibility.

- [Funnels Skill](/.well-known/funnels/skill.md)
- [API Reference - Update Funnel](https://developers.myclickfunnels.com/reference/updatefunnels.md)
- [Payment mode and page content](/.well-known/funnels/skill.md#payment-mode-and-page-content)
- [API Reference - Archive Funnel](https://developers.myclickfunnels.com/reference/archivefunnels.md)
- [API Reference - Restore Funnel](https://developers.myclickfunnels.com/reference/unarchivefunnels.md)
- [API Reference - Delete Empty Funnel](https://developers.myclickfunnels.com/reference/destroyfunnels.md)
- [API Reference - Duplicate Funnel](https://developers.myclickfunnels.com/reference/createfunnelscloneactions.md)
- [API Reference - List Clone Actions](https://developers.myclickfunnels.com/reference/listfunnelscloneactions.md)
- [API Reference - Fetch Clone Action](https://developers.myclickfunnels.com/reference/getfunnelscloneactions.md)

### Short Links

Create and maintain branded campaign links, check path availability, and read tracked click counts for a time window. Includes domain selection, exact-path conflicts, and the generic MCP `short_link` resource.

- [Short Links in the Funnels Skill](/.well-known/funnels/skill.md#branded-short-links)

### Forms and surveys

Discover every current survey question, export complete stored responses, correct supported Form labels and saved answers, and receive each completed response by webhook.

- [Forms and Surveys Skill](/.well-known/forms/skill.md)
- [API Reference - List Surveys](https://developers.myclickfunnels.com/reference/listsurveyworkflows.md)
- [API Reference - Full Survey Responses](https://developers.myclickfunnels.com/reference/listsurveyworkflowsruns.md)
- [Forms and surveys guide](https://developers.myclickfunnels.com/docs/forms)

### 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. List the runs currently at a step with compact contact details, including paused runs and repeated participation; MCP exposes these through workflow_run list/fetch. 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)
- [Workflows Skill - Current step contacts](/.well-known/workflows/skill.md#who-is-at-a-step-now)
- [Workflows Skill - Step Stats](/.well-known/workflows/skill.md#step-stats)

### Emails

Configure the workspace business mailing address and manage marketing email programmatically - email templates (create, update, delete from `html_body`/`text_body`), broadcasts, editable resend drafts for unopened recipients, 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)
- [Emails Skill - Broadcast Test Sends](/.well-known/emails/skill.md#test-a-broadcast-before-sending)
- [API Reference - Send Test Email Broadcast](https://developers.myclickfunnels.com/reference/sendtestemailsbroadcast.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, orders and form submissions). 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)
- [Workflows Skill - Step Stats](/.well-known/workflows/skill.md#step-stats)
- [API Reference - Workspace Stats](https://developers.myclickfunnels.com/reference/getworkspacestats.md)

## 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
