MCP PROMPT · COMMS

/send-campaign

Send a targeted marketing campaign to a segment.

01 · The flow

What the agent does, in order.

  1. 01 Call list_segments to find a target audience; or build one ad-hoc by filtering with search_members + attach_tags first.
  2. 02 Call get_segment_members to preview the recipient count — confirm with the user before firing.
  3. 03 Call list_campaigns to see existing templates, or call create_campaign with name + segment + channel (whatsapp/sms/email) + content.
  4. 04 Confirm the merchant has WhatsApp/SMS/email configured (check with the user; the merchant portal handles channel setup).
  5. 05 Send via send_whatsapp_message in a loop OR create_broadcast for bulk send. Bulk send is preferred for >10 recipients.
  6. 06 Summarise: count sent, scheduled-at, expected delivery window.
02 · Tools called

4 typed tools in sequence.

  • list_segments
  • get_segment_members
  • list_campaigns
  • create_campaign

Every tool ships with MCP annotations (title, readOnlyHint, destructiveHint, openWorldHint, idempotentHint). Clients can gate destructive calls before invoking. Full catalog: /server-card.json.

Try this in your agent.

Connect FavCRM to Cursor, Claude, ChatGPT, or any MCP client. Type /send-campaign in chat. Agent runs the steps in order.

Verified .