Segments
Newsletter › Segments is where you make groups of subscribers to send a post to. A segment is a CRM contact list, so CRM › Lists shows it too, and broadcasts and automations can use it.
- A smart segment takes whoever matches its conditions whenever it’s read: someone who starts opening joins it, someone who stops leaves it.
- A static segment holds the people you add to it, from Subscribers (pick them, then Add to a segment).
Each segment shows how many of its people are subscribed (who a post to it goes to, before addresses that bounce or complained are left out) and how many contacts it holds.
Conditions
Section titled “Conditions”All of a smart segment’s conditions must hold.
| Condition | Takes |
|---|---|
| Subscription | Subscribed, waiting to confirm, unsubscribed, or never subscribed |
| Engagement | Stars at least and at most (how they’re worked out) |
| Opened | A person opened any of the last N posts that went out, or opened anything in the last N days |
| Clicked | Clicked a link in any of the last N posts, or in the last N days |
| Didn’t open | Got at least one of the last N posts and opened none of them; or, by days, has been subscribed longer than N days and opened nothing in them |
| Signed up from | The signup’s source: a site’s form, checkout, an import, by hand, the API, the agent, their email’s link |
| Signup form | The form they used |
| UTM tag | Their signup’s UTM source, medium, campaign, term or content, ignoring case |
| Country | Where they are |
| Signed up | In the last N days, or more than N days ago |
| Poll answer | Answered a poll, or picked one of its answers |
and Tagged any of and Not tagged, from their contacts’ tags. “The last N posts” are the workspace’s latest posts that went out, up to 50.
As you edit, the dialog counts who matches and shows the newest of them with their stars.
A segment CRM › Lists gave other conditions (stages, owners, custom fields, lead score) keeps them; Newsletter › Segments edits its newsletter conditions and tags.
Using a segment
Section titled “Using a segment”- A post’s audience: a post can go to subscribers in any of the segments you pick.
- Subscribers: See its subscribers in a segment’s menu opens Subscribers filtered by it.
- Automations and broadcasts take it as any CRM list.
The API
Section titled “The API”| To | Operations |
|---|---|
| List and get segments | GET /api/v1/newsletter/segments GET /api/v1/newsletter/segments/{id} |
| Make, change and delete one | POST /api/v1/newsletter/segments PATCH /api/v1/newsletter/segments/{id} DELETE /api/v1/newsletter/segments/{id} |
| Add people to and take them out of a static one | POST /api/v1/newsletter/segments/{id}/subscribers POST /api/v1/newsletter/segments/{id}/subscribers/remove |
A segment’s filter takes the same fields as a contact list’s, with newsletter: a list of conditions, each with a kind (status, engagement, opened, clicked, not_opened, source, form, utm, country, signed_up, poll). For example, subscribers with 3 stars or more who opened one of the last 5 posts:
{ "name": "Engaged readers", "kind": "smart", "filter": { "newsletter": [ { "kind": "status", "in": ["subscribed"] }, { "kind": "engagement", "min": 3 }, { "kind": "opened", "last": 5, "unit": "posts" } ] }}The same newsletter conditions work on crm.contacts.list and CRM’s lists.