# Recurpay + Facebook Custom Audiences Integrations: Connect with Zapier MCP
> zapier.com/apps/recurpay-subscriptions/integrations/facebook-custom-audiences
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Recurpay and Facebook Custom Audiences 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).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## 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**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **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**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · custom_audience`.
- **SDK**:

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

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "facebook-custom-audiences", owner: "me" });

const { data } = await zapier.runAction({
  app: "facebook-custom-audiences",
  actionType: "write",
  action: "custom_audience",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action facebook-custom-audiences write custom_audience \
  --inputs '{}'
```

## Recurpay

### Identity
Recurpay is a versatile and powerful plugin designed to streamline and automate subscription management for your online store.

- App slug: recurpay-subscriptions
- Operations published here: 10 (8 events, 2 functions)

### Authentication
Zapier connects to Recurpay 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.112.6 and @zapier/zapier-sdk-cli v0.84.6; 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 recurpay-subscriptions
```

### Capabilities

#### Events (8)

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

##### New Subscription Order
Triggers when a new order is created from subscription.

- Type: read · Key: `new_subscription_order`
- Requires: nothing
- SDK: `runAction({ app: "recurpay-subscriptions", actionType: "read", action: "new_subscription_order" })`
- CLI: `npx zapier-sdk run-action recurpay-subscriptions read new_subscription_order`

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

- Type: read · Key: `subscription_activated`
- Requires: nothing
- SDK: `runAction({ app: "recurpay-subscriptions", actionType: "read", action: "subscription_activated" })`
- CLI: `npx zapier-sdk run-action recurpay-subscriptions read subscription_activated`

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

- Type: read · Key: `subscription_cancelled`
- Requires: nothing
- SDK: `runAction({ app: "recurpay-subscriptions", actionType: "read", action: "subscription_cancelled" })`
- CLI: `npx zapier-sdk run-action recurpay-subscriptions read subscription_cancelled`

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

- Type: read · Key: `subscription_created`
- Requires: nothing
- SDK: `runAction({ app: "recurpay-subscriptions", actionType: "read", action: "subscription_created" })`
- CLI: `npx zapier-sdk run-action recurpay-subscriptions read subscription_created`

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

- Type: read · Key: `subscription_expired`
- Requires: nothing
- SDK: `runAction({ app: "recurpay-subscriptions", actionType: "read", action: "subscription_expired" })`
- CLI: `npx zapier-sdk run-action recurpay-subscriptions read subscription_expired`

##### Subscription Halted
Triggers when a subscription is halted.

- Type: read · Key: `subscription_halted`
- Requires: nothing
- SDK: `runAction({ app: "recurpay-subscriptions", actionType: "read", action: "subscription_halted" })`
- CLI: `npx zapier-sdk run-action recurpay-subscriptions read subscription_halted`

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

- Type: read · Key: `subscription_paused`
- Requires: nothing
- SDK: `runAction({ app: "recurpay-subscriptions", actionType: "read", action: "subscription_paused" })`
- CLI: `npx zapier-sdk run-action recurpay-subscriptions read subscription_paused`

##### Subscription Skipped
Triggers when a subscription is skipped.

- Type: read · Key: `subscription_skipped`
- Requires: nothing
- SDK: `runAction({ app: "recurpay-subscriptions", actionType: "read", action: "subscription_skipped" })`
- CLI: `npx zapier-sdk run-action recurpay-subscriptions read subscription_skipped`

#### Functions (2)

Functions change something in Recurpay.

##### Pause Subscription
Pause a subscription.

- Type: write · Key: `pause_subscription`
- Requires: subscription_id
- SDK: `runAction({ app: "recurpay-subscriptions", actionType: "write", action: "pause_subscription" })`
- CLI: `npx zapier-sdk run-action recurpay-subscriptions write pause_subscription`

##### Resume Subscription
Resume a Subscription.

- Type: write · Key: `resume_subscription`
- Requires: subscription_id
- SDK: `runAction({ app: "recurpay-subscriptions", actionType: "write", action: "resume_subscription" })`
- CLI: `npx zapier-sdk run-action recurpay-subscriptions write resume_subscription`

## Facebook Custom Audiences

### Identity
Facebook Custom Audiences makes signing up for business information easy for people and more valuable for businesses.

- App slug: facebook-custom-audiences
- Operations published here: 3 (3 functions)

### Authentication
Zapier connects to Facebook Custom Audiences 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.112.6 and @zapier/zapier-sdk-cli v0.84.6; 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 facebook-custom-audiences
```

### Capabilities

#### Functions (3)

Functions change something in Facebook Custom Audiences.

##### Create Custom Audience
Creates a new custom audience. You may need to accept Facebook's Terms of Service at  https://zpr.io/R3D2C .

- Type: write · Key: `custom_audience`
- Requires: name
- Optional: description
- SDK: `runAction({ app: "facebook-custom-audiences", actionType: "write", action: "custom_audience" })`
- CLI: `npx zapier-sdk run-action facebook-custom-audiences write custom_audience`

##### Add Email to Custom Audience
Adds an email address to an existing custom audience.

- Type: write · Key: `custom_audience_user`
- Requires: custom_audience, email
- SDK: `runAction({ app: "facebook-custom-audiences", actionType: "write", action: "custom_audience_user" })`
- CLI: `npx zapier-sdk run-action facebook-custom-audiences write custom_audience_user`

##### Remove Email From Custom Audience
Removes an email address from an existing custom audience.

- Type: write · Key: `remove_custom_audience_user`
- Requires: custom_audience, email
- SDK: `runAction({ app: "facebook-custom-audiences", actionType: "write", action: "remove_custom_audience_user" })`
- CLI: `npx zapier-sdk run-action facebook-custom-audiences write remove_custom_audience_user`

## Frequently asked questions about automating with Recurpay and Facebook Custom Audiences

### 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
- Recurpay integrations: zapier.com/apps/recurpay-subscriptions/integrations.md
- Facebook Custom Audiences integrations: zapier.com/apps/facebook-custom-audiences/integrations.md
- Full page: zapier.com/apps/recurpay-subscriptions/integrations/facebook-custom-audiences
- SDK: npmjs.com/package/@zapier/zapier-sdk