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

# beehiiv + PayPal Integrations: Connect with Zapier MCP
> zapier.com/apps/beehiiv/integrations/paypal
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate beehiiv and PayPal 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 `beehiiv` and `paypal`, then `enable_zapier_action`. If beehiiv or PayPal 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 Create Invoice is enabled, call `paypal_create_invoice`. 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: "paypal", owner: "me" });

const { data } = await zapier.runAction({
  app: "paypal",
  actionType: "write",
  action: "create_invoice",
  connection: connection.id,
  inputs: {
    item_name: "", // Item Name
    item_quantity: "", // Item Quantity
    item_unit_amount: "", // Item Unit Amount
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action paypal write create_invoice \
  --inputs '{"item_name":"","item_quantity":"","item_unit_amount":""}'
```

## beehiiv

### Identity
Launch, scale, and monetize your newsletter with a publishing platform built for growth. Built by those who have done it before.

- App slug: beehiiv
- Operations published here: 61 (9 events, 16 functions, 36 queries)

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

### Capabilities

#### Events (9)

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

##### Newsletter List Subscription Subscribed
Triggers when a subscriber is added to a newsletter list.

- Type: read · Key: `NewsletterListSubscribed`
- Requires: publicationId, webhookDescription
- MCP tool: `beehiiv_newsletter_list_subscription_subscribed` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "read", action: "NewsletterListSubscribed" })`
- CLI: `npx zapier-sdk run-action beehiiv read NewsletterListSubscribed`

##### Newsletter List Subscription Unsubscribed
Triggers when a subscriber is removed from a newsletter list.

- Type: read · Key: `NewsletterListUnsubscribed`
- Requires: publicationId, webhookDescription
- MCP tool: `beehiiv_newsletter_list_subscription_unsubscribed` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "read", action: "NewsletterListUnsubscribed" })`
- CLI: `npx zapier-sdk run-action beehiiv read NewsletterListUnsubscribed`

##### New Post Sent
Triggers when a new post is sent.

- Type: read · Key: `PostSent`
- Requires: publicationId, webhookDescription
- MCP tool: `beehiiv_new_post_sent` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "read", action: "PostSent" })`
- CLI: `npx zapier-sdk run-action beehiiv read PostSent`

##### New Subscription Confirmations
Triggers when a subscription is confirmed following a double opt-in.

- Type: read · Key: `SubscriptionConfirmed`
- Requires: publicationId, webhookDescription
- MCP tool: `beehiiv_new_subscription_confirmations` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "read", action: "SubscriptionConfirmed" })`
- CLI: `npx zapier-sdk run-action beehiiv read SubscriptionConfirmed`

##### New Subscriptions
Triggers when a new subscription is created.

- Type: read · Key: `SubscriptionCreated`
- Requires: publicationId, webhookDescription
- MCP tool: `beehiiv_new_subscriptions` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "read", action: "SubscriptionCreated" })`
- CLI: `npx zapier-sdk run-action beehiiv read SubscriptionCreated`

##### User Unsubscribes
Triggers when a user unsubscribes.

- Type: read · Key: `SubscriptionDeleted`
- Requires: publicationId, webhookDescription
- MCP tool: `beehiiv_user_unsubscribes` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "read", action: "SubscriptionDeleted" })`
- CLI: `npx zapier-sdk run-action beehiiv read SubscriptionDeleted`

##### New Subscription Downgrades
Triggers when a subscriber downgrades their subscription from premium to free.

- Type: read · Key: `SubscriptionDowngraded`
- Requires: publicationId, webhookDescription
- MCP tool: `beehiiv_new_subscription_downgrades` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "read", action: "SubscriptionDowngraded" })`
- CLI: `npx zapier-sdk run-action beehiiv read SubscriptionDowngraded`

##### New Subscription Upgrades
Triggers when a user upgrades their subscription to premium.

- Type: read · Key: `SubscriptionUpgraded`
- Requires: publicationId, webhookDescription
- MCP tool: `beehiiv_new_subscription_upgrades` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "read", action: "SubscriptionUpgraded" })`
- CLI: `npx zapier-sdk run-action beehiiv read SubscriptionUpgraded`

##### New Survey Responses
Triggers when a new survey response is submitted.

- Type: read · Key: `SurveyResponseSubmitted`
- Requires: publicationId, webhookDescription
- MCP tool: `beehiiv_new_survey_responses` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "read", action: "SurveyResponseSubmitted" })`
- CLI: `npx zapier-sdk run-action beehiiv read SurveyResponseSubmitted`

#### Functions (16)

Functions change something in beehiiv.

##### Add a Subscriber to an Automation
Adds a subscriber to a specific automation.

- Type: write · Key: `addSubscriberToAutomation`
- Requires: publicationId, automationId
- Optional: email, subscription_id
- MCP tool: `beehiiv_add_a_subscriber_to_an_automation` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "write", action: "addSubscriberToAutomation" })`
- CLI: `npx zapier-sdk run-action beehiiv write addSubscriberToAutomation`

##### Add Tags to a Subscriber
Add subscriber tags to an existing subscriber.

- Type: write · Key: `addTagsToSubscriber`
- Requires: publicationId, subscriptionId, tags
- MCP tool: `beehiiv_add_tags_to_a_subscriber` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "write", action: "addTagsToSubscriber" })`
- CLI: `npx zapier-sdk run-action beehiiv write addTagsToSubscriber`

##### Create a Custom Field
Creates a custom field in your beehiiv account.

- Type: write · Key: `createCustomField`
- Requires: publicationId, kind, display
- MCP tool: `beehiiv_create_a_custom_field` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "write", action: "createCustomField" })`
- CLI: `npx zapier-sdk run-action beehiiv write createCustomField`

##### Create Newsletter List Subscription
Adds a subscription to a newsletter list.

- Type: write · Key: `createNewsletterListSubscription`
- Requires: publicationId, newsletterListId
- Optional: email, subscription_id
- MCP tool: `beehiiv_create_newsletter_list_subscription` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "write", action: "createNewsletterListSubscription" })`
- CLI: `npx zapier-sdk run-action beehiiv write createNewsletterListSubscription`

##### Create a Segment
Creates a segment from subscription IDs, email addresses, or custom field filters.

- Type: write · Key: `createSegment`
- Requires: publicationId, name, inputType
- Optional: subscriptions, emails, customFieldsOperator, customFieldName, customFieldOperator, customFieldValue, customFieldsJson
- MCP tool: `beehiiv_create_a_segment` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "write", action: "createSegment" })`
- CLI: `npx zapier-sdk run-action beehiiv write createSegment`

##### Create a Subscriber
Creates a subscriber in your beehiiv account.

- Type: write · Key: `createSubscriber`
- Requires: publicationId, email
- Optional: tier, premium_tiers, reactivate_existing, send_welcome_email, utm_source, utm_medium, utm_campaign, referring_site, referral_code, double_opt_override, newsletterListId, skip_newsletter_list_auto_subscribe, automation_ids, stripe_customer_id
- MCP tool: `beehiiv_create_a_subscriber` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "write", action: "createSubscriber" })`
- CLI: `npx zapier-sdk run-action beehiiv write createSubscriber`

##### Make a Custom API Call
Makes a custom API call to a specified endpoint with custom parameters.

- Type: write · Key: `CustomAPICall`
- Requires: endpoint, method
- Optional: parameters, body
- MCP tool: `beehiiv_make_a_custom_api_call` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "write", action: "CustomAPICall" })`
- CLI: `npx zapier-sdk run-action beehiiv write CustomAPICall`

##### Delete a Subscriber
Deletes a subscriber from your publication.

- Type: write · Key: `DeleteASubscriber`
- Requires: publicationId, subscriptionId
- MCP tool: `beehiiv_delete_a_subscriber` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "write", action: "DeleteASubscriber" })`
- CLI: `npx zapier-sdk run-action beehiiv write DeleteASubscriber`

##### Delete a Custom Field
Deletes a custom field from your beehiiv account.

- Type: write · Key: `deleteCustomField`
- Requires: publicationId, customFieldId
- MCP tool: `beehiiv_delete_a_custom_field` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "write", action: "deleteCustomField" })`
- CLI: `npx zapier-sdk run-action beehiiv write deleteCustomField`

##### Delete a Post
Deletes (a draft) or archives (a published) a post.

- Type: write · Key: `PublicationsPublicationIdPostsPostIddelete`
- Requires: publicationId, postId
- MCP tool: `beehiiv_delete_a_post` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "write", action: "PublicationsPublicationIdPostsPostIddelete" })`
- CLI: `npx zapier-sdk run-action beehiiv write PublicationsPublicationIdPostsPostIddelete`

##### Delete a Segment
Deletes a particular segment.

- Type: write · Key: `PublicationsPublicationIdSegmentsSegmentIddelete`
- Requires: publicationId, segmentId
- MCP tool: `beehiiv_delete_a_segment` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "write", action: "PublicationsPublicationIdSegmentsSegmentIddelete" })`
- CLI: `npx zapier-sdk run-action beehiiv write PublicationsPublicationIdSegmentsSegmentIddelete`

##### Recalculate a Segment
Triggers a recalculation for a segment.

- Type: write · Key: `recalculateSegment`
- Requires: publicationId, segmentId
- MCP tool: `beehiiv_recalculate_a_segment` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "write", action: "recalculateSegment" })`
- CLI: `npx zapier-sdk run-action beehiiv write recalculateSegment`

##### Update a Custom Field
Updates a custom field for a publication.

- Type: write · Key: `updateCustomField`
- Requires: publicationId, customFieldId, display
- MCP tool: `beehiiv_update_a_custom_field` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "write", action: "updateCustomField" })`
- CLI: `npx zapier-sdk run-action beehiiv write updateCustomField`

##### Update Newsletter List Subscription
Updates a newsletter list subscription (for example, unsubscribe from the list).

- Type: write · Key: `updateNewsletterListSubscription`
- Requires: publicationId, newsletterListId, newsletterListSubscriptionId, unsubscribe
- MCP tool: `beehiiv_update_newsletter_list_subscription` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "write", action: "updateNewsletterListSubscription" })`
- CLI: `npx zapier-sdk run-action beehiiv write updateNewsletterListSubscription`

##### Update Newsletter List Subscription by Subscription ID
Updates a newsletter list subscription using the publication subscription ID when you do not have the newsletter list subscription ID.

- Type: write · Key: `updateNewsletterListSubscriptionById`
- Requires: publicationId, newsletterListId, subscription_id, unsubscribe
- MCP tool: `beehiiv_update_newsletter_list_subscription_by_sub` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "write", action: "updateNewsletterListSubscriptionById" })`
- CLI: `npx zapier-sdk run-action beehiiv write updateNewsletterListSubscriptionById`

##### Update a Subscriber
Updates custom fields and/or unsubscribes a subscriber.

- Type: write · Key: `updateSubscriber`
- Requires: publicationId
- Optional: email, subscriptionId, tier, premium_tiers, unsubscribe
- MCP tool: `beehiiv_update_a_subscriber` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "write", action: "updateSubscriber" })`
- CLI: `npx zapier-sdk run-action beehiiv write updateSubscriber`

#### Queries (36)

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

##### Get Complimentary Access
Retrieve a single complimentary access offer belonging to a specific publication.

- Type: search · Key: `getComplimentaryAccess`
- Requires: publicationId, complimentaryAccessId
- Optional: expand[]
- MCP tool: `beehiiv_get_complimentary_access` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "getComplimentaryAccess" })`
- CLI: `npx zapier-sdk run-action beehiiv search getComplimentaryAccess`

##### List All Authors
Retrieve a list of authors available for the publication.

- Type: search · Key: `listAllAuthors`
- Requires: publicationId
- Optional: name, limit, page
- MCP tool: `beehiiv_list_all_authors` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "listAllAuthors" })`
- CLI: `npx zapier-sdk run-action beehiiv search listAllAuthors`

