---
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/"
---

# Pinghome + Chargebee Integrations: Connect with Zapier MCP
> zapier.com/apps/pinghome/integrations/chargebee
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Pinghome and Chargebee 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 `pinghome` and `chargebee`, then `enable_zapier_action`. If Pinghome or Chargebee 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 Change Next Billing Date is enabled, call `chargebee_change_next_billing_date`. 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: "chargebee", owner: "me" });

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

- **CLI**:

```bash
npx zapier-sdk run-action chargebee write change_term_end \
  --inputs '{}'
```

## Pinghome

### Identity
Pinghome is a monitoring & observability platform that gives teams peace of mind

- App slug: pinghome
- Operations published here: 1 (1 event)

### Authentication
Zapier connects to Pinghome 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 pinghome
```

### Capabilities

#### Events (1)

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

##### State Change
Triggers when resource state either changed from up to down or from down to up.

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

## Chargebee

### Identity
Chargebee is a subscription management and recurring billing solution used by businesses to customize subscription billing workflows.

- App slug: chargebee
- Operations published here: 29 (17 events, 8 functions, 4 queries)

### Authentication
Zapier connects to Chargebee 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 chargebee
```

### Capabilities

#### Events (17)

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

##### Card Deleted
Triggers when a card is deleted.

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

##### Card Expiration
Triggers when a credit card expires.

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

##### Customer Details Updates
Triggers when customer details such as first name, last name, email, billing address, etc., are updated.

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

##### New Customer
Triggers when a customer is created.

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

##### New Invoice
Triggers when a new invoice is generated(with line item support).

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

##### Payment Failure
Triggers when a payment fails.

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

##### New Payment Method
Triggers when a payment method is added.

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

##### Payment Method Updates
Triggers when a payment method is updated.

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

##### New Payment
Triggers when a payment is collected successfully.

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

##### Subscription Activation
Triggers when a subscription is changed from Trial to Active state.

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

##### Subscription Cancellation Scheduled
Triggers when a subscription is scheduled for cancellation.

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

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

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

##### Subscription Details Updates
Triggers when subscription details such as custom fields, billing information, recurring items etc., are modified.

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

##### New Subscription
Triggers when a subscription is created.

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

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

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

##### Subscription Reactivation
Triggers when a subscription is moved from Cancelled state to Active/In Trial/Non Renewing/Future state.

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

##### Subscription Resumption
Triggers when a paused subscription is resumed.

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

#### Functions (8)

Functions change something in Chargebee.

##### Change Next Billing Date
Updates next billing date of a subscription.

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

##### Create Customer
Creates a new customer in Chargebee.

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

##### Create Subscription
Creates a new subscription. If you are on Catalog 1.0 of Chargebee, this action allows you to create a subscription and a customer in a single step. If you are on Catalog 2.0 of Chargebee, this action allows you to create a subscription for an existing customer

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

##### Pause Subscription
Pauses a subscription in Chargebee.

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

##### Record Offline Payment for an Invoice
Records an offline payment for unpaid invoices.

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

##### Resume Subscription
Resumes a paused subscription in Chargebee.

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

##### Update Customer
Updates customer details in Chargebee.

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

##### Update Subscription
Updates a subscription in Chargebee.

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

#### Queries (4)

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

##### Finds an Existing Customer
Lookup an existing customer.

- Type: search · Key: `find_customer`
- Requires: nothing
- Optional: customer_id, email, company
- MCP tool: `chargebee_finds_an_existing_customer` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "chargebee", actionType: "search", action: "find_customer" })`
- CLI: `npx zapier-sdk run-action chargebee search find_customer`

##### Find Existing Subscription
Lookup details of an existing subscription.

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

##### Fetch Subscription Invoice Details
Get the Invoice details for a specific Subscription ID

- Type: search · Key: `list_invoice`
- Requires: subscription_id, operation
- MCP tool: `chargebee_fetch_subscription_invoice_details` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "chargebee", actionType: "search", action: "list_invoice" })`
- CLI: `npx zapier-sdk run-action chargebee search list_invoice`

##### Fetch Customer Subscription Details
Get the subscription details for a specific customer ID

- Type: search · Key: `list_subscription`
- Requires: customer_id, operation
- MCP tool: `chargebee_fetch_customer_subscription_details` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "chargebee", actionType: "search", action: "list_subscription" })`
- CLI: `npx zapier-sdk run-action chargebee search list_subscription`

## Frequently asked questions about automating with Pinghome and Chargebee

### 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
- Pinghome integrations: zapier.com/apps/pinghome/integrations.md
- Chargebee integrations: zapier.com/apps/chargebee/integrations.md
- Full page: zapier.com/apps/pinghome/integrations/chargebee
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk