Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Mailchimp

Manage Mailchimp audience members and create or send email campaigns.

Connectors

Choose the connector that matches your authentication method. The options below use the names shown in StackAI.

Connector
Authentication

Mailchimp

API Key

Mailchimp

Connect to Mailchimp to manage audience members and create or send campaigns.

Set up in Mailchimp

  1. Prepare the Mailchimp account or service that the workflow will access. Grant access to the required resources and operations.

  2. API Key: Create or copy an API key from Mailchimp's API Keys page.

Set up in StackAI

  1. Open Settings → Connections, add a connection, and select Mailchimp.

  2. Enter the credentials and connection details in the fields below.

  3. Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.

Connection fields

StackAI field
Required
What to enter

API Key

Yes

Create or copy an API key from Mailchimp's API Keys page. Provider instructions.

Verify the connection

Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.

If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.

Use an action

  1. Add the required Mailchimp action to the workflow.

  2. Select a connection when the action requests one.

  3. Complete the required fields. Use the reference picker when a value comes from another workflow step.

  4. Run the workflow and inspect the action’s output. Check the result before using it in a later step.

Actions

Add Subscriber to Audience

Add a contact to a Mailchimp audience.

Inputs

Field
Type
Required
Description

Audience

select (string)

Yes

The Mailchimp audience that will receive the contact. Options load from the selected connection.

Email address

string

Yes

The subscriber's email address.

Subscription status

select (string)

Yes

The initial Mailchimp subscription status. Available values: Subscribed, Unsubscribed, Cleaned, Pending, Transactional.

Merge fields

string

No

Audience-defined merge-field tag/value pairs.

Outputs

Field
Type
Description

Audience member

object

The added audience member.

Update Subscriber

Update an existing Mailchimp audience member.

Inputs

Field
Type
Required
Description

Audience

select (string)

Yes

The audience containing the subscriber. Options load from the selected connection.

Current Email Address

string

Yes

The subscriber email currently stored in Mailchimp.

New Email Address

string

No

A replacement email address.

Subscription Status

select (string)

No

A new subscription status. Available values: Subscribed, Unsubscribed, Cleaned, Pending.

Merge Fields

string

No

Audience-defined merge-field changes.

VIP

boolean

No

Whether the member is marked VIP.

Outputs

Field
Type
Description

Audience Member

object

The updated audience member.

Create Campaign

Create a regular Mailchimp campaign draft.

Inputs

Field
Type
Required
Description

Audience

select (string)

Yes

The audience that will receive the campaign. Options load from the selected connection.

Subject Line

string

Yes

The campaign email subject.

Preview Text

string

No

Inbox preview text shown after the subject.

Internal Title

string

No

An internal Mailchimp campaign title.

From Name

string

No

The sender name shown to recipients.

Reply-to Email

string

No

The address that receives replies.

Outputs

Field
Type
Description

Campaign

object

The created campaign draft.

Send Campaign

Immediately send a saved Mailchimp campaign after confirmation.

Inputs

Field
Type
Required
Description

Campaign

select (string)

Yes

The saved Mailchimp campaign to send. Options load from the selected connection.

Confirm Immediate Send

boolean

Yes

Confirm that Mailchimp should send the campaign now.

Outputs

Field
Type
Description

Campaign ID

string

The sent Mailchimp campaign ID.

Sent

boolean

Whether Mailchimp accepted the send request.

List Audience Members

List members of a Mailchimp audience.

Inputs

Field
Type
Required
Description

Audience

select (string)

Yes

The audience whose members should be listed. Options load from the selected connection.

Subscription Status

select (string)

No

Only return members with this status. Available values: Subscribed, Unsubscribed, Cleaned, Pending, Transactional, Archived.

Limit

integer

No

Maximum members to return, up to 1000. Minimum: 1. Maximum: 1000. Default: 100.

Offset

integer

No

Number of matching members to skip. Minimum: 0. Default: 0.

Outputs

Field
Type
Description

Members

object_array

The audience members in this page.

Total Items

integer

Total members matching the request.

Next Offset

integer

Offset for the next page, if any.

Important behavior

Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.

The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.

Last updated

Was this helpful?