##### List All Journeys in an Automation
Returns a list of all automation journeys for a specific automation. This will include the status of the journey, the start time, and the completion time.

- Type: search · Key: `listAllAutomationJourneys`
- Requires: publicationId, automationId
- Optional: status, limit, page
- MCP tool: `beehiiv_list_all_journeys_in_an_automation` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "listAllAutomationJourneys" })`
- CLI: `npx zapier-sdk run-action beehiiv search listAllAutomationJourneys`

##### List All Automations
Returns a list of all automations.

- Type: search · Key: `listAllAutomations`
- Requires: publicationId
- Optional: limit, page
- MCP tool: `beehiiv_list_all_automations` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "listAllAutomations" })`
- CLI: `npx zapier-sdk run-action beehiiv search listAllAutomations`

##### List All Condition Sets
Returns a list of condition sets.

- Type: search · Key: `listAllConditionSets`
- Requires: publicationId
- Optional: limit, cursor, page, purpose
- MCP tool: `beehiiv_list_all_condition_sets` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "listAllConditionSets" })`
- CLI: `npx zapier-sdk run-action beehiiv search listAllConditionSets`

##### List All Custom Fields
Returns a list of custom fields.

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

##### List All Newsletter Lists
Retrieve all newsletter lists belonging to a specific publication.

- Type: search · Key: `listAllNewsletterLists`
- Requires: publicationId
- Optional: limit, page, direction
- MCP tool: `beehiiv_list_all_newsletter_lists` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "listAllNewsletterLists" })`
- CLI: `npx zapier-sdk run-action beehiiv search listAllNewsletterLists`

##### List All Newsletter List Subscriptions
List all subscriptions for a newsletter list.

- Type: search · Key: `listAllNewsletterListSubscriptions`
- Requires: publicationId, newsletterListId
- Optional: limit, page, cursor, direction
- MCP tool: `beehiiv_list_all_newsletter_list_subscriptions` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "listAllNewsletterListSubscriptions" })`
- CLI: `npx zapier-sdk run-action beehiiv search listAllNewsletterListSubscriptions`

##### List All Polls
Retrieve all polls belonging to a specific publication. Poll choices are always included.

- Type: search · Key: `listAllPolls`
- Requires: publicationId
- Optional: expand[], limit, page, cursor, order_by, direction, post_id
- MCP tool: `beehiiv_list_all_polls` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "listAllPolls" })`
- CLI: `npx zapier-sdk run-action beehiiv search listAllPolls`

##### List All Post Templates
Retrieve a list of post templates available for the publication.

- Type: search · Key: `listAllPostTemplates`
- Requires: publicationId
- Optional: limit, page, order
- MCP tool: `beehiiv_list_all_post_templates` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "listAllPostTemplates" })`
- CLI: `npx zapier-sdk run-action beehiiv search listAllPostTemplates`

##### List Subscription Tiers
Retrieve all tiers belonging to a specific publication.

- Type: search · Key: `listAllTiers`
- Requires: publicationId
- Optional: expand[], direction, limit, page
- MCP tool: `beehiiv_list_subscription_tiers` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "listAllTiers" })`
- CLI: `npx zapier-sdk run-action beehiiv search listAllTiers`

##### List Complimentary Access
Retrieve all complimentary access offers belonging to a specific publication.

