Skip to content
Lemon Squeezy logoLemon Squeezy logo

Lemon Squeezy Integrations

eCommerce

Build Lemon Squeezy automations with your AI agent. Run them on Zapier.

Add Zapier to Claude, ChatGPT, Cursor, or another AI agent, and your agent can build automations across Lemon Squeezy and 10,000+ other apps.
apps to connect
10,000+
ways to start a workflow
14
  • Dependable AI workflows
  • Full audit trails and controls
  • Easy visual workflow manager
  • Free tier available
  • SOC 2 Type II, SOC 3, GDPR, and CCPA compliant

Top teams trust Zapier to automate work

  • Samsung
  • Okta
  • Mastercard
  • Nvidia
  • Airbnb

Use a premade Lemon Squeezy automation template to start building from anywhere: in your go-to agent interface, in code, or in Zapier.

With Zapier MCP installed, your AI agent can build automations across 10,000+ apps and 90,000+ triggers and actions. Automations run reliably on Zapier from an app event, on a schedule (cron), or from a webhook. Here are the Lemon Squeezy triggers and actions your agent can build with right away.

  • License Key Created

    Triggers when a new license key is created.

  • License Key Updated

    Triggers when a license key is updated.

  • Order Created

    Triggers when a new order is created.

  • Order Refunded

    Triggers when an order is refunded.

  • Subscription Cancelled

    Triggers when a subscription is cancelled.

  • Subscription Created

    Triggers when a new subscription is created.

  • Subscription Expired

    Triggers when a subscription is expired.

  • Subscription Paused

    Triggers when a subscription is paused.

Your agent picks the right Lemon Squeezy action from what you ask. Connect Zapier once and it can use 14 Lemon Squeezy tools, each with typed inputs. Zapier handles Lemon Squeezy’s login, so you never paste an API key. The same actions run from TypeScript through the Zapier SDK.

Set up Lemon Squeezy MCP in Claude, Claude Code, ChatGPT, Cursor, and Codex

Zapier MCP works with any MCP client that supports Streamable HTTP. Connect or add Zapier in your AI tool, sign in when prompted, then ask for Lemon Squeezy.

MCP server · Streamable HTTP · OAuth
https://mcp.zapier.com/api/v1/connect
  • Claude

    Connect Zapier in Claude and sign in when prompted. Claude setup guide

  • Claude Code

    Install Zapier MCP in Claude Code, then sign in from the terminal. Claude Code setup guide

  • ChatGPT

    Connect Zapier in ChatGPT and approve the sign-in. ChatGPT setup guide

  • Cursormcp.json

    Add Zapier to Cursor and sign in. Cursor setup guide

  • Codex

    Add Zapier to Codex and sign in. Codex setup guide

  • VS Code and other clientsmcp.json

    Add Zapier to any MCP client that supports Streamable HTTP.

  • OpenCodeopencode.json

    Add Zapier to OpenCode.

  • Terminal auto-installer

    Install Zapier MCP in whichever client you have.

How your agent gets these tools

  1. Connect Zapier to your AI tool (pick yours above) and sign in once in the browser. Zapier sets up your MCP server, with no token to paste.
  2. Ask your agent to connect Lemon Squeezy. It calls discover_zapier_actions to find the Lemon Squeezy actions, then enable_zapier_action to add them.
  3. Approve the Lemon Squeezy sign-in when prompted. If Lemon Squeezy isn’t connected yet, the first call returns a sign-in link.
  4. Ask for what you want done in plain language. Each enabled action becomes its own tool, named as below. Until then, execute_zapier_read_action and execute_zapier_write_action run it.

Use Lemon Squeezy in 36 AI tools with Zapier MCP

14 Lemon Squeezy MCP tools

ToolMCP nameWhat it does
License Key Createdlemon_squeezy_license_key_created

Trigger · Read-only. Triggers when a new license key is created.

Required: store_id (Store ID)

License Key Updatedlemon_squeezy_license_key_updated

Trigger · Read-only. Triggers when a license key is updated.

