# beehiiv + Publer Integrations: Connect with Zapier MCP
> zapier.com/apps/beehiiv/integrations/publer-k20
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate beehiiv and Publer 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 · auto_schedule_post`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action publer-k20 write auto_schedule_post \
  --inputs '{}'
```

## 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.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 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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[]
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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[]
- 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
- 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
- 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
- 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[]
- 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[]
- 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[]
- 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[]
- 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
- 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[]
- 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[]
- 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[]
- SDK: `runAction({ app: "beehiiv", actionType: "search", action: "viewTier" })`
- CLI: `npx zapier-sdk run-action beehiiv search viewTier`

## Publer

### Identity
Publer is a social media management platform that lets you plan, schedule, and analyze posts across multiple social networks from one place.

- App slug: publer-k20
- Operations published here: 38 (22 events, 12 functions, 4 queries)

### Authentication
Zapier connects to Publer 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 publer-k20
```

### Capabilities

#### Events (22)

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

##### Account Connected/Disconnected
Triggers when a social account is added or removed.

- Type: read · Key: `account_connected_disconnected`
- Requires: workspace_id
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "account_connected_disconnected" })`
- CLI: `npx zapier-sdk run-action publer-k20 read account_connected_disconnected`

##### Analytics Updated
Triggers when analytics data is refreshed.

- Type: read · Key: `analytics_updated`
- Requires: workspace_id
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "analytics_updated" })`
- CLI: `npx zapier-sdk run-action publer-k20 read analytics_updated`

##### Audience Milestone Reached
Triggers when an account crosses a follower, engagement, or engagement rate milestone.

- Type: read · Key: `audience_milestone`
- Requires: workspace_id, account_id, metric, threshold
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "audience_milestone" })`
- CLI: `npx zapier-sdk run-action publer-k20 read audience_milestone`

##### Best Times Changed
Triggers when optimal posting times change for an account.

- Type: read · Key: `best_times_changed`
- Requires: workspace_id, account_id
- Optional: from, to
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "best_times_changed" })`
- CLI: `npx zapier-sdk run-action publer-k20 read best_times_changed`

##### Competitor Spike
Triggers when a competitor's metrics spike significantly.

- Type: read · Key: `competitor_spike`
- Requires: workspace_id, account_id, metric, spike_percent
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "competitor_spike" })`
- CLI: `npx zapier-sdk run-action publer-k20 read competitor_spike`

##### Hashtag Spike
Triggers when a hashtag's usage or engagement surges across tracked posts.

- Type: read · Key: `hashtag_spike`
- Requires: workspace_id, metric, spike_percent
- Optional: account_id, from, to
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "hashtag_spike" })`
- CLI: `npx zapier-sdk run-action publer-k20 read hashtag_spike`

##### Member Performance Spike
Triggers when a team member's performance metrics spike significantly.

- Type: read · Key: `member_performance_spike`
- Requires: workspace_id, date_from, date_to, metric_type
- Optional: account_id, spike_percent, minimum_threshold
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "member_performance_spike" })`
- CLI: `npx zapier-sdk run-action publer-k20 read member_performance_spike`

##### New Draft
Triggers when a new draft post is created.

- Type: read · Key: `new_draft`
- Requires: workspace_id
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "new_draft" })`
- CLI: `npx zapier-sdk run-action publer-k20 read new_draft`

##### New Idea
Triggers when a new idea is added to the Ideas tab.

- Type: read · Key: `new_idea`
- Requires: workspace_id
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "new_idea" })`
- CLI: `npx zapier-sdk run-action publer-k20 read new_idea`

##### New Media Uploaded
Triggers when new media is uploaded to the library.

- Type: read · Key: `new_media_uploaded`
- Requires: workspace_id
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "new_media_uploaded" })`
- CLI: `npx zapier-sdk run-action publer-k20 read new_media_uploaded`

##### Post Published
Triggers when a post is published.

- Type: read · Key: `new_published_post`
- Requires: workspace_id
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "new_published_post" })`
- CLI: `npx zapier-sdk run-action publer-k20 read new_published_post`

##### Post Approved
Triggers when a post is approved for publishing.

- Type: read · Key: `post_approved`
- Requires: workspace_id
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "post_approved" })`
- CLI: `npx zapier-sdk run-action publer-k20 read post_approved`

##### Post Created
Triggers when any new post is created.

- Type: read · Key: `post_created`
- Requires: workspace_id
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "post_created" })`
- CLI: `npx zapier-sdk run-action publer-k20 read post_created`

##### Post Failed
Triggers when a post fails to publish.

- Type: read · Key: `post_failed`
- Requires: workspace_id
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "post_failed" })`
- CLI: `npx zapier-sdk run-action publer-k20 read post_failed`

##### Post Pending Approval
Triggers when a post enters the approval stage.

- Type: read · Key: `post_pending_approval`
- Requires: workspace_id
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "post_pending_approval" })`
- CLI: `npx zapier-sdk run-action publer-k20 read post_pending_approval`

