Marketing
Named audiences, signup webhooks, and canvas campaigns that send a published template.
-
01
Create an audience
Open Audience. People for ordinary mail are on this page, and Lists are the named campaign audiences. The first list is the project's default webhook audience. A sending key on the same project can create the list with POST /api/audiences.
-
02
Post a signup
POST /api/events with the project API key adds a new user to audience_id, or to the default audience when audience_id is omitted. POST /api/audiences/:id/events pins the list in the path. Optional HMAC-SHA256 uses X-Pigeon-Timestamp and X-Pigeon-Signature. An older occurred_at is ignored. Repeat X-Pigeon-Idempotency-Key to replay the same result.
-
03
Honor consent
Each contact has marketing_subscribed, default true. unsubscribed=true or consented=false sets it to false. A {{unsubscribe}} click does the same. Contacts with marketing_subscribed false stay on the list and are not enrolled or emailed.
-
04
Build a campaign
Open Campaigns. The entry is an audience. Enroll everyone already on the list, or only new webhook signups. Optional conditions and waits, then a send that picks a published template. Save a draft. Activate only when every path ends in a send and there are no cycles. The Campaigns guide has the integration examples, the canvas, and three use cases.
A new contact from the webhook is added to the target list, then enrolled in every active campaign whose entry is that list. The block chain runs immediately. Wait blocks resume on the next scheduler tick. Campaigns that enroll the whole list also include people already on it when you activate. Campaign sends use a separate monthly and daily cap on the project. Unsubscribe still uses {{unsubscribe}} on the template.
Canvas
Drag the empty canvas to move the view. Drag a block and the wire follows it. Drag from an output onto another block, or click an output and then the block, to connect. A condition has a yes branch and a no branch. The plus and minus buttons on the canvas zoom in and out. Hold Control or Command and use the wheel while the pointer is over the canvas to zoom as well. A plain wheel moves the view.
Publish a template before a send block can use it Design a campaign Audience and event routes