FruxonDocs

Mailchimp

Manage email marketing audiences, subscribers, campaigns, tags, and templates using Mailchimp

The Mailchimp integration connects your agents to Mailchimp for managing audiences, subscribers, email campaigns, tags, templates, and campaign reports.

Prerequisites

You need:

  • Mailchimp API Key — Generate one from Account → Extras → API keys in your Mailchimp account.
  • Server Prefix — The datacenter prefix from your API key. It's the part after the dash (e.g., us6 from a key ending in -us6).

Setup

  1. Open your agent in Agent Studio
  2. In the Integrations panel, click Add Integration Config
  3. Select Mailchimp from the integration list
  4. Give the config a display name (e.g., "Mailchimp")
  5. Enter your Server Prefix (e.g., us6)
  6. Enter your API Key (used as a Bearer token)
  7. Save the agent revision

Using in Your Agent

  1. In an Agent Step, attach Mailchimp tools from the tools panel
  2. Tools are referenced as mailchimp.list_audiences, mailchimp.add_member, etc.

Available Tools

Audiences

ToolDescriptionAction Type
list_audiencesGet all audiences (lists) in the accountReadOnly
get_audienceGet information about a specific audience by IDReadOnly

Members (Subscribers)

ToolDescriptionAction Type
list_membersGet members of a specific audienceReadOnly
get_memberGet a specific member by email hashReadOnly
add_memberAdd a new subscriber to an audienceIrreversible
update_memberUpdate an existing subscriberReversible
add_or_update_memberAdd or update a subscriber (upsert)Reversible
archive_memberArchive a subscriber from an audienceIrreversible
search_membersSearch members across all audiencesReadOnly

Tags

ToolDescriptionAction Type
list_member_tagsGet all tags assigned to a memberReadOnly
update_member_tagsAdd or remove tags for a memberReversible

Campaigns

ToolDescriptionAction Type
list_campaignsGet all campaigns, with optional status/type filtersReadOnly
get_campaignGet details of a specific campaignReadOnly
create_campaignCreate a new email campaignReversible
set_campaign_contentSet the HTML content of a campaignReversible
send_campaignSend a campaign immediatelyIrreversible
delete_campaignDelete a campaign (must be in save status)Irreversible

Templates

ToolDescriptionAction Type
list_templatesGet all email templatesReadOnly

Reports

ToolDescriptionAction Type
get_campaign_reportGet performance report for a sent campaignReadOnly

Segments

ToolDescriptionAction Type
list_segmentsGet all segments for an audienceReadOnly

On this page