beehiiv-newsletter-report
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "beehiiv-newsletter-report" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-44d1427e7d64da80b01cfec50bf026bc14931fa973db1030a1013b8de08d0f6c. Verify the upstream source and version against https://github.com/swan-gtm/gtm-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Use when building sponsor or client performance reports based on a Beehiiv publication, or when designing Beehiiv MCP tools or integrations that must expose the same metrics. Covers audience growth, open-rate and click-rate analysis (including the click-open trap in Beehiiv’s API), audience segmentation, month-over-month summaries, active reader exports, per-issue KPIs, and a pattern for auto-refreshing reports while avoiding narrative drift.
Introduction source: third_party · swan-gtm · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Use this skill when building a sponsor or client performance report on top of a Beehiiv publication, or when designing a Beehiiv MCP tool or integration that needs to expose the same metrics. It covers audience growth, open and click rate analysis (including the click-to-open trap in Beehiiv's own API), audience segmentation, month-over-month synopsis, an engaged-reader export, per-issue KPIs, and a pattern for keeping the report refreshed automatically without the narrative drifting.
- Audience
- Use it when asked to build, extend, or automate a newsletter/sponsor performance report backed by Beehiiv, or when exposing Beehiiv metrics through an MCP tool, API, or chatbot and needing the correct formulas and section structure rather than reinventing them.
- Software, accounts and paid services
- A Beehiiv publication ID and an API key (Bearer token) with read access to that publication. Base URL: `https://api.beehiiv.com/v2/publications/{pub_id}/...` All Beehiiv field mappings, formulas, and pagination details live in `references/beehiiv-api-reference.md`. Read it before implementing any of the sections below; several of Beehiiv's own fields are misleading (see Pitfalls) and getting them wrong produces a report that contradicts what the client sees on their own Beehiiv dashboard.
- Testing
- Not tested
Browse files
Frontmatter
name: "beehiiv-newsletter-report"
title: Beehiiv newsletter performance report
description: "Use this skill when building a sponsor or client performance report on top of a Beehiiv publication, or when designing a Beehiiv MCP tool or integration that needs to expose the same metrics. It covers audience growth, open and click rate analysis (including the click-to-open trap in Beehiiv's own API), audience segmentation, month-over-month synopsis, an engaged-reader export, per-issue KPIs, and a pattern for keeping the report refreshed automatically without the narrative drifting."
category: NewslettersPurpose
Turn raw Beehiiv publication data into a report a non-technical stakeholder (a sponsor, a client, a newsletter owner) can read in under a minute and still trust the numbers in. This skill generalizes a report built for a real newsletter sponsorship client, stripped of any client-specific branding or copy, so the same structure can be reused for any Beehiiv publication or wired into an MCP server that answers questions like "how did last month's issues perform."
When to use this skill
Use it when asked to build, extend, or automate a newsletter/sponsor performance report backed by Beehiiv, or when exposing Beehiiv metrics through an MCP tool, API, or chatbot and needing the correct formulas and section structure rather than reinventing them.
Prerequisites
- A Beehiiv publication ID and an API key (Bearer token) with read access to that publication.
- Base URL:
https://api.beehiiv.com/v2/publications/{pub_id}/... - All Beehiiv field mappings, formulas, and pagination details live in
references/beehiiv-api-reference.md. Read it before implementing any of the sections below; several of Beehiiv's own fields are misleading (see Pitfalls) and getting them wrong produces a report that contradicts what the client sees on their own Beehiiv dashboard.
Report anatomy
A complete report has nine sections. Build them in roughly this order, since later sections depend on data assembled for earlier ones.
- Hero stats: total growth since launch, current audience size, average open rate over a recent window (e.g. trailing several months). Three numbers, no chart, at the very top.
- Website / lead magnet links: a short list of outbound links relevant to the newsletter itself (its homepage) and any sponsor/lead-magnet destination being tracked (e.g. a landing page a sponsor cares about). Plain outbound links, not chart data.
- Audience growth chart: one time series of subscriber count, spanning the newsletter's full history to date.
- Open rate analysis: a per-issue open-rate bar chart plus a short structured narrative (a question, an answer/verdict, supporting points, one forward-looking opportunity).
- Click rate analysis: the same narrative structure as open rate analysis, charting clicks or click rate per issue instead.
- Audience insights: an engagement segmentation (how loyal is the audience, by lifetime open rate) and a list-health breakdown (active / inactive / invalid).
- Month-over-month tabs: one tab per calendar month, each with a synopsis (headline, highlights, opportunities), that month's rollup stats, and every issue published that month.
- Engaged-reader export: for reports tracking clicks to a specific sponsor/partner link, a table of who clicked, exportable as CSV, with a searchable full-list view and a breakdown by company/industry category.
- Per-issue KPI cards: nested inside each month tab: recipients, delivered, open rate, click rate, unsubscribes, spam reports, per individual issue.
Full data shapes and exact chart/card content for each section are in
references/report-sections.md.
Workflow to build one
- Confirm credentials and the publication ID; verify a single
GET /posts?limit=1call succeeds before building anything else. - Fetch confirmed posts with stats (
expand[]=stats,status=confirmed, ordered by publish date ascending). This one call powers sections 4, 5, 7, and 9. - Compute per-issue fields and per-month rollups using the formulas in
references/beehiiv-api-reference.md(do not trust Beehiiv'sclick_ratefield at face value; see Pitfalls). - Build the audience growth series (section 3). Decide the growth mode up front:
per-issue(derived from posts) orsubscriber-timeline(a hand-curated periodic snapshot). Seereferences/beehiiv-api-reference.mdfor when each applies. - Fetch the full subscriber list with
expand[]=stats, cursor-paginating to completion, and compute the engagement segments and list-health split for section 6. - Write the narrative content for sections 4, 5, and 7 (the only genuinely generated prose in the report). Keep it short, specific to the actual numbers, and free of hedging.
- If the report needs section 8, treat it as a periodic manual/semi-automated step, not a live API call. See Pitfalls.
- Render nothing for any section whose backing data is empty or absent (no polls, no audience data yet, no engaged-reader export configured) rather than showing an empty or placeholder state. This lets sections be added to a report incrementally as data becomes available.
Automating a refresh
Once a report exists, keep it current on a schedule (e.g. weekly) rather than hand-updating it.
The refresh should treat "recompute deterministic numbers" and "regenerate narrative" as two
different jobs with two different reliability bars. See references/automation-pipeline.md for
the full pattern, including a multi-tenant registry design for running the same pipeline across
several publications/clients at once.
Pitfalls
These are the mistakes most likely to produce a report that looks fine but is wrong:
- Beehiiv's
click_ratefield is click-to-open (clicks / opens), not clicks-per-delivered. If the report is meant to show "what fraction of the send resulted in a click," computeunique_clicks / deliveredyourself. Consider displaying whichever of the two figures is larger, since that is usually the number the client already sees emphasized on their own Beehiiv dashboard, and a report showing a smaller number reads as wrong even when it is arguably more correct. - The poll
poll_responsesexpand on a poll's GET endpoint is capped at 10 responses and cannot paginate. Any poll with more than 10 responses will silently under-report through that path. Get accurate per-choice counts by cursor-paginating/polls/{id}/responsesand tallyingpoll_choice_idclient-side instead. - Beehiiv exposes no subscriber location data. Do not build or fake a geographic view; it does not exist in the API and any resemblance to one will be pure invention.
- Compute engagement segments only over subscribers who have received enough issues to have a meaningful lifetime open rate (e.g. at least 3). Otherwise a batch of freshly imported subscribers who have only seen one issue distorts the segmentation, since anyone who has not opened yet reads identically to someone who never will.
- A "who clicked this specific sponsor link" export is generally not a clean, documented, single API call. Beehiiv's own dashboard supports building a subscriber segment from click behavior and exporting it as CSV; the practical path is to pull that CSV periodically and enrich it yourself (e.g. classify each subscriber's email domain into a company/industry category with a lightweight heuristic or an LLM pass), rather than trying to reproduce it as a live query inside an automated refresh.
- A publication's early history may predate structured per-issue tracking or was migrated from a different platform. For that period, a hand-curated subscriber-count timeline (which can rise or fall) is more honest than deriving growth from per-issue recipient counts, which is roughly monotonic by construction and will paper over real churn.
- Never regenerate all narrative sections wholesale on every refresh. Update only the month or analysis affected by new data, and preserve the tone, length, and untouched prose from prior periods; wholesale regeneration produces visible tonal drift and makes diffs impossible to review.
For MCP tool / integration builders
If exposing this as MCP tools or an API instead of (or in addition to) a rendered report page, map each section to its own tool so a client can compose them conversationally or a UI can call them independently:
get_publication_summary→ hero stats (section 1)get_audience_growth→ growth series (section 3)get_rate_analysis(parameterized byopenorclick) → sections 4 and 5get_audience_segments→ engagement segmentation and list health (section 6)get_monthly_report(parameterized by month) → that month's synopsis, rollups, and issues (section 7)export_engaged_subscribers→ section 8, backed by the periodic CSV/enrichment pipeline, not a live Beehiiv callget_issue_kpis(parameterized by post ID or date range) → section 9
Cache subscriber-list pagination results where possible; a full engagement-segment computation requires walking the entire subscriber list, which can be thousands of paginated records, on every call otherwise.
What good looks like
A report a non-technical stakeholder can read in under a minute and still trust the numbers in — click rates that match what the client sees on their own Beehiiv dashboard, poll tallies from full pagination rather than the capped expand, engagement segments that exclude subscribers too new to have a meaningful lifetime open rate, and narrative that changes only where the numbers did. The failure modes: a click rate that contradicts the client's dashboard, a silently under-reported poll, an invented geographic view, or wholesale-regenerated prose drifting in tone between refreshes.
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决非技术利益相关者快速理解 Beehiiv 出版物绩效的核心痛点,提供端到端报告生成方案
- 涵盖受众增长、打开率、点击率分析、受众细分、月度环比、活跃读者导出等完整闭环功能
- 明确识别并规避 Beehiiv API 常见陷阱(如 click_rate 字段误导、poll_responses 截断等),确保数据准确性
Highlights
- 触发词精准完整,明确覆盖赞助商报告、客户绩效报告、MCP 工具集成等多种使用场景
- 边界清晰,无歧义,有效区分于其他通用数据分析工具
Highlights
- 结构清晰,分阶段构建报告(Hero stats → Audience growth → Rate analysis → Audience insights → Monthly tabs → Export → KPI cards)
- 提供完整工作流(Workflow to build one)和自动化刷新模式,含端到端示例和 MCP 工具映射
- frontmatter 完整,文档组织良好,引用文件路径明确
Highlights
- 工具来源明确(Beehiiv API v2),参数正确(publication ID、Bearer token),认证流程清晰
- 覆盖主要异常场景(Pitfalls 章节详细列出 7 个关键陷阱及解决方案),确保报告数据可信
- 不可逆操作(如 engaged-reader export)设计为周期性手动/半自动步骤,避免实时 API 风险
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 25, 63
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- api.beehiiv.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
A Beehiiv publication ID and an API key (Bearer token) with read access to that publication. Base URL: `https://api.beehiiv.com/v2/publications/{pub_id}/...` All Beehiiv field mappings, formulas, and pagination details live in `references/beehiiv-api-reference.md`. Read it before implementing any of the sections below; several of Beehiiv's own fields are misleading (see Pitfalls) and getting them wrong produces a report that contradicts what the client sees on their own Beehiiv dashboard.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.