---
agent:
  instructions: "Use this search API to find a ready-to-deploy Next Gen Zap for what the user wants to automate, with keywords or a natural-language description, instead of reading every zap. Results are returned in Markdown, each with the zap's SKILL.md install guide."
  endpoint: "https://zapier.sh/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://zapier.sh/developers/"
---

# Lemon Squeezy + WordPress Integrations: Connect with Zapier MCP
> zapier.com/apps/lemon-squeezy/integrations/wordpress
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Lemon Squeezy and WordPress in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP** (default for AI clients — self-contained for OAuth clients; no further docs needed):
  - Endpoint: `https://mcp.zapier.com/api/v1/connect` (Streamable HTTP only; SSE is not supported).
  - Auth: OAuth 2.0 + PKCE + Dynamic Client Registration. Do not create a server at `mcp.zapier.com` or ask for an API token; Zapier auto-provisions the server during browser sign-in.
  - Client setup: Claude Code `claude mcp add --transport http zapier https://mcp.zapier.com/api/v1/connect`; Cursor `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; VS Code and other clients `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; OpenCode `opencode.json` `{ "type": "remote", "url": "https://mcp.zapier.com/api/v1/connect" }`; Terminal auto-installer `npx @zapier/install-zapier`.
  - Setup guides: Claude https://docs.zapier.com/mcp/get-started/connect/claude.md; Claude Code https://docs.zapier.com/mcp/get-started/connect/claude-code.md; ChatGPT https://docs.zapier.com/mcp/get-started/connect/chatgpt.md; Cursor https://docs.zapier.com/mcp/get-started/connect/cursor.md; Codex https://docs.zapier.com/mcp/get-started/connect/codex.md.
  - After sign-in: call `discover_zapier_actions` for `lemon-squeezy` and `wordpress`, then `enable_zapier_action`. If Lemon Squeezy or WordPress isn't connected in Zapier yet, running an action returns a browser OAuth link for the user.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: once Upload Media is enabled, call `wordpress_upload_media`. Each operation below lists its MCP tool name.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

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

