Skip to navigation

Mailchimp

Add callers to your Mailchimp audience with a webhook tool.

Your receptionist can sign callers up to your mailing list. It confirms their email address, then adds them to your Mailchimp audience through Mailchimp’s Marketing API. Mailchimp sends each new contact a confirmation email before they’re subscribed.

Before you start

You need these values from Mailchimp:

ValueWhere to find it
API keyProfile → Extras → API keys → Create A Key
Server prefixThe end of the API key after the dash, for example us21
Audience IDAudience → All contacts → Settings → Audience name and defaults

Mailchimp accepts the API key as a Bearer token, so you don’t need to encode it. The key has the same access as your Mailchimp user, so create it from a user whose role is limited to managing contacts if you can, and delete it in Mailchimp when you stop using the tool.

Create the webhook tool

Go to Integrations, select Add integration, and choose Webhook Tool.

FieldValue
Nameadd_to_mailing_list
Description”Add the caller to the mailing list. Only use it after the caller has asked to join and has confirmed their email address letter by letter.”
MethodPOST
URLhttps://SERVER_PREFIX.api.mailchimp.com/3.0/lists/AUDIENCE_ID/members
Request HeadersAuthorization (Secret): Bearer followed by your API key
Body Parametersemail_address (string, required): “The caller’s email address.”
status (string, fixed value): pending
merge_fields (object), with the fields below
Assign to agentsReceptionist

Inside merge_fields, select Add field for each of these. The keys are your audience’s merge tags, which you can check under Audience → All contacts → Settings → Audience fields and *|MERGE|* tags.

  • FNAME (string, from the conversation): “The caller’s first name.”
  • LNAME (string, from the conversation): “The caller’s last name, if they gave it.”

Select Enable, then test your receptionist by asking to join the mailing list. The contact appears in your audience as Pending until they confirm the email.

pending sends Mailchimp’s opt-in confirmation email. A caller saying yes on the phone is not written consent in every country, so keep double opt-in unless you’re sure you don’t need it.

Troubleshooting

ProblemWhat to check
401 from MailchimpThe header must be Bearer followed by the API key. Check that the server prefix in the URL matches the end of the key.
404 from MailchimpCheck the audience ID in the URL.
Member ExistsThe address is already on the list. Your receptionist can tell the caller they’re already subscribed.
Invalid ResourceThe email address is malformed, or a merge field is missing or invalid. Ask your receptionist to spell addresses back to callers, and check which merge fields your audience requires.