- Type: search · Key: `listComplimentaryAccess`
- Requires: publicationId
- Optional: expand[], limit, cursor
- MCP tool: `beehiiv_list_complimentary_access` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "listComplimentaryAccess" })`
- CLI: `npx zapier-sdk run-action beehiiv search listComplimentaryAccess`

##### List Poll Responses
Retrieve all individual subscriber responses for a specific poll with cursor-based pagination.

- Type: search · Key: `listPollResponses`
- Requires: publicationId, pollId
- Optional: expand[], limit, cursor, page, order_by, direction, post_id
- MCP tool: `beehiiv_list_poll_responses` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "listPollResponses" })`
- CLI: `npx zapier-sdk run-action beehiiv search listPollResponses`

##### List a Segment's Member Ids
List subscriber IDs for a segment. Returns a lightweight array of subscription IDs only, without additional subscriber details.

- Type: search · Key: `listSegmentMemberIds`
- Requires: publicationId, segmentId
- Optional: limit, page
- MCP tool: `beehiiv_list_a_segment_s_member_ids` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "listSegmentMemberIds" })`
- CLI: `npx zapier-sdk run-action beehiiv search listSegmentMemberIds`

##### List a Segment's Members
Return a list of members from a specific segment.

- Type: search · Key: `listSegmentMembers`
- Requires: publicationId, segmentId
- Optional: limit, page
- MCP tool: `beehiiv_list_a_segment_s_members` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "listSegmentMembers" })`
- CLI: `npx zapier-sdk run-action beehiiv search listSegmentMembers`

##### List All Publications
Returns a list of publications with their publication IDs.

- Type: search · Key: `Publicationsget`
- Requires: nothing
- Optional: expand[], limit, page
- MCP tool: `beehiiv_list_all_publications` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "Publicationsget" })`
- CLI: `npx zapier-sdk run-action beehiiv search Publicationsget`

##### List All Posts
Returns a list of posts for a particular publication.

- Type: search · Key: `PublicationsPublicationIdPostsget`
- Requires: publicationId, audience, platform, status
- Optional: expand[], content_tags[], limit, page
- MCP tool: `beehiiv_list_all_posts` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "PublicationsPublicationIdPostsget" })`
- CLI: `npx zapier-sdk run-action beehiiv search PublicationsPublicationIdPostsget`

##### View Referral Program
Retrieve details about the publication's referral program, including milestones and rewards.

- Type: search · Key: `PublicationsPublicationIdReferralProgramget`
- Requires: publicationId
- Optional: limit, page
- MCP tool: `beehiiv_view_referral_program` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "PublicationsPublicationIdReferralProgramget" })`
- CLI: `npx zapier-sdk run-action beehiiv search PublicationsPublicationIdReferralProgramget`

##### List All Segments
Return a list of segments from a publication.

- Type: search · Key: `PublicationsPublicationIdSegmentsget`
- Requires: publicationId, type, status
- Optional: limit, page
- MCP tool: `beehiiv_list_all_segments` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "PublicationsPublicationIdSegmentsget" })`
- CLI: `npx zapier-sdk run-action beehiiv search PublicationsPublicationIdSegmentsget`

##### List All Subscribers
Retrieve all subscriptions belonging to a specific publication.

- Type: search · Key: `PublicationsPublicationIdSubscriptionsget`
- Requires: publicationId
- Optional: email, status, tier, expand[], limit, page, order_by, direction
- MCP tool: `beehiiv_list_all_subscribers` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "PublicationsPublicationIdSubscriptionsget" })`
- CLI: `npx zapier-sdk run-action beehiiv search PublicationsPublicationIdSubscriptionsget`

##### View Aggregate Post Stats
Retrieve aggregate stats for all posts.

- Type: search · Key: `viewAggregatePostStats`
- Requires: publicationId
- Optional: audience, platform, status, content_tags, authors, hidden_from_feed
- MCP tool: `beehiiv_view_aggregate_post_stats` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "viewAggregatePostStats" })`
- CLI: `npx zapier-sdk run-action beehiiv search viewAggregatePostStats`

##### View an Author
Views the details of a single author.