Required: store_id (Store ID)

Order Createdlemon_squeezy_order_created

Trigger · Read-only. Triggers when a new order is created.

Required: store_id (Store ID)

Order Refundedlemon_squeezy_order_refunded

Trigger · Read-only. Triggers when an order is refunded.

Required: store_id (Store ID)

Subscription Cancelledlemon_squeezy_subscription_cancelled

Trigger · Read-only. Triggers when a subscription is cancelled.

Required: store_id (Store ID)

Subscription Createdlemon_squeezy_subscription_created

Trigger · Read-only. Triggers when a new subscription is created.

Required: store_id (Store ID)

Subscription Expiredlemon_squeezy_subscription_expired

Trigger · Read-only. Triggers when a subscription is expired.

Required: store_id (Store ID)

Subscription Pausedlemon_squeezy_subscription_paused

Trigger · Read-only. Triggers when a subscription is paused.

Required: store_id (Store ID)

Subscription Payment Failedlemon_squeezy_subscription_payment_failed

Trigger · Read-only. Triggers when a subscription payment has failed.

Required: store_id (Store ID)

Subscription Payment Recoveredlemon_squeezy_subscription_payment_recovered

Trigger · Read-only. Triggers when a subscription payment has recovered.

Required: store_id (Store ID)

Subscription Payment Successlemon_squeezy_subscription_payment_success

Trigger · Read-only. Triggers when a subscription payment has succeeded.

Required: store_id (Store ID)

Subscription Resumedlemon_squeezy_subscription_resumed

Trigger · Read-only. Triggers when a subscription is resumed.

Required: store_id (Store ID)

Subscription Un-Pausedlemon_squeezy_subscription_un-paused

Trigger · Read-only. Triggers when a subscription is un-paused.

Required: store_id (Store ID)

Subscription Updatedlemon_squeezy_subscription_updated

Trigger · Read-only. Triggers when a subscription is updated.

Required: store_id (Store ID)

Lemon Squeezy API with the Zapier SDK, without pasting an API key

The Zapier SDK gives your code one way to call Lemon Squeezy. You connect your account once, and your code references that connection instead of a raw token.

license_key_created (License Key Created) requires store_id. Every Lemon Squeezy action and its inputs are listed under Lemon Squeezy triggers and actions above. Zapier handles OAuth, token refresh, retries and rate limits. Read the SDK docs

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection lemon-squeezy
TypeScript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: connection } = await zapier.findFirstConnection({ app: "lemon-squeezy", owner: "me" });

const { data } = await zapier.runAction({
  app: "lemon-squeezy",
  actionType: "read",
  action: "license_key_created",
  connection: connection.id,
  inputs: {
    store_id: "", // Store ID
  },
});
Zapier SDK CLI
npx zapier-sdk run-action lemon-squeezy read license_key_created \
  --inputs '{"store_id":""}'

Frequently asked questions about automating with Lemon Squeezy

How do I connect Lemon Squeezy to Claude?

Connect Zapier in Claude, sign in to Zapier, then ask Claude to connect Lemon Squeezy. Claude finds the Lemon Squeezy actions and adds them. If Lemon Squeezy needs a sign-in, you approve it once.

Can I use the Lemon Squeezy API without managing API keys?

With the Zapier SDK you connect your Lemon Squeezy account to Zapier once, and your code runs actions through that connection. Zapier handles Lemon Squeezy’s login, so you never paste an API key into your code.

What can an AI agent do with Lemon Squeezy?

Through Zapier MCP, your agent can use 14 Lemon Squeezy tools, such as License Key Created, License Key Updated, and Order Created.

My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

Point your AI agent to this page’s markdown file to build Lemon Squeezy automations. It covers how Lemon Squeezy connects, every trigger and action with its inputs, and how to run them with Zapier MCP, the SDK, or the CLI. To start from a ready-made Zap instead, have it search zapier.sh.

About Lemon Squeezy

Payments, tax & subscriptions for software companies

Related categories: eCommerce