##### Post Performance Threshold
Triggers when a post reaches a performance milestone.

- Type: read · Key: `post_performance_threshold`
- Requires: workspace_id, account_id, metric, threshold
- Optional: from, to
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "post_performance_threshold" })`
- CLI: `npx zapier-sdk run-action publer-k20 read post_performance_threshold`

##### Post Scheduled
Triggers when a post is scheduled.

- Type: read · Key: `post_scheduled`
- Requires: workspace_id
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "post_scheduled" })`
- CLI: `npx zapier-sdk run-action publer-k20 read post_scheduled`

##### Post Status Updated
Triggers when a post status changes.

- Type: read · Key: `post_status_updated`
- Requires: workspace_id
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "post_status_updated" })`
- CLI: `npx zapier-sdk run-action publer-k20 read post_status_updated`

##### Top Competitor Posts
Triggers when new top competitor posts are identified.

- Type: read · Key: `top_competitor_posts_identified`
- Requires: workspace_id, account_id
- Optional: metric
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "top_competitor_posts_identified" })`
- CLI: `npx zapier-sdk run-action publer-k20 read top_competitor_posts_identified`

##### Top Hashtags Identified
Triggers when a hashtag's usage or engagement surges across tracked posts.

- Type: read · Key: `top_hashtags_identified`
- Requires: workspace_id
- Optional: account_id, metric, spike_percent
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "top_hashtags_identified" })`
- CLI: `npx zapier-sdk run-action publer-k20 read top_hashtags_identified`

##### Top Posts of Week
Triggers when new top posts of the week are identified.

- Type: read · Key: `top_posts_of_week_identified`
- Requires: workspace_id, account_id
- Optional: metric
- SDK: `runAction({ app: "publer-k20", actionType: "read", action: "top_posts_of_week_identified" })`
- CLI: `npx zapier-sdk run-action publer-k20 read top_posts_of_week_identified`

##### Workspace Created
Triggers when a new workspace is created.

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

#### Functions (12)

Functions change something in Publer.

##### Auto Schedule Post
Automatically schedule a post at the best available time slot.

- Type: write · Key: `auto_schedule_post`
- Requires: workspace_id, text, account_ids
- Optional: media_ids, label, start_date, end_date, auto_share_enabled, auto_share_text, auto_share_account_ids, auto_share_delay_duration, auto_share_delay_unit, auto_share_condition, auto_share_condition_value, auto_share_condition_comparison, auto_comment_enabled, auto_comment_text, auto_delete_enabled, auto_delete_duration, auto_delete_unit, auto_delete_can_hide
- SDK: `runAction({ app: "publer-k20", actionType: "write", action: "auto_schedule_post" })`
- CLI: `npx zapier-sdk run-action publer-k20 write auto_schedule_post`

##### Create Post
Create a post (publish now, schedule, or save as draft).

- Type: write · Key: `create_post`
- Requires: workspace_id, text, account_ids, state
- Optional: media_ids, scheduled_at, auto_share_enabled, auto_share_text, auto_share_account_ids, auto_share_delay_duration, auto_share_delay_unit, auto_share_condition, auto_share_condition_value, auto_share_condition_comparison, auto_comment_enabled, auto_comment_text, auto_delete_enabled, auto_delete_duration, auto_delete_unit, auto_delete_can_hide
- SDK: `runAction({ app: "publer-k20", actionType: "write", action: "create_post" })`
- CLI: `npx zapier-sdk run-action publer-k20 write create_post`

##### Export Analytics Report
Export an analytics report as PDF or CSV.

- Type: write · Key: `export_analytics_report`
- Requires: workspace_id, tab, date_from, date_to
- Optional: format, sort_by, sort_type
- SDK: `runAction({ app: "publer-k20", actionType: "write", action: "export_analytics_report" })`
- CLI: `npx zapier-sdk run-action publer-k20 write export_analytics_report`

##### Export Competitor Benchmark
Get your growth rate compared to competitors for a date range.

- Type: write · Key: `export_competitor_benchmark`
- Requires: workspace_id, date_from, date_to
- SDK: `runAction({ app: "publer-k20", actionType: "write", action: "export_competitor_benchmark" })`
- CLI: `npx zapier-sdk run-action publer-k20 write export_competitor_benchmark`

##### Export Member Leaderboard
Get a ranked leaderboard of team members based on analytics performance.

- Type: write · Key: `export_member_leaderboard`
- Requires: workspace_id, date_from, date_to
- SDK: `runAction({ app: "publer-k20", actionType: "write", action: "export_member_leaderboard" })`
- CLI: `npx zapier-sdk run-action publer-k20 write export_member_leaderboard`

##### Generate Competitors Top Posts
Get the top 5 performing competitor posts based on analytics.

- Type: write · Key: `generate_competitors_top_posts`
- Requires: workspace_id, date_from, date_to
- Optional: sort_by, competitor_id
- SDK: `runAction({ app: "publer-k20", actionType: "write", action: "generate_competitors_top_posts" })`
- CLI: `npx zapier-sdk run-action publer-k20 write generate_competitors_top_posts`

##### Generate Top Hashtags
Get the top 5 performing hashtags based on analytics.

- Type: write · Key: `generate_top_hashtags`
- Requires: workspace_id, date_from, date_to
- Optional: sort_by
- SDK: `runAction({ app: "publer-k20", actionType: "write", action: "generate_top_hashtags" })`
- CLI: `npx zapier-sdk run-action publer-k20 write generate_top_hashtags`

##### Generate Top Posts
Get the top 5 performing posts based on analytics.

- Type: write · Key: `generate_top_posts`
- Requires: workspace_id, date_from, date_to
- Optional: sort_by
- SDK: `runAction({ app: "publer-k20", actionType: "write", action: "generate_top_posts" })`
- CLI: `npx zapier-sdk run-action publer-k20 write generate_top_posts`

##### Schedule Recurring Post
Schedule a post that repeats on specific days at a set frequency.

- Type: write · Key: `schedule_post_recurring`
- Requires: workspace_id, text, account_ids, recurring_start_date, recurring_end_date, recurring_repeat, recurring_days_of_week, recurring_repeat_rate
- Optional: media_ids, auto_share_enabled, auto_share_text, auto_share_account_ids, auto_share_delay_duration, auto_share_delay_unit, auto_share_condition, auto_share_condition_value, auto_share_condition_comparison, auto_comment_enabled, auto_comment_text, auto_delete_enabled, auto_delete_duration, auto_delete_unit, auto_delete_can_hide
- SDK: `runAction({ app: "publer-k20", actionType: "write", action: "schedule_post_recurring" })`
- CLI: `npx zapier-sdk run-action publer-k20 write schedule_post_recurring`

##### Schedule Recycling Post
Schedule a post that automatically recycles (reposts) at a set interval.

- Type: write · Key: `schedule_post_recycling`
- Requires: workspace_id, text, account_ids, recycling_gap, recycling_gap_freq
- Optional: media_ids, label, recycling_solo, recycling_start_date, recycling_expire_count, recycling_expire_date, auto_share_enabled, auto_share_text, auto_share_account_ids, auto_share_delay_duration, auto_share_delay_unit, auto_share_condition, auto_share_condition_value, auto_share_condition_comparison, auto_comment_enabled, auto_comment_text, auto_delete_enabled, auto_delete_duration, auto_delete_unit, auto_delete_can_hide
- SDK: `runAction({ app: "publer-k20", actionType: "write", action: "schedule_post_recycling" })`
- CLI: `npx zapier-sdk run-action publer-k20 write schedule_post_recycling`

##### Suggest Best Time
Get recommended posting times based on analytics.

- Type: write · Key: `suggest_best_time`
- Requires: workspace_id, account_id, from, to
- SDK: `runAction({ app: "publer-k20", actionType: "write", action: "suggest_best_time" })`
- CLI: `npx zapier-sdk run-action publer-k20 write suggest_best_time`

##### Upload Media
Upload files to the media library from URLs or directly from your files.

- Type: write · Key: `upload_media`
- Requires: workspace_id
- SDK: `runAction({ app: "publer-k20", actionType: "write", action: "upload_media" })`
- CLI: `npx zapier-sdk run-action publer-k20 write upload_media`

#### Queries (4)

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

##### Find Analytics by Date Range
Retrieve analytics data for a specific timeframe.

- Type: search · Key: `find_analytics`
- Requires: workspace_id, chart_ids, from, to
- Optional: account_id
- SDK: `runAction({ app: "publer-k20", actionType: "search", action: "find_analytics" })`
- CLI: `npx zapier-sdk run-action publer-k20 search find_analytics`

##### Find Best Time to Post
Retrieve recommended posting times for an account.

- Type: search · Key: `find_best_time`
- Requires: workspace_id, account_id, from, to
- SDK: `runAction({ app: "publer-k20", actionType: "search", action: "find_best_time" })`
- CLI: `npx zapier-sdk run-action publer-k20 search find_best_time`

##### Find Media
Search for media by name, type, or folder.

- Type: search · Key: `find_media`
- Requires: workspace_id
- Optional: media_name, type, folder_id
- SDK: `runAction({ app: "publer-k20", actionType: "search", action: "find_media" })`
- CLI: `npx zapier-sdk run-action publer-k20 search find_media`

##### Find Post
Find a post by ID. Workspace is required for backend permission.

- Type: search · Key: `find_post`
- Requires: post_id
- Optional: workspace_id
- SDK: `runAction({ app: "publer-k20", actionType: "search", action: "find_post" })`
- CLI: `npx zapier-sdk run-action publer-k20 search find_post`

## Frequently asked questions about automating with beehiiv and Publer

### 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
- Publer integrations: zapier.com/apps/publer-k20/integrations.md
- Full page: zapier.com/apps/beehiiv/integrations/publer-k20
- SDK: npmjs.com/package/@zapier/zapier-sdk