- Type: search · Key: `viewAuthor`
- Requires: publicationId, authorId
- MCP tool: `beehiiv_view_an_author` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "viewAuthor" })`
- CLI: `npx zapier-sdk run-action beehiiv search viewAuthor`

##### View an Automation
Views the details of a single automation.

- Type: search · Key: `viewAutomation`
- Requires: publicationId, automationId
- MCP tool: `beehiiv_view_an_automation` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "viewAutomation" })`
- CLI: `npx zapier-sdk run-action beehiiv search viewAutomation`

##### View an Automation Journey
Views the details of a single automation journey.

- Type: search · Key: `viewAutomationJourney`
- Requires: publicationId, automationId, automationJourneyId
- MCP tool: `beehiiv_view_an_automation_journey` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "viewAutomationJourney" })`
- CLI: `npx zapier-sdk run-action beehiiv search viewAutomationJourney`

##### View Condition Set
Views the details of a single condition set.

- Type: search · Key: `viewConditionSet`
- Requires: publicationId, conditionSetId
- Optional: expand[]
- MCP tool: `beehiiv_view_condition_set` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "viewConditionSet" })`
- CLI: `npx zapier-sdk run-action beehiiv search viewConditionSet`

##### View Custom Field
Views the details of a single custom field.

- Type: search · Key: `viewCustomField`
- Requires: publicationId, customFieldId
- MCP tool: `beehiiv_view_custom_field` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "viewCustomField" })`
- CLI: `npx zapier-sdk run-action beehiiv search viewCustomField`

##### View Newsletter List
Retrieve a single newsletter list belonging to a specific publication.

- Type: search · Key: `viewNewsletterList`
- Requires: publicationId, newsletterListId
- MCP tool: `beehiiv_view_newsletter_list` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "viewNewsletterList" })`
- CLI: `npx zapier-sdk run-action beehiiv search viewNewsletterList`

##### View Newsletter List Subscription
Retrieve a single newsletter list subscription belonging to a specific newsletter list.

- Type: search · Key: `viewNewsletterListSubscription`
- Requires: publicationId, newsletterListId, newsletterListSubscriptionId
- MCP tool: `beehiiv_view_newsletter_list_subscription` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "viewNewsletterListSubscription" })`
- CLI: `npx zapier-sdk run-action beehiiv search viewNewsletterListSubscription`

##### View a Poll
Retrieve detailed information about a specific poll belonging to a publication. Use `expand[]=stats` for aggregate vote counts, or `expand[]=poll_responses` for individual subscriber responses.

- Type: search · Key: `viewPoll`
- Requires: publicationId, pollId
- Optional: expand[]
- MCP tool: `beehiiv_view_a_poll` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "viewPoll" })`
- CLI: `npx zapier-sdk run-action beehiiv search viewPoll`

##### View a Post
View the details of a single post.

- Type: search · Key: `viewPost`
- Requires: publicationId, postId
- Optional: expand[]
- MCP tool: `beehiiv_view_a_post` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "viewPost" })`
- CLI: `npx zapier-sdk run-action beehiiv search viewPost`

##### View the Details of a Single Publication
Retrieve the details of a single publication.

- Type: search · Key: `viewPublication`
- Requires: publicationId
- Optional: expand[]
- MCP tool: `beehiiv_view_the_details_of_a_single_publication` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "viewPublication" })`
- CLI: `npx zapier-sdk run-action beehiiv search viewPublication`

##### View Publications by Subscription Email
Retrieve all publications in the workspace that have a subscription for the specified email address.

- Type: search · Key: `viewPublicationsBySubscriptionEmail`
- Requires: email
- Optional: expand[]
- MCP tool: `beehiiv_view_publications_by_subscription_email` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "viewPublicationsBySubscriptionEmail" })`
- CLI: `npx zapier-sdk run-action beehiiv search viewPublicationsBySubscriptionEmail`

##### View a Segment
Shows the details of a single segment.

- Type: search · Key: `viewSegment`
- Requires: publicationId, segmentId
- MCP tool: `beehiiv_view_a_segment` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "viewSegment" })`
- CLI: `npx zapier-sdk run-action beehiiv search viewSegment`

