Skip to content
ClickFunnels logo

Connectors / Marketing · HTTP Connector

Automate ClickFunnels with Tray.ai

Create a contact, create a tag and create an external order in ClickFunnels, and start a workflow when ClickFunnels sends “Contact created”.

What can you do with ClickFunnels on Tray.ai?

ClickFunnels is a sales funnel builder for online businesses, covering landing pages, checkout and orders, contacts, email follow-up, online courses, and memberships. Tray.ai connects to ClickFunnels through the HTTP Connector, so your workflows can call the ClickFunnels API alongside the rest of your stack.

  • When ClickFunnels sends “Order completed”, create the matching invoice in your accounting system.
  • When ClickFunnels sends “Form submission created”, add the lead to your CRM for follow-up.
  • Apply a tag to a contact when they attend a webinar recorded in your events tool.
  • When ClickFunnels sends “Course completed”, send a certificate email and update the customer's CRM record.
Connects through
HTTP Connector
Authentication
A bearer token or OAuth 2.0
Base URL
https://{subdomain}.myclickfunnels.com/api/v2

Set it up

Connect ClickFunnels to Tray.ai

Each step uses ClickFunnels's own API details, from its documentation.

Step 1

Save ClickFunnels's API token

Save the token ClickFunnels issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.

Step 2

Point the HTTP Client at the API

Add an HTTP Client step and use https://{subdomain}.myclickfunnels.com/api/v2 as the base URL. Or paste a cURL example from ClickFunnels's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “List contacts”

It's one of 23 documented actions, under Contacts. The response comes back as data the next step can map into your other apps.

Step 4

Start workflows from ClickFunnels events

Give ClickFunnels the URL of a Tray.ai webhook trigger. “Contact created” can then start a workflow, and so can 9 other events.

Workflows to build with ClickFunnels

Each one uses actions and events from ClickFunnels's own API documentation.

Send completed ClickFunnels orders to QuickBooks

When

Order completed

Then

  1. Fetch an order
  2. Create a sales receipt in QuickBooks

With QuickBooks

Add ClickFunnels form leads to Salesforce

When

Form submission created

Then

  1. Create a lead in Salesforce
  2. Apply a tag to a contact to mark it as synced

With Salesforce

Enroll Stripe customers in ClickFunnels courses

When

A payment succeeds in Stripe

Then

  1. Upsert a contact
  2. Create an enrollment in the purchased course

With Stripe

Apps you can build on ClickFunnels data

Internal tools your team can build with an AI assistant, each one using ClickFunnels calls from its API documentation.

Funnel performance dashboard

Shows funnel stats alongside recent orders so a marketing team can see which funnels sell.

Contact tagging board

Lists contacts with their tags and lets a marketer apply or remove a tag to change follow-up.

Course enrollment tracker

Lists course enrollments and completions so a course team can see who has finished.

Give your AI agents ClickFunnels tools

Build an MCP server on ClickFunnels in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List contacts
  • List tags
  • List orders
  • List products
  • List funnels
  • List enrollments
  • Create a contact
  • Update a contact

What the ClickFunnels API covers

6 resources and 23 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Contacts

  • List contacts
  • Create a contact
  • Update a contact
  • Upsert a contact
  • Remove a contact

Tags

  • List tags
  • Create a tag
  • Apply a tag to a contact
  • Remove an applied tag

Orders

  • List orders
  • Fetch an order
  • Update an order
  • Create an external order

Products

  • List products
  • Create a product
  • Update a product

Funnels

  • List funnels
  • Create a funnel
  • Update a funnel
  • Fetch funnel stats

Course enrollments

  • List enrollments
  • Create an enrollment
  • Update an enrollment

Events ClickFunnels can send to a Tray.ai webhook trigger

  • Contact created
  • Contact updated
  • Form submission created
  • Order created
  • Order completed
  • Invoice paid
  • Invoice refunded
  • Subscription activated
  • Course enrollment created
  • Course completed

Checked against ClickFunnels's own documentation on 2026-10-22

developers.myclickfunnels.com/docs

Frequently asked questions

What can a Tray.ai workflow do in ClickFunnels?

+

The ClickFunnels API documents 23 actions across 6 resources (Contacts, Tags, Orders, Products, Funnels, Course enrollments). For example: List contacts; List tags; List orders. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with ClickFunnels?

+

The ClickFunnels API uses a bearer token and OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which ClickFunnels events can start a Tray.ai workflow?

+

ClickFunnels sends 10 events to a webhook URL, for example: Contact created; Contact updated; Form submission created; Order created; Order completed; Invoice paid; Invoice refunded; Subscription activated. A Tray.ai webhook trigger receives them and starts a workflow.

See ClickFunnels working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.