Zapier
The Anypost integration for Zapier connects your sending and your event stream to thousands of apps without writing code. Send a message from any Zap, or start a Zap whenever Anypost reports what happened to one.
Connect Anypost to Zapier to add the trigger and action to your Zaps.
Connect your account
Zapier authenticates with an Anypost API key. Create one in the dashboard under
Settings, then API Keys, and paste it when you add Anypost to a Zap. A
send_only key is enough for the Send Email action; the New Email Event trigger
needs a full key, because it creates a webhook subscription on your behalf.
See Authentication for creating and scoping keys.
Trigger: New Email Event
Starts a Zap when an email event occurs. Pick one event type per Zap:
| Event | When it fires |
|---|---|
email.sent | The message was accepted for delivery. |
email.delivered | The receiving server accepted the message. |
email.delayed | Delivery was deferred and will be retried. |
email.bounced | Delivery failed permanently. |
email.complained | The recipient marked the message as spam. |
email.suppressed | A send was blocked by the suppression list. |
email.unsubscribed | The recipient used a one-click unsubscribe. |
email.opened | The recipient opened the message. |
email.clicked | The recipient clicked a tracked link. |
Turning the Zap on creates an Anypost webhook scoped to that event; turning it off removes it. Each event carries the message id, recipient, and the type-specific details. See Events for the full payload.
Action: Send Email
Sends a transactional message through Anypost. Provide a from address on a
verified domain and at least one recipient, then supply the body as HTML, plain
text, or a stored template. Cc, Bcc, reply-to, tags, topic, campaign, and an
optional idempotency key are all available.
Map fields from earlier steps in your Zap into any of these, so a form submission, new row, or chat message can become a sent email.
Templates and variables
Select a published template from the Template field to
render stored content instead of an inline body, and fill its {{ markers }}
with the Variables field. Variables are substituted per recipient at send
time. To send Markdown, author a Markdown template in Anypost and select it
here; it is rendered server-side. See Variables & personalization.
Where to go next
- Authentication: create and scope the API key Zapier uses.
- Domains & DNS setup: verify the domain you send from.
- Events: the shape of every event the trigger receives.
- Webhooks: how Anypost signs and retries the deliveries behind the trigger.