Add automation
documentedCreate a new classic automation in your Mailchimp account.
POST /automationsClassic Automationsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$data_center}}.api.mailchimp.com/3.0/automations" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"type":"API 3.0","title":"{{$title}}","trigger_settings":{"type":"API 3.0","delay":0},"recipients":{"list_id":"{{$list_id}}"},"settings":{"subject_line":"{{$subject}}","from_name":"{{$from_name}}","reply_to":"{{$reply_to}}"}}'