Appbricx
Docs
FeaturesPricingStart free

Get started

OverviewWhat Appbricx isQuickstart with a coding agentQuickstart with the builderCore concepts

Guides

Data and tablesAccess and rolesBusiness rulesSign-inCustom screensRealtime and topicsWorkflows, schedules and webhooksServer functionsAI in your appPaymentsFilesMessagesIntegrationsVerifyPublishing, domains and rollbackOperating your appExport and self-hostSelf-host install

Tutorials

Build a booking app with Claude CodeMulti-user todo listClient portalSlack on new sign-upTemplates

Reference

Reference homeFrontend SDKHTTP APIMCP toolsCLIIntegrations catalogContract formatAI key resolutionRun Appbricx locally

Mailchimp

Manage audiences, add subscribers, and send campaigns in Mailchimp.

MarketingOAuth14 actionsAll integrations

On this page
  1. Connect
  2. Call it from a workflow
  3. Actions (14)
  4. add_member_to_list
  5. create_audience
  6. create_campaign
  7. add_note_to_subscriber
  8. add_subscriber_to_tag
  9. archive_subscriber
  10. find_campaign
  11. find_customer
  12. find_subscriber
  13. find_tag
  14. get_campaign_report
  15. remove_subscriber_from_tag
  16. unsubscribe_email
  17. update_member_in_list
  18. Details

Connect

Auth type: OAuth (oauth2). Click Connect and approve access on the provider's page. Appbricx runs the OAuth flow (signed single-use state, PKCE where the provider supports it), stores the tokens encrypted and refreshes them before they expire.

OAuth needs an OAuth app: the platform's when the operator configured one, or your own (admin panel, Integrations, Configure). You can also bring your own credentials.

  • In the editor: Backend panel, Integrations tab, then Connect. This connects it for the project.
  • For every project in a workspace: Workspace settings, Integrations.
  • Owners and admins choose which integrations members may connect in the admin panel (Integrations tab), and can attach their own OAuth app there.

Call it from a workflow

Pass the action name and its input. The call resolves with { success, output, error? }; a missing connection resolves with success false and the reason. See ctx.integrations.invoke and ctx.integrations.call.

Native workflow
// .workflow.js (native ctx)
export async function run(ctx) {
  const res = await ctx.integrations.invoke("mailchimp", "add_member_to_list", {
    "list_id": "<list_id>",
    "email_address": "<email address>",
    "status_if_new": "subscribed"
  });
  if (!res.success) throw new Error(res.error);
  ctx.log.info("Mailchimp answered", { output: res.output });
}
defineWorkflow module
// defineWorkflow module (@app/sdk ctx)
import { defineWorkflow } from "@app/sdk";

export default defineWorkflow({
  id: "mailchimp-add-member-to-list",
  name: "Mailchimp: Add or Update Subscriber",
  description: "Calls Mailchimp when a row is created.",
  trigger: { type: "entity_event", entity: "tickets", event: "created" },
  async run(ctx, event) {
    const res = await ctx.integrations.call("mailchimp", {
      "action": "add_member_to_list",
      "list_id": "<list_id>",
      "email_address": "<email address>",
      "status_if_new": "subscribed"
    }) as { success: boolean; error?: string };
    if (!res.success) throw new Error(res.error);
  },
});
From an app (connector proxy)
curl -X POST "$APP_ORIGIN/__appbricx/connector-proxy/mailchimp/add_member_to_list" \
  -H "Authorization: Bearer $APP_KEY" \
  -H "content-type: application/json" \
  -d '{"props":{"list_id":"<list_id>","email_address":"<email address>","status_if_new":"subscribed"}}'

Actions

add_member_to_listin catalog

Add or Update Subscriber. Add a new subscriber to an audience or update existing subscriber

