Files
twenty/packages/twenty-apps/community/mailchimp-synchronizer
Félix MalfaitandGitHub d85785e380 Twenty self hosting app (#15987)
App to manage telemetry/billing (twenty for twenty!)
2025-11-21 14:10:51 +01:00
..
2025-11-21 14:10:51 +01:00
2025-11-21 14:10:51 +01:00
2025-11-21 14:10:51 +01:00
2025-11-21 14:10:51 +01:00
2025-11-21 14:10:51 +01:00
2025-11-21 14:10:51 +01:00

Mailchimp synchronizer

Synchronizing contacts between Twenty and Mailchimp

Requirements

  • twenty-cli npm install -g twenty-cli
  • an apiKey. Go to https://twenty.com/settings/api-webhooks to generate one
  • Mailchimp API key - Mailchimp > avatar in top right corner > Profile > Extras > API keys

Setup

  1. Add app to your workspace
twenty auth login
cd mailchimp-synchronizer
twenty app sync
  1. Go to Settings > Integrations > Mailchimp synchronizer > Settings and add required variables

Flow

  • Check if required variables are set, if not, exit
  • Validate data based on set constraints, if data doesn't match constraints, exit
  • Check if person already exists in Mailchimp:
    • if yes, check if UPDATE_PERSON is set to true
      • if UPDATE_PERSON is true, check if Twenty record is the same as Mailchimp record
        • if they're the same, exit
        • if not, update
      • if UPDATE_PERSON is false, exit
    • if person doesn't exist in Mailchimp, send a request to Mailchimp with new contact

Note

  • SMS support is experimental and may cause errors
  • constraints are directly responsible for sent data so if e.g. you want to have a company name in Mailchimp, you have to set IS_COMPANY_CONSTRAINT to true