##### View a Subscriber (Via Email)
Shows the details of a single subscriber using their email address.

- Type: search · Key: `viewSubscriberBySubscriberEmail`
- Requires: publicationId, email
- Optional: expand[]
- MCP tool: `beehiiv_view_a_subscriber_via_email` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "viewSubscriberBySubscriberEmail" })`
- CLI: `npx zapier-sdk run-action beehiiv search viewSubscriberBySubscriberEmail`

##### View a Subscriber (Via Subscription ID)
Shows the details of a single subscriber.

- Type: search · Key: `viewSubscriberBySubscriptionID`
- Requires: publicationId, subscriptionId
- Optional: expand[]
- MCP tool: `beehiiv_view_a_subscriber_via_subscription_id` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "viewSubscriberBySubscriptionID" })`
- CLI: `npx zapier-sdk run-action beehiiv search viewSubscriberBySubscriptionID`

##### View a Tier
View the details of a single tier.

- Type: search · Key: `viewTier`
- Requires: publicationId, tierId
- Optional: expand[]
- MCP tool: `beehiiv_view_a_tier` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "viewTier" })`
- CLI: `npx zapier-sdk run-action beehiiv search viewTier`

## PayPal

### Identity
PayPal is a fast, safe way to send money, make an online payment, receive money or set up a merchant account. With over 150 million active registered accounts, PayPal helps people and businesses receive and make payments in more than 100 currencies in 203 markets.

- App slug: paypal
- Operations published here: 20 (9 events, 3 functions, 8 queries)

### Authentication
Zapier connects to PayPal 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 paypal
```

### Capabilities

#### Events (9)

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

##### Billing Plan Webhooks
Triggers when a billing plan event occurs.

- Type: read · Key: `billing_plan_webhooks`
- Requires: nothing
- Optional: docs_copy, events
- MCP tool: `paypal_billing_plan_webhooks` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "read", action: "billing_plan_webhooks" })`
- CLI: `npx zapier-sdk run-action paypal read billing_plan_webhooks`

##### Billing Subscription Webhooks
Triggers when a billing subscription event occurs.

- Type: read · Key: `billing_subscription_webhooks`
- Requires: nothing
- Optional: docs_copy, events
- MCP tool: `paypal_billing_subscription_webhooks` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "read", action: "billing_subscription_webhooks" })`
- CLI: `npx zapier-sdk run-action paypal read billing_subscription_webhooks`

##### Canceled Recurring Payment Webhooks
Triggers when a recurring payment subscription is canceled.

- Type: read · Key: `canceled_recurring_payment_webhooks`
- Requires: nothing
- Optional: docs_copy, events
- MCP tool: `paypal_canceled_recurring_payment_webhooks` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "read", action: "canceled_recurring_payment_webhooks" })`
- CLI: `npx zapier-sdk run-action paypal read canceled_recurring_payment_webhooks`

##### Failed Payment Webhooks
Triggers when a payment fails, is denied, or is declined.

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

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

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

##### Payment Capture Webhooks
Triggers when a payment capture event occurs.

- Type: read · Key: `payment_capture_webhooks`
- Requires: nothing
- Optional: docs_copy, events
- MCP tool: `paypal_payment_capture_webhooks` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "read", action: "payment_capture_webhooks" })`
- CLI: `npx zapier-sdk run-action paypal read payment_capture_webhooks`

##### Payment Refund Webhooks
Triggers when a payment refund event occurs.

- Type: read · Key: `payment_refund_webhooks`
- Requires: nothing
- Optional: docs_copy, events
- MCP tool: `paypal_payment_refund_webhooks` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "read", action: "payment_refund_webhooks" })`
- CLI: `npx zapier-sdk run-action paypal read payment_refund_webhooks`

##### Payment Sale Webhooks
Triggers when a payment sale event occurs.

- Type: read · Key: `payment_sale_webhooks`
- Requires: nothing
- Optional: docs_copy, events
- MCP tool: `paypal_payment_sale_webhooks` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "read", action: "payment_sale_webhooks" })`
- CLI: `npx zapier-sdk run-action paypal read payment_sale_webhooks`