const { data } = await zapier.runAction({
  app: "wordpress",
  actionType: "write",
  action: "media",
  connection: connection.id,
  inputs: {
    file: "",
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action wordpress write media \
  --inputs '{"file":""}'
```

## Lemon Squeezy

### Identity
Payments, tax & subscriptions for software companies

- App slug: lemon-squeezy
- Operations published here: 14 (14 events)

### Authentication
Zapier connects to Lemon Squeezy via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.130.2 and @zapier/zapier-sdk-cli v0.93.2; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection lemon-squeezy
```

### Capabilities

#### Events (14)

Events fire when something happens in Lemon Squeezy. Use them to start a run.

##### License Key Created
Triggers when a new license key is created.

- Type: read · Key: `license_key_created`
- Requires: store_id
- MCP tool: `lemon_squeezy_license_key_created` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lemon-squeezy", actionType: "read", action: "license_key_created" })`
- CLI: `npx zapier-sdk run-action lemon-squeezy read license_key_created`

##### License Key Updated
Triggers when a license key is updated.

- Type: read · Key: `license_key_updated`
- Requires: store_id
- MCP tool: `lemon_squeezy_license_key_updated` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lemon-squeezy", actionType: "read", action: "license_key_updated" })`
- CLI: `npx zapier-sdk run-action lemon-squeezy read license_key_updated`

##### Order Created
Triggers when a new order is created.

- Type: read · Key: `order_created`
- Requires: store_id
- MCP tool: `lemon_squeezy_order_created` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lemon-squeezy", actionType: "read", action: "order_created" })`
- CLI: `npx zapier-sdk run-action lemon-squeezy read order_created`

##### Order Refunded
Triggers when an order is refunded.

- Type: read · Key: `order_refunded`
- Requires: store_id
- MCP tool: `lemon_squeezy_order_refunded` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lemon-squeezy", actionType: "read", action: "order_refunded" })`
- CLI: `npx zapier-sdk run-action lemon-squeezy read order_refunded`

##### Subscription Cancelled
Triggers when a subscription is cancelled.

- Type: read · Key: `subscription_cancelled`
- Requires: store_id
- MCP tool: `lemon_squeezy_subscription_cancelled` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lemon-squeezy", actionType: "read", action: "subscription_cancelled" })`
- CLI: `npx zapier-sdk run-action lemon-squeezy read subscription_cancelled`

##### Subscription Created
Triggers when a new subscription is created.

- Type: read · Key: `subscription_created`
- Requires: store_id
- MCP tool: `lemon_squeezy_subscription_created` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lemon-squeezy", actionType: "read", action: "subscription_created" })`
- CLI: `npx zapier-sdk run-action lemon-squeezy read subscription_created`

##### Subscription Expired
Triggers when a subscription is expired.

- Type: read · Key: `subscription_expired`
- Requires: store_id
- MCP tool: `lemon_squeezy_subscription_expired` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lemon-squeezy", actionType: "read", action: "subscription_expired" })`
- CLI: `npx zapier-sdk run-action lemon-squeezy read subscription_expired`

##### Subscription Paused
Triggers when a subscription is paused.

- Type: read · Key: `subscription_paused`
- Requires: store_id
- MCP tool: `lemon_squeezy_subscription_paused` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lemon-squeezy", actionType: "read", action: "subscription_paused" })`
- CLI: `npx zapier-sdk run-action lemon-squeezy read subscription_paused`

##### Subscription Payment Failed
Triggers when a subscription payment has failed.

- Type: read · Key: `subscription_payment_failed`
- Requires: store_id
- MCP tool: `lemon_squeezy_subscription_payment_failed` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lemon-squeezy", actionType: "read", action: "subscription_payment_failed" })`
- CLI: `npx zapier-sdk run-action lemon-squeezy read subscription_payment_failed`

##### Subscription Payment Recovered
Triggers when a subscription payment has recovered.

- Type: read · Key: `subscription_payment_recovered`
- Requires: store_id
- MCP tool: `lemon_squeezy_subscription_payment_recovered` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lemon-squeezy", actionType: "read", action: "subscription_payment_recovered" })`
- CLI: `npx zapier-sdk run-action lemon-squeezy read subscription_payment_recovered`

##### Subscription Payment Success
Triggers when a subscription payment has succeeded.

- Type: read · Key: `subscription_payment_success`
- Requires: store_id
- MCP tool: `lemon_squeezy_subscription_payment_success` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lemon-squeezy", actionType: "read", action: "subscription_payment_success" })`
- CLI: `npx zapier-sdk run-action lemon-squeezy read subscription_payment_success`

##### Subscription Resumed
Triggers when a subscription is resumed.

- Type: read · Key: `subscription_resumed`
- Requires: store_id
- MCP tool: `lemon_squeezy_subscription_resumed` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lemon-squeezy", actionType: "read", action: "subscription_resumed" })`
- CLI: `npx zapier-sdk run-action lemon-squeezy read subscription_resumed`

##### Subscription Un-Paused
Triggers when a subscription is un-paused.

- Type: read · Key: `subscription_unpaused`
- Requires: store_id
- MCP tool: `lemon_squeezy_subscription_un-paused` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lemon-squeezy", actionType: "read", action: "subscription_unpaused" })`
- CLI: `npx zapier-sdk run-action lemon-squeezy read subscription_unpaused`

##### Subscription Updated
Triggers when a subscription is updated.

- Type: read · Key: `subscription_updated`
- Requires: store_id
- MCP tool: `lemon_squeezy_subscription_updated` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "lemon-squeezy", actionType: "read", action: "subscription_updated" })`
- CLI: `npx zapier-sdk run-action lemon-squeezy read subscription_updated`

## WordPress

### Identity
WordPress is web software you can use to create a beautiful website or blog. Nearly 20% of the top 10 million websites and over 60 million people have chosen WordPress to power the place on the web they call "home".

- App slug: wordpress
- Operations published here: 17 (6 events, 6 functions, 3 queries, 2 search-or-write actions)

### Authentication
Zapier connects to WordPress via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.130.2 and @zapier/zapier-sdk-cli v0.93.2; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection wordpress
```

### Capabilities

#### Events (6)

Events fire when something happens in WordPress. Use them to start a run.

##### New Comment
Triggers when a new comment is added.

- Type: read · Key: `comment`
- Requires: nothing
- Optional: status
- MCP tool: `wordpress_new_comment` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "read", action: "comment" })`
- CLI: `npx zapier-sdk run-action wordpress read comment`

##### New Media
Triggers when a new media is uploaded.

- Type: read · Key: `media`
- Requires: nothing
- MCP tool: `wordpress_new_media` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "read", action: "media" })`
- CLI: `npx zapier-sdk run-action wordpress read media`