InputTypeDescription
list_idrequiredid (picked from your account)Audience you want to add the contact to
email_addressrequiredtextEmail address for the subscriber
status_if_newrequiredone of "subscribed" | "unsubscribed" | "cleaned" | "pending" | "transactional"Status for new subscribers
email_typeoptionalone of "html" | "text"Type of email this member wants to receive
statusoptionalone of "subscribed" | "unsubscribed" | "cleaned" | "pending" | "transactional"Current status of subscriber (for updates)
first_nameoptionaltextFirst name of the subscriber
last_nameoptionaltextLast name of the subscriber
languageoptionaltextSubscriber language (e.g., "en", "es", "fr")
vipoptionalbooleanVIP status for subscriber
skip_merge_validationoptionalbooleanAccept member data without merge field values even if required

create_audiencein catalog

Create Audience. Create a new audience (list) in your Mailchimp account

InputTypeDescription
namerequiredtextThe name of the list
companyrequiredtextCompany name for list contact information
address1requiredtextStreet address for list contact information
address2optionaltextAdditional address information (optional)
cityrequiredtextCity for list contact information
stateoptionaltextState or province for list contact information
zipoptionaltextZIP or postal code for list contact information
countryrequiredtextCountry for list contact information
phoneoptionaltextPhone number for list contact information (optional)
permission_reminderrequiredlong textThe permission reminder for the list
from_namerequiredtextDefault from name for campaigns
from_emailrequiredtextDefault from email address for campaigns
subjectrequiredtextDefault subject line for campaigns
languagerequiredtextDefault language for campaigns (e.g., "en", "es", "fr")
email_type_optionoptionalbooleanWhether the list supports multiple email formats (HTML/plain text)
use_archive_baroptionalbooleanWhether campaigns use the Archive Bar in archives by default
notify_on_subscribeoptionaltextEmail address to send subscribe notifications to (optional)
notify_on_unsubscribeoptionaltextEmail address to send unsubscribe notifications to (optional)
double_optinoptionalbooleanWhether to require subscriber confirmation via email
marketing_permissionsoptionalbooleanWhether the list has marketing permissions (GDPR) enabled

create_campaignin catalog

Create Campaign. Create a new Mailchimp campaign

InputTypeDescription
campaign_typerequiredone of "regular" | "plaintext" | "ab" | "rss" | "variate"The type of campaign to create
list_idrequiredid (picked from your account)Audience you want to add the contact to
subject_linerequiredtextThe subject line for the campaign
titlerequiredtextThe title of the campaign
from_namerequiredtextThe name that will appear in the "From" field
from_emailrequiredtextThe email address that will appear in the "From" field
reply_torequiredtextThe email address that will receive replies
to_nameoptionaltextThe name that will appear in the "To" field (e.g., *|FNAME|*)
content_typerequiredone of "template" | "html" | "url" | "multichannel"How the campaign content is put together
content_urloptionaltextThe URL where the campaign content is hosted (required if content_type is "url")
template_idoptionaltextThe ID of the template to use (required if content_type is "template")
html_contentoptionallong textThe HTML content for the campaign (required if content_type is "html")

add_note_to_subscriber

Add Note to Subscriber. Add a note to a subscriber in your Mailchimp audience.

InputTypeDescription
list_idrequiredid (picked from your account)Audience you want to add the contact to
emailrequiredtextThe email address of the subscriber to add a note to
noterequiredlong textThe note content to add to the subscriber

add_subscriber_to_tag

Add Subscriber to Tag. Add a subscriber to a specific tag in your Mailchimp audience.

InputTypeDescription
list_idrequiredid (picked from your account)Audience you want to add the contact to
emailrequiredtextThe email address of the subscriber to add to the tag
tag_namerequiredtextThe name of the tag to add the subscriber to

archive_subscriber

Archive Subscriber. Archive an existing audience member

InputTypeDescription
list_idrequiredid (picked from your account)Audience you want to add the contact to
subscriber_hashrequiredtextMD5 hash of the lowercase email address, email address, or contact_id

find_campaign

Find Campaign. Search all campaigns for the specified query terms

InputTypeDescription
queryrequiredtextSearch terms to find campaigns
fieldsoptionallong textComma-separated list of fields to return
exclude_fieldsoptionallong textComma-separated list of fields to exclude

find_customer

Find Customer. Find a customer by email address in a store