##### Recurring Payment Webhooks
Triggers when a recurring subscription payment is completed.

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

#### Functions (3)

Functions change something in PayPal.

##### Create Invoice
Create a new draft invoice in PayPal.

- Type: write · Key: `create_invoice`
- Requires: item_name, item_quantity, item_unit_amount
- Optional: invoice_number, reference, currency_code, invoice_date, due_date, payment_term_type, note, terms_and_conditions, memo, invoicer_business_name, invoicer_given_name, invoicer_surname, invoicer_email, invoicer_phone_country_code, invoicer_phone_number, invoicer_phone_type, invoicer_website, invoicer_tax_id, invoicer_logo_url, invoicer_additional_notes, invoicer_address_line_1, invoicer_address_line_2, invoicer_address_line_3, invoicer_city, invoicer_state, invoicer_postal_code, invoicer_country_code, recipient_business_name, recipient_given_name, recipient_surname, recipient_email, recipient_phone_country_code, recipient_phone_number, recipient_phone_type, recipient_additional_info, recipient_language, recipient_address_line_1, recipient_address_line_2, recipient_address_line_3, recipient_city, recipient_state, recipient_postal_code, recipient_country_code, shipping_business_name, shipping_given_name, shipping_surname, shipping_address_line_1, shipping_address_line_2, shipping_address_line_3, shipping_city, shipping_state, shipping_postal_code, shipping_country_code, item_description, item_unit_of_measure, item_date, item_tax_name, item_tax_percent, item_tax_note, item_discount_type, item_discount_value, invoice_discount_type, invoice_discount_value, shipping_amount, shipping_tax_name, shipping_tax_percent, custom_label, custom_amount, allow_partial_payment, minimum_amount_due, allow_tip, tax_calculated_after_discount, tax_inclusive, template_id, additional_recipients
- MCP tool: `paypal_create_invoice` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "write", action: "create_invoice" })`
- CLI: `npx zapier-sdk run-action paypal write create_invoice`

##### Create Payment
Create a new payment order using PayPal Orders v2 API.

- Type: write · Key: `create_payment`
- Requires: amount
- Optional: currency_code, intent, description, reference_id, custom_id, invoice_id, payer_email, payer_given_name, payer_surname, item_name, item_quantity, item_sku, item_category, shipping_type, shipping_full_name, shipping_email, shipping_address_line_1, shipping_address_line_2, shipping_admin_area_1, shipping_admin_area_2, shipping_postal_code, shipping_country_code, return_url, cancel_url, brand_name, shipping_preference, user_action, soft_descriptor
- MCP tool: `paypal_create_payment` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "write", action: "create_payment" })`
- CLI: `npx zapier-sdk run-action paypal write create_payment`

##### Send Invoice
Send an existing invoice to the recipient.

- Type: write · Key: `send_invoice`
- Requires: invoice_id
- Optional: send_to_recipient, send_to_invoicer, subject, note, additional_recipients
- MCP tool: `paypal_send_invoice` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "paypal", actionType: "write", action: "send_invoice" })`
- CLI: `npx zapier-sdk run-action paypal write send_invoice`

#### Queries (8)

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

##### Search Authorized Payment
Search for an authorized payment by ID.

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

##### Search Captured Payment
Search for a captured payment by ID.

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

##### Search Invoice
Search for an invoice by ID.

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

##### Search Order
Search for an order by ID.

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

##### Search Plan
Search for a plan by ID.

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

##### Search Product
Search for a product by ID.

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

##### Search Refund
Search for a refund by ID.

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

##### Search Billing Subscription
Search for a billing subscription by ID.

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

## Frequently asked questions about automating with beehiiv and PayPal

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