Marketing · segment_audience
Segmenter une audience
Crée ou met à jour un segment marketing.
- Prix
- inclus
- Prérequis
- Mailchimp ou Brevo
- à brancher dans Paramètres → Intégrations
- Validation humaine
- Oui, par défaut
- écriture vers l'extérieur : un humain valide
Entrée
| Champ | Type | Description |
|---|---|---|
| name * | string | Name of the audience segment |
| description | string | Description of the segment |
| source * | mailchimp | brevo | hubspot | custom | Data source / platform for this audience |
| segmentRules * | object | Rules defining segment criteria (Mailchimp: segment options {match, conditions[]}; otherwise free-form criteria: industry, lifecycle, engagement, location…) |
| size | number | Known number of contacts in the segment (optional) |
| providerListId | string | Existing provider list id to use (Mailchimp audience/list id, Brevo list id) when it differs from the integration default |
Appeler cet outil
Via l'API HTTP, ou depuis le serveur MCP avec le méta-outil run.
curl https://api.ezyagents.fr/gateway/v1/run \
-H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
-d '{"tool":"segment_audience","input":{"name":"…","description":"…","source":"mailchimp","segmentRules":"…"}}'$
run({ "tool": "segment_audience", "input": {"name":"…","description":"…","source":"mailchimp","segmentRules":"…"} })