##### New Post
Triggers when a new post is created.

- Type: read · Key: `post`
- Requires: nothing
- Optional: post_status, post_type
- MCP tool: `wordpress_new_post` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "read", action: "post" })`
- CLI: `npx zapier-sdk run-action wordpress read post`

##### Updated Post
Triggers when a post is updated.

- Type: read · Key: `updated_post_hook`
- Requires: nothing
- Optional: post_types, post_statuses, should_status_change
- MCP tool: `wordpress_updated_post` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "read", action: "updated_post_hook" })`
- CLI: `npx zapier-sdk run-action wordpress read updated_post_hook`

##### Updated User
Triggers when a user is updated.

- Type: read · Key: `updated_user_hook`
- Requires: nothing
- MCP tool: `wordpress_updated_user` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "read", action: "updated_user_hook" })`
- CLI: `npx zapier-sdk run-action wordpress read updated_user_hook`

##### New User
Triggers when a new user is created.

- Type: read · Key: `user`
- Requires: nothing
- MCP tool: `wordpress_new_user` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "read", action: "user" })`
- CLI: `npx zapier-sdk run-action wordpress read user`

#### Functions (6)

Functions change something in WordPress.

##### Upload Media
Upload a new media file, which can be used as featured media.

- Type: write · Key: `media`
- Requires: file
- Optional: post, filename, title, author, caption, description, alt_text, comment_status, ping_status
- MCP tool: `wordpress_upload_media` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "write", action: "media" })`
- CLI: `npx zapier-sdk run-action wordpress write media`

##### Create Post
Creates a new post.

- Type: write · Key: `post`
- Requires: post_type
- MCP tool: `wordpress_create_post` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "write", action: "post" })`
- CLI: `npx zapier-sdk run-action wordpress write post`

##### Create Tag
Creates a new tag.

- Type: write · Key: `tag`
- Requires: name
- Optional: description, slug
- MCP tool: `wordpress_create_tag` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "write", action: "tag" })`
- CLI: `npx zapier-sdk run-action wordpress write tag`

##### Update Post
Updates a post.

- Type: write · Key: `update_post`
- Requires: post_type
- MCP tool: `wordpress_update_post` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "write", action: "update_post" })`
- CLI: `npx zapier-sdk run-action wordpress write update_post`

##### Create User
Creates a new user.

- Type: write · Key: `user`
- Requires: email, username, password
- Optional: first_name, last_name, name, nickname, description, url, roles
- MCP tool: `wordpress_create_user` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "write", action: "user" })`
- CLI: `npx zapier-sdk run-action wordpress write user`

##### Update User
Updates an existing user.

- Type: write · Key: `user_update`
- Requires: id
- Optional: email, first_name, last_name, name, nickname, description, url, roles, meta
- MCP tool: `wordpress_update_user` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "write", action: "user_update" })`
- CLI: `npx zapier-sdk run-action wordpress write user_update`

