# Coupontools + GoodBarber Integrations: Connect with Zapier MCP
> zapier.com/apps/coupontools/integrations/goodbarber
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Coupontools and GoodBarber 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 · add_user_to_group`.
- **SDK**:

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

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

const { data } = await zapier.runAction({
  app: "goodbarber",
  actionType: "write",
  action: "add_user_to_group",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action goodbarber write add_user_to_group \
  --inputs '{}'
```

## Coupontools

### Identity
Coupontools is an easy solution for the creation, distribution and validation of digital coupons.

- App slug: coupontools
- Operations published here: 12 (4 events, 8 functions)

### Authentication
Zapier connects to Coupontools 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 coupontools
```

### Capabilities

#### Events (4)

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

##### New Coupon Claim
Triggers when a coupon has a new claim.

- Type: read · Key: `new_coupon_claim`
- Requires: coupon_id
- SDK: `runAction({ app: "coupontools", actionType: "read", action: "new_coupon_claim" })`
- CLI: `npx zapier-sdk run-action coupontools read new_coupon_claim`

##### New Coupon Validation
Triggers when a coupon has a new validation.

- Type: read · Key: `new_coupon_validation`
- Requires: coupon_id
- SDK: `runAction({ app: "coupontools", actionType: "read", action: "new_coupon_validation" })`
- CLI: `npx zapier-sdk run-action coupontools read new_coupon_validation`

##### New Directory Registration
Triggers when a new user appears in the directory.

- Type: read · Key: `new_directory_v4_registration`
- Requires: directory
- SDK: `runAction({ app: "coupontools", actionType: "read", action: "new_directory_v4_registration" })`
- CLI: `npx zapier-sdk run-action coupontools read new_directory_v4_registration`

##### New Loyalty Card User (Legacy)
Triggers when a new users registers for a loyalty card.

- Type: read · Key: `new_loyalty_user`
- Requires: loyalty_card
- SDK: `runAction({ app: "coupontools", actionType: "read", action: "new_loyalty_user" })`
- CLI: `npx zapier-sdk run-action coupontools read new_loyalty_user`

#### Functions (8)

Functions change something in Coupontools.

##### Create a Single Use Session for a Coupon
Creates a single use session. A single use session is a unique URL for a coupon for assigning to 1 user.

- Type: write · Key: `new_coupon_session`
- Requires: coupon_id
- Optional: firstname, lastname, email, phone, custom, customvalcode, customfield1, customfield2, customfield3, customfield4, customfield5, customfield6, customfield7
- SDK: `runAction({ app: "coupontools", actionType: "write", action: "new_coupon_session" })`
- CLI: `npx zapier-sdk run-action coupontools write new_coupon_session`

##### Create Directory User
Creates a new user for a directory.

- Type: write · Key: `New_directoryuser`
- Requires: email, login, directory
- Optional: first_name, last_name, phone, birth_date, address, zip, city, custom_1, custom_2, custom_3
- SDK: `runAction({ app: "coupontools", actionType: "write", action: "New_directoryuser" })`
- CLI: `npx zapier-sdk run-action coupontools write New_directoryuser`

##### Create Subaccount
Creates a new subaccount.

- Type: write · Key: `new_subaccount`
- Requires: email, package
- Optional: login, first_name, last_name, company_name, relative_expiry_in_days
- SDK: `runAction({ app: "coupontools", actionType: "write", action: "new_subaccount" })`
- CLI: `npx zapier-sdk run-action coupontools write new_subaccount`

##### Revoke Directory User Paid Access
Take away a directory user's access to paid content of a directory.

- Type: write · Key: `revoke_directory_paymentstatus`
- Requires: directory, directoryuser
- SDK: `runAction({ app: "coupontools", actionType: "write", action: "revoke_directory_paymentstatus" })`
- CLI: `npx zapier-sdk run-action coupontools write revoke_directory_paymentstatus`

##### Send Coupon by Email
Sends a coupon by email.

- Type: write · Key: `send_coupon_email`
- Requires: couponcode, email, subject
- Optional: coupon_session_code
- SDK: `runAction({ app: "coupontools", actionType: "write", action: "send_coupon_email" })`
- CLI: `npx zapier-sdk run-action coupontools write send_coupon_email`

##### Send Coupon by SMS
Sends a coupon via SMS

- Type: write · Key: `send_coupon_sms`
- Requires: campaign, sender, phone
- Optional: body, utm_source, utm_medium, utm_campaign, utm_term, utm_content
- SDK: `runAction({ app: "coupontools", actionType: "write", action: "send_coupon_sms" })`
- CLI: `npx zapier-sdk run-action coupontools write send_coupon_sms`

##### ChangeStatusDirectoryUser
(un)block Users to (dis)allow Access to Directory

- Type: write · Key: `un_block_directyuser`
- Requires: directory, directoryuser, block
- SDK: `runAction({ app: "coupontools", actionType: "write", action: "un_block_directyuser" })`
- CLI: `npx zapier-sdk run-action coupontools write un_block_directyuser`

##### Give Directory User Paid Access
Give a directory user access to all paid content of a directory.

- Type: write · Key: `update_directory_paymentstatus`
- Requires: directoryuser, directory, expires_at
- SDK: `runAction({ app: "coupontools", actionType: "write", action: "update_directory_paymentstatus" })`
- CLI: `npx zapier-sdk run-action coupontools write update_directory_paymentstatus`

## GoodBarber

### Identity
GoodBarber is a no-code app building platform to create iOS and Android native apps.

- App slug: goodbarber
- Operations published here: 18 (5 events, 8 functions, 5 queries)

### Authentication
Zapier connects to GoodBarber 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 goodbarber
```

### Capabilities

