Connect beehiiv to your Wiro AI agent
Newsletter posts and subscribers on beehiiv.
How did last week's two issues do, and which link did readers click most?
Both went to about 18,200 subscribers of The Crankset:
- Winter tires, ranked: 54.3% unique opens, 7.9% clicks, 12 unsubscribes, 1,140 web views
- The new bike lane map: 49.8% opens, 3.9% clicks, 21 unsubscribes, 860 web views
The most clicked link was the tire comparison sheet in the first post, with 812 unique clicks, more than the whole second post drew. Neither post got a spam report.
Overview
What beehiiv does for your agent
Uses a beehiiv API key, created by a workspace Owner or Admin, and works on the publications that key can reach. The agent reads posts with their email and web stats, finds, adds, tags, updates and unsubscribes subscribers, enrolls them in automations, saves and edits draft posts, sends test emails and publishes or schedules a finished draft. Reading stats and adding subscribers work on every beehiiv plan, while saving, editing and sending posts through the API need Pro or Enterprise.
Use cases
What your Wiro agent can do with beehiiv
A Monday recap of last week's issues
Every Monday, a Scheduled Task reads the issues you sent the week before and shares a recap in Chat: recipients, delivered, unique opens and clicks with their rates, unsubscribes, spam reports and web views, plus the links readers clicked, so you know which story to follow up on.
Turn notes into a draft post for review
Send the agent your outline, links or a rough draft in Chat. It writes the post and saves it in beehiiv as a draft for the audience you pick, then gives you a preview link you open while signed in to beehiiv. The draft reaches no one. Saving drafts through the API needs the Pro or Enterprise plan.
Test, then send or schedule the approved issue
When the draft reads right, the agent emails a test to the addresses you give. After your approval it publishes the post now or at the time you set. A sent post cannot go back to draft, so the agent checks the post first and sends finished drafts only.
Add event signups as subscribers
After a launch or a webinar, give the agent the emails of people who agreed to get your newsletter. It adds them with the custom fields and tags you name, follows your publication's double opt-in setting unless you say otherwise, and tells you about any field beehiiv dropped because it does not exist yet.
Start an onboarding automation without double sends
Ask the agent to start a welcome or onboarding automation for a group of subscribers. It checks that the automation has an active Add by API trigger and who is already enrolled, so nobody gets the same emails twice, and starts it for the rest. Automations start on beehiiv's Lite plan.
How it works
How beehiiv works with Wiro
- 01
Connect beehiiv
Deploy an agent, open its Connectors tab, choose beehiiv and paste what the Connect dialog asks for.
- 02
Choose what each action may do
Set each beehiiv action to Allow, Ask or Block, in Chat and in Scheduled Tasks. By default, read-only actions run, and the rest ask first in Chat.
- 03
Ask in Chat or schedule it
Ask your agent for beehiiv work in Chat, or put it on a Scheduled Task that runs on its own.
- Where it runsInside your agent. Its requests go straight from the agent to beehiiv.
- Where its data goes
api.beehiiv.com - How it signs inPaste a key. It is stored encrypted and never shown again.
What it can do
Actions your Wiro agent can take in beehiiv
By default, read-only actions run, and the rest ask first in Chat and run in Scheduled Tasks. Each agent can set any action to Allow, Ask or Block.
Read-only 12 actions
Looks things up in beehiiv and changes nothing.
| Action | What it does | Chat | Scheduled Tasks |
|---|---|---|---|
| List beehiiv publications | The publications this API key reaches, with active subscriptions (premium and free), beehiiv's average open and click rates and emails sent. | Allow | Allow |
| Get a beehiiv publication | One publication's numbers: active subscriptions (premium and free), beehiiv's average open and click rates and emails sent. | Allow | Allow |
| List beehiiv posts with stats | Posts of a publication, newest published first by default, with email numbers and web views. | Allow | Allow |
| List beehiiv draft posts | The draft posts of a publication, newest created first, with their ID, title, audience, platform and creation date. | Allow | Allow |
| Get a beehiiv post with its stats | One post: its status, audience, subject line, email and web numbers, and the ten links with the most unique clicks. | Allow | Allow |
| Get beehiiv totals over posts | Email and web totals over all posts that match the filters (sent posts by default), with the links that got the most unique clicks. | Allow | Allow |
| Find beehiiv subscriptions | Looks up subscriptions by email (exact, not case-sensitive) or lists them by status and tier, with custom fields and email numbers. | Allow | Allow |
| Get a beehiiv subscription | One subscription with its tags, custom fields, UTM source, tier and email numbers. | Allow | Allow |
| List beehiiv segments, automations and more | One of a publication's smaller lists: segments, automations, custom fields (names and kinds), tiers (IDs for recipients) or post templates. | Allow | Allow |
| List a beehiiv segment's members | The subscriptions in a segment. | Allow | Allow |
| List a beehiiv automation's journeys | Who an automation was started for: each journey with its subscription ID, email, status and start and end dates (UTC). | Allow | Allow |
| Read other beehiiv data | Reads what the actions above do not cover, straight from the beehiiv API. | Allow | Allow |
Create and send 4 actions
Creates or sends something new in beehiiv, such as a post, a message or an email.
| Action | What it does | Chat | Scheduled Tasks |
|---|---|---|---|
| Save a beehiiv draft post | Saves a post as a draft: it reaches no one. | Ask | Allow |
| Send a beehiiv test email | Sends a test email of a post to the given addresses only; it is not a send to subscribers. | Ask | Allow |
| Add a beehiiv subscriber | Adds a subscriber who agreed to receive the newsletter. | Ask | Allow |
| Enroll a beehiiv subscriber in an automation | Starts an automation for an existing subscriber, by subscription ID or email; the automation emails them, and enrolling someone twice can send its emails twice. | Ask | Allow |
Change and delete 5 actions
Changes or deletes what is already in beehiiv.
| Action | What it does | Chat | Scheduled Tasks |
|---|---|---|---|
| Edit a beehiiv draft post | Changes a draft. | Ask | Allow |
| Send or schedule a beehiiv post | Publishes a draft and emails it to its recipients now. | Ask | Allow |
| Tag a beehiiv subscriber | Adds tags to a subscription; beehiiv creates new tags on the fly (at most 100 different tags per publication). | Ask | Allow |
| Update or unsubscribe a beehiiv subscriber | Changes a subscription's custom fields, its tier (it changes paid access), or unsubscribes it. | Ask | Allow |
| Make other beehiiv changes | Sends any other change straight to the beehiiv API. | Ask | Allow |
How to connect
Connect beehiiv to Wiro
Open the agent's Connectors tab, choose beehiiv and paste what it asks for. Values are stored encrypted and never shown again.
What the Connect dialog asks for
| Field | About |
|---|---|
| beehiiv API KeyRequired | Your newsletter on beehiiv, reached with an API key from your own workspace: post stats, subscribers, segments and automations, and new posts saved as drafts. Nothing is sent to your subscribers until you approve the final text and the audience.
Plans: every plan, Free included, can use the API to read posts, stats and subscribers and to add subscribers. Creating or changing posts (beehiiv's Send API) needs the Pro or Enterprise plan and is not part of a Pro trial. Automations start on the Lite plan. beehiiv allows 30 requests a minute on Free, 180 on Lite, 500 on Pro and 800 on Enterprise. To revoke the key, open the same API page, click the three dots next to the key and choose Delete. |
| Publication IDOptional | Optional: the publication the agent works on when you do not name one. Leave it empty and the agent lists the publications your key can reach and asks which one to use.
|
Troubleshooting
Troubleshooting beehiiv
What to check when beehiiv stops working for your agent.
- An invalid or expired key If beehiiv refuses the key, for example after it was deleted or expired, the agent's beehiiv actions fail. Create a new key in beehiiv, then open the agent's Connectors tab, choose beehiiv and paste it in place of the old one.
- Limits set by beehiiv beehiiv limits how much an account can do, such as how many requests it takes in a minute. An action over a limit fails until the limit resets: wait and ask again, or check your beehiiv plan.
For developers
Connect beehiiv from your own product
Every call is a POST to the Wiro API with your project's API key. On a sign-in, your customers see your own app's name.
- 01
Read the connector
Detail answers without a session: what the connector needs and the tools it gives an agent.
POST /AgentConnector/Detail { "slug": "beehiiv" }Response { "result": true, "errors": [], "agentconnectors": [ { "slug": "beehiiv", "title": "beehiiv", "category": "content", "authtype": "fields", "credentialfields": [ { "name": "apikey", "label": "beehiiv API Key", "required": true, "secret": true, "format": "password" }, { "name": "publicationid", "label": "Publication ID", "required": false, "secret": false, "format": "text" } ], "tools": [ { "name": "list_publications", "readonly": true }, { "name": "get_publication", "readonly": true } ] } ] } - 02
Connect with the values
Send what the person typed in your form. A value you leave out keeps what the connection holds; an empty one clears it.
POST /UserAgent/ConnectorConnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "beehiiv", "values": { "apikey": "YOUR_SECRET", "publicationid": "YOUR_PUBLICATIONID" } }Response { "result": true, "errors": [], "status": "connected", "applied": 1, "restart": "scheduled" } - 03
Read the status
connected, pending (a sign-in not finished), reauth (sign in again) or error. Values and tokens never come back.
POST /UserAgent/ConnectorList { "useragentguid": "YOUR_AGENT_GUID" }Response { "result": true, "errors": [], "useragentconnectors": [ { "slug": "beehiiv", "title": "beehiiv", "authtype": "fields", "status": "connected", "accounts": {}, "savedvariables": [ "apikey", "publicationid" ], "lasterror": null } ] } - 04
Disconnect
Revokes a sign-in where the vendor allows it, deletes what the connection holds and removes the connector from the running agent.
POST /UserAgent/ConnectorDisconnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "beehiiv" }Response { "result": true, "errors": [], "removed": true, "revoked": false, "restart": "scheduled" }
Questions
beehiiv and Wiro FAQ
What can a beehiiv AI agent do?
It reads your publications, posts and their email and web stats, and finds, adds, tags, updates or unsubscribes subscribers. It lists segments and their members, automations and who is enrolled in them, custom fields and tiers, enrolls subscribers in automations, saves and edits draft posts, sends test emails, and publishes a finished draft right away or at a set time.
How do I connect beehiiv to an AI agent?
Sign in to beehiiv as the workspace Owner or an Admin, open Settings, choose API under Workspace Settings and click Create New API Key. Copy the key, which beehiiv shows once, and add it to the beehiiv entry on your agent's Connectors tab, or have the agent set it up from Chat. The Publication ID field is optional: without it, the agent lists the publications the key reaches and asks which to use.
Which beehiiv plan does the agent need?
Every plan, Free included, lets the agent read posts, stats and subscribers and add subscribers. Saving, editing and sending posts through the API needs Pro or Enterprise and is not part of a Pro trial, and automations start on Lite. beehiiv also asks a workspace to finish its identity check before API keys can be created.
Will the agent email my subscribers without asking?
Publishing a post, enrolling people in an automation and adding a subscriber with double opt-in can all send email, and in Chat each one waits for your approval by default, as do drafts, tags and unsubscribes. Reading stats needs no approval. In Scheduled Tasks, an action stops to ask only when you set it to Ask, and Block rules it out; for publishing posts, picking one of those is worth considering.
Where is my beehiiv API key stored?
The key is encrypted and kept with the connection; after you paste it, neither you nor the AI model can read it back. To revoke it, open Settings → API in beehiiv, click the three dots next to the key and choose Delete, then disconnect beehiiv on the Connectors tab.
What does it cost, and how many requests does beehiiv allow?
Connectors carry no extra charge on any agent plan. beehiiv sets request limits by plan: 30 a minute on Free, 180 on Lite, 500 on Pro and 800 on Enterprise. Test emails are capped per publication per day, and after each test the agent tells you how many are left.
Is this a beehiiv MCP integration, and can I automate it?
In practice, yes: your agent gets beehiiv's API as actions it can call, much like a beehiiv MCP server, except that it is built into the agent and needs no hosting. Use Scheduled Tasks to automate beehiiv reporting, such as a weekly stats recap or a list of new subscribers by tier, and keep publishing as a step you approve in Chat.
Access
Revoke beehiiv access
Disconnect it on the agent's Connectors tab at any time; the keys or sign-in it holds are deleted.
Related connectors
More content connectors for your Wiro agent
Blogger
Write, schedule and publish posts on your Blogger blogs.
dev.to
List, draft, publish and edit articles on dev.to.
Hashnode
Draft and publish posts on your Hashnode publication.
Qiita
Draft and publish articles on Qiita.
WordPress
Write, schedule and publish posts and media on your WordPress site.
GitBook
Read and edit the spaces and pages of your GitBook docs.
Put beehiiv to work with Wiro
Deploy an agent and connect beehiiv from its Connectors tab. Every agent plan includes it: Starter $5, Pro $30 and Max $100 a month.