InputTypeDescription
store_idrequiredid (picked from your account)Select the e-commerce store
email_addressrequiredtextEmail address to search for
fieldsoptionallong textComma-separated list of fields to return
exclude_fieldsoptionallong textComma-separated list of fields to exclude
countoptionalnumberNumber of records to return (max 1000)
offsetoptionalnumberNumber of records to skip for pagination

find_subscriber

Find Subscriber. Search for subscribers across all lists or within a specific list. This action provides comprehensive subscriber information including merge fields, interests, and activity data.

InputTypeDescription
list_idrequiredid (picked from your account)Audience you want to add the contact to
emailrequiredtextEmail address of the subscriber to search for
include_fieldsoptionalarrayFields to include in the response (leave empty for all fields). Use dot notation for nested fields (e.g., "merge_fields.FNAME")
exclude_fieldsoptionalarrayFields to exclude from the response. Use dot notation for nested fields

find_tag

Find Tag. Search for tags on a list by name

InputTypeDescription
list_idrequiredid (picked from your account)Audience you want to add the contact to
nameoptionaltextSearch query to filter tags (optional - if empty, returns all tags)

get_campaign_report

Get Campaign Report. Get comprehensive report details for a specific sent campaign including opens, clicks, bounces, and performance metrics

InputTypeDescription
campaign_idrequiredid (picked from your account)Select the campaign to get information for
fieldsoptionallong textComma-separated list of fields to return (e.g., "opens.unique_opens,clicks.click_rate")
exclude_fieldsoptionallong textComma-separated list of fields to exclude (e.g., "timeseries,_links")

remove_subscriber_from_tag

Remove Subscriber from Tag. Remove a subscriber from a specific tag in your Mailchimp audience.

InputTypeDescription
list_idrequiredid (picked from your account)Audience you want to add the contact to
emailrequiredtextThe email address of the subscriber to remove from the tag
tag_namerequiredtextThe name of the tag to remove the subscriber from

unsubscribe_email

Unsubscribe Email. Unsubscribe an email address from an audience

InputTypeDescription
list_idrequiredid (picked from your account)Audience you want to add the contact to
email_addressrequiredtextEmail address to unsubscribe
skip_merge_validationoptionalbooleanAccept member data without merge field values even if required
skip_duplicate_checkoptionalbooleanIgnore duplicates in the request
update_existingoptionalbooleanChange existing members subscription status

update_member_in_list

Update Member in an Audience (List). Update a member in an existing Mailchimp audience (list)

InputTypeDescription
emailrequiredtextEmail of the new contact
list_idrequiredid (picked from your account)Audience you want to add the contact to
statusrequiredone of "subscribed" | "unsubscribed" | "cleaned" | "pending" | "transactional"Status

Details

Id
mailchimp
Category
Marketing
Tags
email, newsletter, campaigns, audiences
Package
@activepieces/piece-mailchimp@0.5.3
Tier
Built in

On this page

  1. Connect
  2. Call it from a workflow
  3. Actions (14)
  4. add_member_to_list
  5. create_audience
  6. create_campaign
  7. add_note_to_subscriber
  8. add_subscriber_to_tag
  9. archive_subscriber
  10. find_campaign
  11. find_customer
  12. find_subscriber
  13. find_tag
  14. get_campaign_report
  15. remove_subscriber_from_tag
  16. unsubscribe_email
  17. update_member_in_list
  18. Details
Appbricx

The backend, runtime and hosting for apps your coding agent builds. On our cloud, in yours, or on your own servers.

Features

Coding agents and MCPVerify testingBuilder consolePostgres databaseData APIRealtimeRow-level securitySign-in and authPaymentsWorkflows and jobsAI in your appIntegrationsBackups and rollbackHosting and domainsSelf-host and exportAll features

Product

ShowcasePricingFor coding agentsTemplatesPrivate cloudBring your own AI keyFAQ

Compare

Appbricx vs SupabaseLovable alternativeBolt alternativeFor freelancersFor agencies

Resources

DocumentationReferenceBlogSupportContact

© 2026 Appbricx. All rights reserved.

TermsPrivacyCookiesAcceptable Use