#### Events (5)

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

##### New Active Subscriber
Triggers when a prospect subscribes to a product.

- Type: read · Key: `new_active_subscriber`
- Requires: nothing
- Optional: note
- SDK: `runAction({ app: "goodbarber", actionType: "read", action: "new_active_subscriber" })`
- CLI: `npx zapier-sdk run-action goodbarber read new_active_subscriber`

##### New Appointment Booking
Triggers when a new appointment is booked by a user.

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

##### New Expired Subscriber
Triggers when an active subscription expires.

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

##### New Prospect
Triggers when a new prospect signs up.

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

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

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

#### Functions (8)

Functions change something in GoodBarber.

##### Add User to Group
Adds a user to an existing group.

- Type: write · Key: `add_user_to_group`
- Requires: nothing
- Optional: group_id, user_id
- SDK: `runAction({ app: "goodbarber", actionType: "write", action: "add_user_to_group" })`
- CLI: `npx zapier-sdk run-action goodbarber write add_user_to_group`

##### Create Internal Subscription
Creates an internal subscription for a prospect. Use this action to give a subscription as a gift.

- Type: write · Key: `create_internal_sub`
- Requires: nothing
- Optional: prospect_id, expiration_date
- SDK: `runAction({ app: "goodbarber", actionType: "write", action: "create_internal_sub" })`
- CLI: `npx zapier-sdk run-action goodbarber write create_internal_sub`

##### Send Push Notification
Sends a push notification by platform.

- Type: write · Key: `push_broadcast`
- Requires: nothing
- Optional: platform, message
- SDK: `runAction({ app: "goodbarber", actionType: "write", action: "push_broadcast" })`
- CLI: `npx zapier-sdk run-action goodbarber write push_broadcast`

##### Remove User From Group
Removes a user from an existing group.

- Type: write · Key: `remove_user_from_group`
- Requires: nothing
- Optional: group_id, user_id
- SDK: `runAction({ app: "goodbarber", actionType: "write", action: "remove_user_from_group" })`
- CLI: `npx zapier-sdk run-action goodbarber write remove_user_from_group`

##### Update Note for Active Subscriber
Updates an internal note for an active subscriber.

- Type: write · Key: `update_internal_notes_active_user`
- Requires: nothing
- Optional: subscription_id, internal_note
- SDK: `runAction({ app: "goodbarber", actionType: "write", action: "update_internal_notes_active_user" })`
- CLI: `npx zapier-sdk run-action goodbarber write update_internal_notes_active_user`

##### Update Note for Expired Subscriber
Updates an internal note for an expired subscriber.

- Type: write · Key: `update_internal_notes_expired_user`
- Requires: nothing
- Optional: subscription_id, internal_note
- SDK: `runAction({ app: "goodbarber", actionType: "write", action: "update_internal_notes_expired_user" })`
- CLI: `npx zapier-sdk run-action goodbarber write update_internal_notes_expired_user`

##### Update Note for Prospect
Updates an internal note for a prospect.

- Type: write · Key: `update_internal_notes_prospect`
- Requires: nothing
- Optional: prospect_id, internal_note
- SDK: `runAction({ app: "goodbarber", actionType: "write", action: "update_internal_notes_prospect" })`
- CLI: `npx zapier-sdk run-action goodbarber write update_internal_notes_prospect`

##### Update Expiration Date for Internal Subscription
Updates the expiration date of an internal subscription (subscription gift).

- Type: write · Key: `update_internal_subscription`
- Requires: nothing
- Optional: subscription_id, expiration_date
- SDK: `runAction({ app: "goodbarber", actionType: "write", action: "update_internal_subscription" })`
- CLI: `npx zapier-sdk run-action goodbarber write update_internal_subscription`

#### Queries (5)

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

##### Find an Active Subscriber
Finds an active subscriber by ID.

- Type: search · Key: `search_active_user`
- Requires: nothing
- Optional: subscription_id
- SDK: `runAction({ app: "goodbarber", actionType: "search", action: "search_active_user" })`
- CLI: `npx zapier-sdk run-action goodbarber search search_active_user`

##### Find an Expired Subscriber
Finds an expired subscriber by ID.

- Type: search · Key: `search_expired_user`
- Requires: nothing
- Optional: subscription_id
- SDK: `runAction({ app: "goodbarber", actionType: "search", action: "search_expired_user" })`
- CLI: `npx zapier-sdk run-action goodbarber search search_expired_user`

##### Find a Group
Finds a group by name.

- Type: search · Key: `search_group`
- Requires: nothing
- Optional: group_name
- SDK: `runAction({ app: "goodbarber", actionType: "search", action: "search_group" })`
- CLI: `npx zapier-sdk run-action goodbarber search search_group`

##### Find a Prospect
Finds a prospect by ID.

- Type: search · Key: `search_prospect`
- Requires: nothing
- Optional: prospect_id
- SDK: `runAction({ app: "goodbarber", actionType: "search", action: "search_prospect" })`
- CLI: `npx zapier-sdk run-action goodbarber search search_prospect`

##### Find a User
Finds a user by login.

- Type: search · Key: `search_user`
- Requires: nothing
- Optional: login
- SDK: `runAction({ app: "goodbarber", actionType: "search", action: "search_user" })`
- CLI: `npx zapier-sdk run-action goodbarber search search_user`

## Frequently asked questions about automating with Coupontools and GoodBarber

### 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
- Coupontools integrations: zapier.com/apps/coupontools/integrations.md
- GoodBarber integrations: zapier.com/apps/goodbarber/integrations.md
- Full page: zapier.com/apps/coupontools/integrations/goodbarber
- SDK: npmjs.com/package/@zapier/zapier-sdk