add e-mail to List in MailChimp.
- Plugin type: output
- Load all or nothing: no
- Resume supported: no
- Cleanup supported: no
- auth_method: MailChimp auth method (string,
api_key
oroauth
, default:api_key
) - apikey: MailChimp API key (string, required if
auth_method
isapi_key
) - access_token: MailChimp access token (string, required if
auth_method
isoauth
) - list_id: MailChimp List id (string, required)
- email_column: column name for email (string, default: 'email')
- fname_column: column name for first name (string, default: 'fname')
- lname_column: column name for last name(string, default: 'lname')
- update_existing: control whether to update members that are already subscribed to the list or to return an error (boolean, default: false)
- merge_fields: Array for additional merge fields/ TAG in MailChimp dashboard (array, optional, default: nil)
- grouping_columns: Array for group names in MailChimp dashboard(array, default: nil)
- language_column: column name for language (string, optional, default: nil)
- double_optin: control whether to send an opt-in confirmation email (boolean, default: true)
- atomic_upsert : Control the atomicity for the job. Job will be marked as success only when there is no error from Mailchimp. Default as false.
- max_records_per_request: The max records per batch request. MailChimp API enables max records is 500 per batch request (int, default: 500)
- sleep_between_requests_millis: The time to sleep between requests to avoid flood MailChimp API (int, default: 3000)
out:
type: mailchimp
auth_method: api_key
apikey: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXX'
list_id: 'XXXXXXXXXX'
update_existing: false
double_optin: false
atomic_upsert: false
email_column: e-mail
fname_column: first name
lname_column: lname
merge_fields:
- website
grouping_columns:
- interests
- location
replace_interests: true
$ ./gradlew gem