Integration

Lightfunnels integration

Lightfunnels is a sales funnel and online store builder. With this API an agent can list and read orders, update or cancel them (with an optional refund and customer notification), manage products (create, update, delete), customers (create, update), discount codes, and register webhooks, and read funnels, stores, product collections, reviews and customer segments. Funnel, store, collection, review and segment editing, order fulfillment, price bundles, shipping rate groups, analytics, payment settings, pixels and conversion integrations, app charges and image import are not exposed. The API is GraphQL. Authentication is OAuth 2.0 through your own Lightfunnels app (a Partners account, its client ID and secret); access tokens last 2 hours and are refreshed automatically.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Lightfunnels.Built from the 30 Lightfunnels tools below, on the connection you add once.

What you can do with Lightfunnels

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Discount, 5 operations

  • create_discountCreate discountPOSTCreates a discount code customers can use at checkout (fixed or percentage, usage limits, dates, products). Returns the new discount.
  • delete_discountsDelete discountsPOSTPermanently deletes one or more discount codes by id. Returns the ids deleted.
  • get_discountGet discountPOSTReturns one discount code: type, value, active flag, usage and limits, products and dates.
  • list_discountsList discountsPOSTLists discount codes, 25 per page by default, filtered and sorted by a query string. Returns code, type, value, active flag, usage limits and dates.
  • update_discountUpdate discountPOSTUpdates a discount code (value, type, active flag, limits, dates, products). Returns the updated discount.

Product, 5 operations

  • create_productCreate productPOSTCreates a product in the account (title, prices, options, variants, description, SKU, images, tags). Returns its id, slug, prices and variants.
  • delete_productsDelete productsPOSTPermanently deletes one or more products by id. Returns the ids deleted.
  • get_productGet productPOSTReturns one product: title, description, prices, SKU, type, stock, options, variants, tags, images, review score and collections.
  • list_productsList productsPOSTLists products, 25 per page by default, filtered and sorted by a query string. Returns title, slug, price, SKU, type, stock, thumbnail and tags.
  • update_productUpdate productPOSTUpdates a product with the fields sent in node (title, prices, description, SKU, stock, options, variants, images, tags); every InputUpdateProduct field is optional. Returns the updated product.

Customer, 4 operations

  • create_customerCreate customerPOSTCreates a customer (contact) from name, email, phone, marketing consent, tags and optional addresses. Returns the new customer.
  • get_customerGet customerPOSTReturns one customer: name, email, phone, location, notes, marketing consent, orders count, total spent, tags and addresses. Personal data.
  • list_customersList customersPOSTLists customers (contacts), 25 per page by default, filtered and sorted by a query string. Returns name, email, phone, location, orders count, total spent and tags. Personal data.
  • update_customerUpdate customerPOSTUpdates a customer with the fields sent in node (name, email, phone, notes, tags, marketing consent, addresses, custom fields); every InputUpdateCustomer field is optional. Returns the customer.

Order, 4 operations

  • cancel_orderCancel orderPOSTCancels an order with a reason. refund=true also refunds the order and notifyCustomer=true notifies the customer: both act on real money and people. Returns the cancelled order.
  • get_orderGet orderPOSTReturns one order: number, contact details, totals, discounts, refunds, financial and fulfillment status, tags, notes, customer, addresses and items with tracking.
  • list_ordersList ordersPOSTLists orders, 25 per page by default, filtered and sorted by a query string (status, financial_status, fulfillment_status, created_at, product_id). Returns number, total, statuses and customer.
  • update_orderUpdate orderPOSTUpdates an order with the fields sent in node (email, phone, notes, tags, addresses, custom fields, archived). Every InputOrder field is optional. Returns the updated order.

Webhook, 3 operations

  • create_webhookCreate webhookPOSTRegisters a webhook: Lightfunnels sends the event (for example order/confirmed) to your URL. Verify deliveries with the lightfunnels-hmac header and your app client secret.
  • delete_webhookDelete webhookPOSTDeletes a webhook registered by your app; Lightfunnels stops calling its URL.
  • list_webhooksList webhooksPOSTLists the webhooks your Lightfunnels app registered on the account: event type, target URL, version and settings.

Collection, 2 operations

  • get_collectionGet collectionPOSTReturns one product collection: name, slug, description, type (specific products or tags), product count, product ids and tag ids.
  • list_collectionsList collectionsPOSTLists product collections, 25 per page by default, filtered and sorted by a query string. Returns name, slug, type, product count and product ids.

Funnel, 2 operations

  • get_funnelGet funnelPOSTReturns one funnel: name, slug, published flag, currency and dates.
  • list_funnelsList funnelsPOSTLists funnels, 25 per page by default, filtered and sorted by a query string (for example published:true or product_id:"123"). Returns name, slug, published flag and currency.

Review, 2 operations

  • get_reviewGet reviewPOSTReturns one product review: reviewer name and email, rating, text, published flag, product and dates.
  • list_reviewsList reviewsPOSTLists product reviews, 25 per page by default, filtered and sorted by a query string. Returns reviewer name and email, rating, text, published flag and product.

Segment, 2 operations

  • get_segmentGet segmentPOSTReturns one customer segment: name, description and the number of matching contacts.
  • list_segmentsList segmentsPOSTLists customer segments, 25 per page by default, filtered and sorted by a query string. Returns name, description and the number of matching contacts.

Store, 1 operation

  • list_storesList storesPOSTLists every store of the account: name, slug, contact email, currency, published flag and default domain.

Use Lightfunnels from Claude Code, Cursor or Codex

Connect Lightfunnels in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Lightfunnels operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Lightfunnels

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Lightfunnels once

    Add your Lightfunnels connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Lightfunnels integration FAQ

What can you do with the Lightfunnels integration?

LiveContext exposes 30 operations on Lightfunnels, covering discount, product, customer and order.

Popular integrations

Browse the whole catalog