#### Queries (3)

Queries read from WordPress and return data. They change nothing.

##### Find Post
Finds a post.

- Type: search · Key: `post`
- Requires: title
- MCP tool: `wordpress_find_post` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "search", action: "post" })`
- CLI: `npx zapier-sdk run-action wordpress search post`

##### Find User
Finds a user with a default user role. Does not search users with custom roles created by plugins.

- Type: search · Key: `search_user`
- Requires: search
- Optional: copy_search_keyword
- MCP tool: `wordpress_find_user` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "search", action: "search_user" })`
- CLI: `npx zapier-sdk run-action wordpress search search_user`

##### Find Tag
Finds a tag.

- Type: search · Key: `tag`
- Requires: name
- MCP tool: `wordpress_find_tag` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "search", action: "tag" })`
- CLI: `npx zapier-sdk run-action wordpress search tag`

#### Search or Write Actions (2)

These operations search for a match first, and create one only if nothing is found.

##### Find or Create User
Find or Create User

- Type: search_or_write · Key: `search_user`
- Requires: search, email, username, password
- Optional: copy_search_keyword, first_name, last_name, name, nickname, description, url, roles
- SDK: `runAction({ app: "wordpress", actionType: "search_or_write", action: "search_user" })`
- CLI: `npx zapier-sdk run-action wordpress search_or_write search_user`

##### Find or Create Tag
Finds a tag by name or creates it if it does not exist.

- Type: search_or_write · Key: `tag`
- Requires: name
- Optional: description, slug
- SDK: `runAction({ app: "wordpress", actionType: "search_or_write", action: "tag" })`
- CLI: `npx zapier-sdk run-action wordpress search_or_write tag`

## Frequently asked questions about automating with Lemon Squeezy and WordPress

### How do I integrate Lemon Squeezy with WordPress?

To integrate Lemon Squeezy with WordPress, install and activate the Lemon Squeezy plugin on your WordPress site. Once set up, connect your Lemon Squeezy account by entering the API keys in the plugin settings. This will allow you to manage your Lemon Squeezy store directly from WordPress.

### What triggers are available when integrating Lemon Squeezy with WordPress?

When integrating Lemon Squeezy with WordPress, you can set up triggers such as 'New Order', 'Payment Completed', and 'Subscription Cancelled'. These triggers will automatically initiate actions in WordPress, like updating user roles or sending notifications.

### Can I automate processes between Lemon Squeezy and WordPress?

Yes, you can automate processes between Lemon Squeezy and WordPress by setting up workflows that use specific triggers and actions. For example, when a new order is received in Lemon Squeezy, you can create a new user account in WordPress automatically.

### Is it possible to handle subscriptions through the integration?

Yes, handling subscriptions is seamless through the integration. You can synchronize subscription data from Lemon Squeezy to your WordPress site and trigger actions like granting access to premium content when a subscription is active.

### Are there any specific actions that can be performed in WordPress using this integration?

Specific actions that can be performed include creating or updating users based on purchases, sending personalized emails, and restricting or granting access to certain content types according to purchase status from your Lemon Squeezy store.

### How do I ensure secure transactions during the integration process?

We ensure secure transactions by using industry-standard encryption for API key exchanges between your Lemon Squeezy account and WordPress. It's also essential to keep your plugins up-to-date to protect against vulnerabilities.

### What types of products can I sell through my integrated platform?

With our integration, you can sell digital products such as e-books, software licenses, online courses as well as memberships. The flexibility of our system allows for diverse product offerings through your WordPress site.

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

## Links
- Lemon Squeezy integrations: zapier.com/apps/lemon-squeezy/integrations.md
- WordPress integrations: zapier.com/apps/wordpress/integrations.md
- Full page: zapier.com/apps/lemon-squeezy/integrations/wordpress
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk