# Discord + Whop Integrations: Connect with Zapier MCP
> zapier.com/apps/discord/integrations/whop
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Discord and Whop 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_free_days_to_membership`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action whop write add_free_days_to_membership \
  --inputs '{}'
```

## Discord

### Identity
Discord is an all-in-one voice and text chat for gamers.

- App slug: discord
- Operations published here: 16 (7 events, 7 functions, 2 queries)

### Authentication
Zapier connects to Discord 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 discord
```

### Capabilities

#### Events (7)

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

##### New Message Posted to Channel
Triggers when a new message is posted to a specific text channel.

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

##### New User Added
Triggers when a new user joins the Discord Server.

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

##### New Reaction on Message
Triggers when a new Reaction is added to a Message.

- Type: read · Key: `message_reaction_v2`
- Requires: channel_type
- Optional: emoji, limitation_notice
- SDK: `runAction({ app: "discord", actionType: "read", action: "message_reaction_v2" })`
- CLI: `npx zapier-sdk run-action discord read message_reaction_v2`

##### New Forum Message
Triggers when a new Message is created on a Forum Post.

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

##### New Forum Post
Triggers when a new Post is created on a Forum.

- Type: read · Key: `new_forum_post`
- Requires: ignore_archived
- Optional: channel_id
- SDK: `runAction({ app: "discord", actionType: "read", action: "new_forum_post" })`
- CLI: `npx zapier-sdk run-action discord read new_forum_post`

##### New Mention
Triggers when a User or Role is mentioned.

- Type: read · Key: `new_mention`
- Requires: channel_type
- Optional: member
- SDK: `runAction({ app: "discord", actionType: "read", action: "new_mention" })`
- CLI: `npx zapier-sdk run-action discord read new_mention`

##### Role Assigned to User
Triggers when a role is assigned to a user.

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

#### Functions (7)

Functions change something in Discord.

##### Add Role
assign a role to a user

- Type: write · Key: `add_role`
- Requires: user_id, role_id
- SDK: `runAction({ app: "discord", actionType: "write", action: "add_role" })`
- CLI: `npx zapier-sdk run-action discord write add_role`

##### Create new Forum Post
Create a new Post on a Forum Channel.

- Type: write · Key: `create_forum_post`
- Requires: channel_id, post_name, content
- Optional: ping_usernames, tts, username, avatar_url
- SDK: `runAction({ app: "discord", actionType: "write", action: "create_forum_post" })`
- CLI: `npx zapier-sdk run-action discord write create_forum_post`

##### Remove User Role
Remove a chosen role from the specified user.

- Type: write · Key: `remove_user_role`
- Requires: user_id, role_id
- SDK: `runAction({ app: "discord", actionType: "write", action: "remove_user_role" })`
- CLI: `npx zapier-sdk run-action discord write remove_user_role`

##### Rename Channel
Rename a channel to a specific name you choose.

- Type: write · Key: `rename_channel`
- Requires: channel_id, name
- SDK: `runAction({ app: "discord", actionType: "write", action: "rename_channel" })`
- CLI: `npx zapier-sdk run-action discord write rename_channel`

##### Send Channel Message
Post a new message to a specific #channel you choose.

- Type: write · Key: `send_channel_message`
- Requires: channel_id, content
- Optional: ping_usernames, tts, username, avatar_url, file, filename
- SDK: `runAction({ app: "discord", actionType: "write", action: "send_channel_message" })`
- CLI: `npx zapier-sdk run-action discord write send_channel_message`

##### Send Direct Message
Send a direct message to a specific user.

- Type: write · Key: `send_direct_message`
- Requires: user_id, content
- Optional: dm_bot_info, ping_usernames, tts
- SDK: `runAction({ app: "discord", actionType: "write", action: "send_direct_message" })`
- CLI: `npx zapier-sdk run-action discord write send_direct_message`

##### Send message in Forum Post
Send a new message in a specific Forum Post.

- Type: write · Key: `send_forum_message`
- Requires: channel_id, post_id, content
- Optional: ping_usernames, tts, username, avatar_url
- SDK: `runAction({ app: "discord", actionType: "write", action: "send_forum_message" })`
- CLI: `npx zapier-sdk run-action discord write send_forum_message`

#### Queries (2)

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

##### Find Channel
Find an existing channel by name.

- Type: search · Key: `find_channel`
- Requires: name
- SDK: `runAction({ app: "discord", actionType: "search", action: "find_channel" })`
- CLI: `npx zapier-sdk run-action discord search find_channel`

##### Find User
Find an existing user by name.

- Type: search · Key: `find_user`
- Requires: username
- SDK: `runAction({ app: "discord", actionType: "search", action: "find_user" })`
- CLI: `npx zapier-sdk run-action discord search find_user`

## Whop

### Identity
Whop is a platform that let's you build businesses.

- App slug: whop
- Operations published here: 48 (16 events, 20 functions, 12 queries)

### Authentication
Zapier connects to Whop 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 whop
```

### Capabilities

#### Events (16)

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

##### New Dispute Alert
Triggers when an early warning dispute alert is received.

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

##### New Dispute
Triggers when a customer creates a dispute/chargeback.

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

##### Dispute Updated
Triggers when a dispute status changes.

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

##### Waitlist Approved
Triggers when a waitlist entry is approved.

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

##### New Waitlist
Triggers when a new waitlist entry is created.

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

##### New Invoice
Triggers when a new invoice is created.

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

##### Invoice Paid
Triggers when a invoice is paid.

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

##### Invoice Past Due
Triggers when a invoice becomes past due.

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

##### New Member Joined
Triggers when a membership becomes active.

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

##### Membership Scheduled to Cancel
Triggers when a membership is scheduled to cancel at the end of the billing period.

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

##### Membership Canceled
Triggers when a membership is canceled, expired, or past due.

- Type: read · Key: `membership_deactivated`
- Requires: nothing
- Optional: status, product_id
- SDK: `runAction({ app: "whop", actionType: "read", action: "membership_deactivated" })`
- CLI: `npx zapier-sdk run-action whop read membership_deactivated`

##### Failed Payment
Triggers when a payment attempt fails.

- Type: read · Key: `payment_failed`
- Requires: nothing
- Optional: payment_type, payment_method, product_id
- SDK: `runAction({ app: "whop", actionType: "read", action: "payment_failed" })`
- CLI: `npx zapier-sdk run-action whop read payment_failed`

##### Payment Pending
Triggers when a payment is initiated but not yet completed (e.g., ACH/bank transfer processing, crypto confirmation pending).

- Type: read · Key: `payment_pending`
- Requires: nothing
- Optional: payment_type, payment_method, product_id
- SDK: `runAction({ app: "whop", actionType: "read", action: "payment_pending" })`
- CLI: `npx zapier-sdk run-action whop read payment_pending`

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

- Type: read · Key: `payment_succeeded`
- Requires: nothing
- Optional: payment_type, payment_method, product_id
- SDK: `runAction({ app: "whop", actionType: "read", action: "payment_succeeded" })`
- CLI: `npx zapier-sdk run-action whop read payment_succeeded`

##### Payment Refunded
Triggers when a payment is refunded (full or partial).

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

##### Payment Method Saved
Triggers when a customer successfully saves a payment method via a Setup Mode Session.

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

#### Functions (20)

Functions change something in Whop.

##### Add Free Days to Membership
Extend a membership by adding free days to the renewal or expiration date. Useful for promotions, rewards, or customer support adjustments.

- Type: write · Key: `add_free_days_to_membership`
- Requires: id, days
- SDK: `runAction({ app: "whop", actionType: "write", action: "add_free_days_to_membership" })`
- CLI: `npx zapier-sdk run-action whop write add_free_days_to_membership`

##### Approve Waitlist
Approve a waitlist application.

- Type: write · Key: `approve_entry`
- Requires: id
- SDK: `runAction({ app: "whop", actionType: "write", action: "approve_entry" })`
- CLI: `npx zapier-sdk run-action whop write approve_entry`

##### Archive Affiliate
Archive an affiliate to stop them from earning commissions on new referrals.

- Type: write · Key: `archive_affiliate`
- Requires: affiliate_id
- SDK: `runAction({ app: "whop", actionType: "write", action: "archive_affiliate" })`
- CLI: `npx zapier-sdk run-action whop write archive_affiliate`

##### Cancel Membership
Cancel an active membership so it will no longer renew and access can be revoked.

- Type: write · Key: `cancel_membership`
- Requires: id, cancellation_mode
- SDK: `runAction({ app: "whop", actionType: "write", action: "cancel_membership" })`
- CLI: `npx zapier-sdk run-action whop write cancel_membership`

##### Find or Create Affiliate
Find an existing affiliate or create a new one from a Whop username, email, or user ID.

- Type: write · Key: `create_affiliate`
- Requires: username
- SDK: `runAction({ app: "whop", actionType: "write", action: "create_affiliate" })`
- CLI: `npx zapier-sdk run-action whop write create_affiliate`

##### Create Checkout Session
Create a checkout session for a plan and get a unique checkout link. Optionally embed metadata (like an external user ID) that is returned in the payment webhook when the customer completes their purchase.

- Type: write · Key: `create_checkout_configuration`
- Requires: nothing
- Optional: plan_id, metadata, redirect_url, affiliate_code, currency, allowed_payment_methods
- SDK: `runAction({ app: "whop", actionType: "write", action: "create_checkout_configuration" })`
- CLI: `npx zapier-sdk run-action whop write create_checkout_configuration`

##### Create Invoice
Creates an invoice for any recipient, including existing members or external customers.

- Type: write · Key: `create_invoice`
- Requires: collection_method, due_date, product_setup, plan_initial_price
- Optional: member_id, member_email, customer_name, charge_buyer_fee
- SDK: `runAction({ app: "whop", actionType: "write", action: "create_invoice" })`
- CLI: `npx zapier-sdk run-action whop write create_invoice`

##### Create Lead
Add a prospect to track interest before they purchase. Leads can be company-wide or product-specific.

- Type: write · Key: `create_lead`
- Requires: nothing
- Optional: user_id, product_id, referrer, metadata
- SDK: `runAction({ app: "whop", actionType: "write", action: "create_lead" })`
- CLI: `npx zapier-sdk run-action whop write create_lead`

##### Create Payment
Create a new payment by charging a member's saved payment method.

- Type: write · Key: `create_payment`
- Requires: member_id, plan_mode
- Optional: metadata
- SDK: `runAction({ app: "whop", actionType: "write", action: "create_payment" })`
- CLI: `npx zapier-sdk run-action whop write create_payment`

##### Create Plan
Create a new pricing plan for a product. Plans define how customers purchase a product, including price, billing period, and availability.

- Type: write · Key: `create_plan`
- Requires: product_id
- Optional: billing_period, currency, custom_fields, description, expiration_days, image, initial_price, internal_notes, legacy_payment_method_controls, override_tax_type, payment_method_configuration, plan_type, release_method, renewal_price, split_pay_required_payments, stock, title, trial_period_days, unlimited_stock, visibility
- SDK: `runAction({ app: "whop", actionType: "write", action: "create_plan" })`
- CLI: `npx zapier-sdk run-action whop write create_plan`

##### Create Promo Code
Create a promo code that applies discounts or free periods to selected plans or all plans.

- Type: write · Key: `create_promo_code`
- Requires: code, promo_type, amount_off, base_currency, promo_duration_months, new_users_only
- Optional: churned_users_only, existing_memberships_only, one_per_customer, expires_at, product_id, plan_id, unlimited_stock, stock
- SDK: `runAction({ app: "whop", actionType: "write", action: "create_promo_code" })`
- CLI: `npx zapier-sdk run-action whop write create_promo_code`

##### Deny Waitlist
Deny a waitlist application.

- Type: write · Key: `deny_entry`
- Requires: id
- SDK: `runAction({ app: "whop", actionType: "write", action: "deny_entry" })`
- CLI: `npx zapier-sdk run-action whop write deny_entry`

##### Pause Membership
Pause payment collection on a membership. The member keeps access but billing stops.

- Type: write · Key: `pause_membership`
- Requires: id
- Optional: void_payments
- SDK: `runAction({ app: "whop", actionType: "write", action: "pause_membership" })`
- CLI: `npx zapier-sdk run-action whop write pause_membership`

##### Refund Payment
Refund a payment.

- Type: write · Key: `refund_payment`
- Requires: id
- Optional: partial_amount
- SDK: `runAction({ app: "whop", actionType: "write", action: "refund_payment" })`
- CLI: `npx zapier-sdk run-action whop write refund_payment`

##### Resume Membership
Resume payment collection on a paused membership. Billing will restart.

- Type: write · Key: `resume_membership`
- Requires: id
- SDK: `runAction({ app: "whop", actionType: "write", action: "resume_membership" })`
- CLI: `npx zapier-sdk run-action whop write resume_membership`

##### Unarchive Affiliate
Reactivate an archived affiliate so they can earn commissions on new referrals again.

- Type: write · Key: `unarchive_affiliate`
- Requires: affiliate_id
- SDK: `runAction({ app: "whop", actionType: "write", action: "unarchive_affiliate" })`
- CLI: `npx zapier-sdk run-action whop write unarchive_affiliate`

##### Uncancel Membership
Reverse a scheduled cancellation. The membership will continue to renew instead of ending.

- Type: write · Key: `uncancel_membership`
- Requires: id
- SDK: `runAction({ app: "whop", actionType: "write", action: "uncancel_membership" })`
- CLI: `npx zapier-sdk run-action whop write uncancel_membership`

##### Update Lead
Update a lead's referrer or metadata for tracking.

- Type: write · Key: `update_lead`
- Requires: id
- Optional: metadata, referrer
- SDK: `runAction({ app: "whop", actionType: "write", action: "update_lead" })`
- CLI: `npx zapier-sdk run-action whop write update_lead`

##### Update Membership
Modify a membership's metadata.

- Type: write · Key: `update_membership`
- Requires: id
- Optional: metadata
- SDK: `runAction({ app: "whop", actionType: "write", action: "update_membership" })`
- CLI: `npx zapier-sdk run-action whop write update_membership`

##### Void Invoice
Void an invoice.

- Type: write · Key: `void_invoice`
- Requires: id
- SDK: `runAction({ app: "whop", actionType: "write", action: "void_invoice" })`
- CLI: `npx zapier-sdk run-action whop write void_invoice`

#### Queries (12)

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

##### Get Payment Fees
Retrieve the fee breakdown for a payment. Shows platform fees, processing fees, and net amount.

- Type: search · Key: `fees_payment`
- Requires: id
- Optional: after, before, first, last
- SDK: `runAction({ app: "whop", actionType: "search", action: "fees_payment" })`
- CLI: `npx zapier-sdk run-action whop search fees_payment`

##### Find Member
Find a member by ID, email, username, or name.

- Type: search · Key: `find_member`
- Requires: nothing
- Optional: member_id, query
- SDK: `runAction({ app: "whop", actionType: "search", action: "find_member" })`
- CLI: `npx zapier-sdk run-action whop search find_member`

##### Find Entries
Search for waitlist entries with optional filters.

- Type: search · Key: `list_entry`
- Requires: nothing
- Optional: product_id, plan_id, status, created_after, created_before, first
- SDK: `runAction({ app: "whop", actionType: "search", action: "list_entry" })`
- CLI: `npx zapier-sdk run-action whop search list_entry`

##### Find Products
Search for products.

- Type: search · Key: `list_product`
- Requires: company_id
- Optional: after, before, first, last, product_types, visibilities, order, direction, created_before, created_after
- SDK: `runAction({ app: "whop", actionType: "search", action: "list_product" })`
- CLI: `npx zapier-sdk run-action whop search list_product`

##### Find Entry
Find a entry by ID.

- Type: search · Key: `retrieve_entry`
- Requires: id
- SDK: `runAction({ app: "whop", actionType: "search", action: "retrieve_entry" })`
- CLI: `npx zapier-sdk run-action whop search retrieve_entry`

##### Find Invoice
Retrieve an invoice by its unique ID. Invoices are bills sent to customers for payment.

- Type: search · Key: `retrieve_invoice`
- Requires: id
- SDK: `runAction({ app: "whop", actionType: "search", action: "retrieve_invoice" })`
- CLI: `npx zapier-sdk run-action whop search retrieve_invoice`

##### Find Lead
Retrieve a lead by its unique ID. Leads are potential customers who have shown interest.

- Type: search · Key: `retrieve_lead`
- Requires: id
- SDK: `runAction({ app: "whop", actionType: "search", action: "retrieve_lead" })`
- CLI: `npx zapier-sdk run-action whop search retrieve_lead`

##### Find Membership
Retrieve a membership by its unique ID. A membership represents a user's access to a purchased product.

- Type: search · Key: `retrieve_membership`
- Requires: id
- SDK: `runAction({ app: "whop", actionType: "search", action: "retrieve_membership" })`
- CLI: `npx zapier-sdk run-action whop search retrieve_membership`

##### Find Payment
Retrieve a payment by its unique ID. Payments represent completed or attempted transactions.

- Type: search · Key: `retrieve_payment`
- Requires: id
- SDK: `runAction({ app: "whop", actionType: "search", action: "retrieve_payment" })`
- CLI: `npx zapier-sdk run-action whop search retrieve_payment`

##### Find Plan
Retrieve a plan by its unique ID. Plans define pricing, billing behavior, and how a product is sold.

- Type: search · Key: `retrieve_plan`
- Requires: id
- SDK: `runAction({ app: "whop", actionType: "search", action: "retrieve_plan" })`
- CLI: `npx zapier-sdk run-action whop search retrieve_plan`

##### Find Product
Retrieve a product by its unique ID. Products represent what customers purchase from your organization.

- Type: search · Key: `retrieve_product`
- Requires: id
- SDK: `runAction({ app: "whop", actionType: "search", action: "retrieve_product" })`
- CLI: `npx zapier-sdk run-action whop search retrieve_product`

##### Find Refund
Retrieve a refund by its unique ID. Refunds represent money returned to customers.

- Type: search · Key: `retrieve_refund`
- Requires: id
- SDK: `runAction({ app: "whop", actionType: "search", action: "retrieve_refund" })`
- CLI: `npx zapier-sdk run-action whop search retrieve_refund`

## Frequently asked questions about automating with Discord and Whop

### How do I set up the integration between Discord and Whop?

To set up the integration, you'll need access to both your Discord and Whop accounts. From there, you can configure specific triggers from Discord, such as when a new message is posted in a channel or when a user joins a server, and select corresponding actions in Whop, like creating an order or sending notifications.

### Can I automate actions on Whop when something happens in Discord?

Yes, you can automate various actions on Whop based on events in Discord. For example, when a new member joins your Discord server, you can automatically create a customer profile or send a welcome offer via Whop.

### What triggers are available for the Discord-Whop integration?

Currently, some available triggers from Discord include new messages posted to channels, users joining or leaving servers, and role updates. These can initiate specific actions within Whop.

### Are there any limitations on the types of channels that can be used for triggers in this integration?

We support using public and private channels as sources for triggers. However, direct messages are not currently supported as trigger sources in this integration.

### How secure is the data transferred between Discord and Whop during their integration?

We prioritize security by using encrypted connections between services to ensure that your data remains protected during transfers between Discord and Whop.

### Do I need technical skills to integrate Discord with Whop?

No advanced technical skills are required. Our platform provides an intuitive interface that guides you through setting up triggers from Discord and mapping them to actions in Whop.

### What happens if there is an error during an automated action triggered by our Discord-Whop integration?

In case of an error during automation, our system will notify you via email with details of the issue. You can then review the generated logs to resolve the problem or contact our support team for assistance.

### 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
- Discord integrations: zapier.com/apps/discord/integrations.md
- Whop integrations: zapier.com/apps/whop/integrations.md
- Full page: zapier.com/apps/discord/integrations/whop
- SDK: npmjs.com/package/@zapier/zapier-sdk