Commit Graph

13 Commits

Author SHA1 Message Date
fang
102c439b75
bark: clarify mandrill vs mailchimp api key
Sending on-demand emails requires a Mandrill API key, not a Mailchimp
one. (They're part of the same company/suite now, but still use
different keys and endpoints. Mandrill and Mailchimp keys are also
called "mailchimp" and "marketing" keys respectively. Yes, in that
order.)
2023-07-18 23:33:15 +02:00
fang
3945cc1f5f
bark: store mailchimp list-id in bark
Alongside the mailchimp api key, we now store the list-id for the
contacts lists which we're updating.
2023-07-18 23:31:30 +02:00
fang
e29b6d5cdd
api: add thread for saving mailchimp merge fields
This lets us associate simple data with our mailchimp contacts.
2023-07-14 18:02:39 +02:00
~midsum-salrux
981ca9b5b2 Send emails with notification count 2023-05-05 01:11:16 -04:00
tomholford
37b5136e89 devex: remove debug statements 2023-05-03 09:44:45 -07:00
tomholford
8af638839a api: send-template thread handles vars map 2023-05-03 09:28:44 -07:00
tomholford
49a5a1a9a7 api: send-template can send base template
Successfully sent an email like so:

```hoon
=vars `(map @t @t)`(malt ~[['name' 'john'] ['notifications' '1337']])
```

```
-bark!mailchimp-send-template "[KEY]" "tom@tlon.io" "landscape-weekly-digest" vars
```

TODO: handle the `vars` map
2023-05-03 07:05:29 -07:00
tomholford
9321c38db2 api: send-template thread (wip) 2023-04-27 20:00:44 -07:00
midsum-salrux
92fe772016
Merge pull request #9 from tloncorp/bark-and-growl-agents
Bark and growl agents & marks
2023-04-26 18:40:53 -04:00
~midsum-salrux
8336208295 Bark and growl agents & marks 2023-04-24 18:41:14 -04:00
tomholford
6c2076e8b5 api: update send request payload 2023-04-21 14:11:07 -07:00
tomholford
53213e15e2 api: Mailchimp Send Email API 2023-04-19 22:22:53 -07:00
tomholford
fa17f1af9a api: initial Mailchimp API integration
Implements the health check call as described here:

https://mailchimp.com/developer/transactional/guides/quick-start/#make-your-first-api-call

The Production API key is stored in 1password under Tlon Hosting > Mailchimp Transactional API key
2023-04-19 21:17:54 -07:00