> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt # Workflows reference Canonical URL: https://posthog.com/docs/workflows/reference ## On this page - [Limits, quotas, and sending tiers](#limits-quotas-and-sending-tiers) - [API reference](#api-reference) - [Server SDKs](#server-sdks) - [Agent skills](#agent-skills) - [MCP tools](#mcp-tools) - [Settings and lookup tables](#settings-and-lookup-tables) - [Amazon SES documentation](#amazon-ses-documentation) - [Concepts](#concepts) Look up the limits, APIs, SDKs, and settings of Workflows here. Each entry links to the page with the full details. ## Limits, quotas, and sending tiers [Limits, quotas, and sending tiers](https://posthog.com/docs/workflows/reference/limits.md) lists every limit in one place: - [Sending tiers](https://posthog.com/docs/workflows/reference/limits.md#sending-tiers) – the daily email allowance of each tier, and how a project moves between tiers - [Rate-limited broadcasts](https://posthog.com/docs/workflows/reference/limits.md#rate-limited-broadcasts) – how far a broadcast with a sending rate limit can reach - [API and SDK limits](https://posthog.com/docs/workflows/reference/limits.md#api-and-sdk-limits) – rate limits, idempotency keys, attachments, and bulk requests - [Email and automation limits](https://posthog.com/docs/workflows/reference/limits.md#email-and-automation-limits) – frequency cap, run variables, triggers, and AI steps - [Test sender limits](https://posthog.com/docs/workflows/reference/limits.md#test-sender-limits) – what the PostHog test sender sends, and to whom ## API reference The [Workflows API](https://posthog.com/docs/workflows/api.md) page explains which key each endpoint needs. Each reference page lists every endpoint and field. | Reference | What it covers | | --- | --- | | [Transactional email](https://posthog.com/docs/api/transactional-email.md) | Send email, upload attachments, and check the status of a send. | | [Email templates](https://posthog.com/docs/api/email-templates.md) | Manage the templates in the email library, and mark a template as transactional. | | [Email logs](https://posthog.com/docs/api/email-logs.md) | Read the sends of the last 30 days, with the timeline of each send. | | [Broadcasts](https://posthog.com/docs/api/broadcasts.md) | Manage broadcasts, schedules, and batch jobs, and count the people that a set of filters reaches. | | [Workflows](https://posthog.com/docs/api/workflows.md) | Manage automations and their drafts, publish them, and read their runs. | | [Email subscriptions](https://posthog.com/docs/api/email-subscriptions.md) | Manage opt-outs and message categories. | | [Suppression list](https://posthog.com/docs/api/email-subscriptions-2.md) | Add and remove addresses on the suppression list, one at a time or in bulk. | ### API keys | Key | Scopes | Use it for | | --- | --- | --- | | [Project secret API key](https://posthog.com/docs/api/project-secret-api-keys.md) | `transactional_email:write`, `transactional_email:read`, `messaging_preference:write` | Sending email, uploading attachments, reading the status of a send, and updating opt-outs from your server | | [Personal API key](https://posthog.com/docs/api/personal-api-keys.md) | `hog_flow:read`, `hog_flow:write`, `person:read`, `query:read` | Reading the send history, and managing templates, broadcasts, automations, opt-outs, and the suppression list | ## Server SDKs Each SDK sends transactional email and retries with idempotency keys for you. | SDK | From version | Guide | | --- | --- | --- | | Node.js | 5.62.0 | [Node.js](https://posthog.com/docs/workflows/installation/node.md) | | Python | 7.84.0 | [Python](https://posthog.com/docs/workflows/installation/python.md) | | Go | Any v2 release, or 1.40.0 on v1 | [Go](https://posthog.com/docs/workflows/installation/go.md) | | .NET | 2.20.0 | [.NET](https://posthog.com/docs/workflows/installation/dotnet.md) | | Rust | `posthog` 1.0.0, or `posthog-rs` 0.31.0 | [Rust](https://posthog.com/docs/workflows/installation/rust.md) | | Ruby | 3.30.0 | [Ruby](https://posthog.com/docs/workflows/installation/ruby.md) | | Elixir | 2.20.0 | [Elixir](https://posthog.com/docs/workflows/installation/elixir.md) | | PHP | 4.22.0 | [PHP](https://posthog.com/docs/workflows/installation/php.md) | | Any other language | – | [REST API](https://posthog.com/docs/workflows/installation/api.md) | ## Agent skills The [PostHog MCP](https://posthog.com/docs/workflows/mcp.md) ships these skills, so there is nothing extra to install. Your agent loads a skill when a task calls for it. [Agent skills](https://posthog.com/docs/workflows/skills.md) explains how your agent picks one. ### building-workflows [View source](https://github.com/PostHog/posthog/tree/master/products/workflows/skills/building-workflows) Build, edit, test, enable, and monitor PostHog workflows over MCP. ### designing-email-templates [View source](https://github.com/PostHog/posthog/tree/master/products/workflows/skills/designing-email-templates) Author, save, and edit email templates in the PostHog workflows library — compose email design JSON with Liquid personalization and create and round-trip-edit templates over MCP. ### importing-push-tokens [View source](https://github.com/PostHog/posthog/tree/master/products/workflows/skills/importing-push-tokens) Move existing mobile push devices from another platform (OneSignal, Braze, Customer.io, Airship, or your own Firebase backend) into a PostHog workflows push channel, so people who installed the app before the switch still get push notifications. ### measuring-email-performance [View source](https://github.com/PostHog/posthog/tree/master/products/workflows/skills/measuring-email-performance) Reports how a PostHog workflow email performs, read-only over MCP: sends, deliveries, opens, clicks, bounces and spam complaints per email step, version comparisons, clicked links, product outcomes after the send, and one person's email history. - workflows-stats - workflows-version-stats - workflows-get - execute-sql - workflows-list-batch-jobs - workflows-list - persons-list - workflows-list-invocations - read-data-schema - workflows-list-versions - workflows-list-proposals - query-session-recordings-list ### migrating-from-customer-io [View source](https://github.com/PostHog/posthog/tree/master/products/workflows/skills/migrating-from-customer-io) Move Customer.io automations into PostHog as draft workflows, and transactional messages into transactional templates. ### migrating-from-email-providers [View source](https://github.com/PostHog/posthog/tree/master/products/workflows/skills/migrating-from-email-providers) Move a team from an email API provider such as Resend, Postmark, SendGrid, Mailgun or Mailchimp to PostHog: import the suppression list, unsubscribes, topics, mailing lists, templates and automations with the provider-imports tools, then walk through DNS, template review and the cutover. ### setting-up-an-email-domain [View source](https://github.com/PostHog/posthog/tree/master/products/workflows/skills/setting-up-an-email-domain) Set up a custom sending domain for PostHog Workflows email end to end: create the email sender, get its DNS records, publish them through Domain Connect or your own DNS tools, and verify until the domain can send. ### setting-up-supabase-auth-emails [View source](https://github.com/PostHog/posthog/tree/master/products/workflows/skills/setting-up-supabase-auth-emails) Connect a Supabase project so its auth emails send through PostHog email templates via the Supabase Send Email Hook, in an order that never breaks a sign-up. ### sending-transactional-emails [View source](https://github.com/PostHog/posthog/tree/master/products/messaging/skills/sending-transactional-emails) Set up PostHog transactional emails: one-off emails that code sends to one person, such as password resets, sign-in codes, magic links, verification emails, receipts, and invites. ## MCP tools [PostHog MCP](https://posthog.com/docs/workflows/mcp.md) lists the Workflows tools that the PostHog MCP server gives your agent. ## Settings and lookup tables | Page | What it lists | | --- | --- | | [Triggers](https://posthog.com/docs/workflows/automations/triggers.md) | Every trigger type and its settings | | [Steps](https://posthog.com/docs/workflows/automations/steps.md) | Every automation step and its settings | | [Push step options](https://posthog.com/docs/workflows/push/push-step-options.md) | The settings of a push notification step | | [Liquid](https://posthog.com/docs/workflows/email/liquid.md) | Template variables, filters, and tags | | [Engagement events](https://posthog.com/docs/workflows/email/engagement-events.md) | The events that PostHog captures for each email, and their properties | | [Retries and errors](https://posthog.com/docs/workflows/transactional/retries-and-errors.md) | Transactional error codes, and which ones to retry | | [Test sender](https://posthog.com/docs/workflows/email/test-sender.md) | What the PostHog test sender does before you verify a domain | ## Amazon SES documentation PostHog sends email through Amazon SES. These AWS pages explain the parts of SES that affect you as a PostHog sender. | AWS page | Why it matters | | --- | --- | | [Amazon SES tenants](https://docs.aws.amazon.com/ses/latest/dg/tenants.html) | How PostHog keeps the sending reputation of each project apart from other projects | | [Dedicated vs. shared IP addresses](https://docs.aws.amazon.com/ses/latest/dg/dedicated-ip.html) | Why PostHog sends from managed, shared SES IP addresses | | [Email authentication (DKIM, SPF, DMARC)](https://docs.aws.amazon.com/ses/latest/dg/send-email-authentication.html) | The DNS records that [verify your domain](https://posthog.com/docs/workflows/domain.md) | | [Custom MAIL FROM domains](https://docs.aws.amazon.com/ses/latest/dg/mail-from.html) | How your `feedback.` subdomain sends bounces back to PostHog | | [Monitoring bounces and complaints](https://docs.aws.amazon.com/ses/latest/dg/monitor-sender-reputation.html) | How SES evaluates bounce and complaint rates | | [Managing sending quotas](https://docs.aws.amazon.com/ses/latest/dg/manage-sending-quotas.html) | SES account limits, which are not the same as your project's [sending tier](https://posthog.com/docs/workflows/reference/limits.md#sending-tiers) | | [Migrating to Amazon SES](https://aws.amazon.com/blogs/messaging-and-targeting/guide-to-ip-and-domain-warming-and-migrating-to-amazon-ses/) | How your domain keeps its reputation when you move from another provider | ## Concepts To understand why these limits and settings exist, read the explanations: - [Deliverability and reputation](https://posthog.com/docs/workflows/concepts/deliverability-and-reputation.md) - [Bounces and suppressions](https://posthog.com/docs/workflows/concepts/bounces-and-suppressions.md) - [Reliable delivery](https://posthog.com/docs/workflows/concepts/reliable-delivery.md) - [Marketing vs. transactional email](https://posthog.com/docs/workflows/concepts/marketing-vs-transactional.md) - [Product data and messaging](https://posthog.com/docs/workflows/concepts/product-data-and-messaging.md)