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
244ad7e7c5
bark: fix compilation error in merge fields thread
...
We had removed the %hark case, but not the codepaths dealing with it.
2023-07-18 23:29:18 +02:00
fang
f2fec50b50
bark: stop handling old summary response types
...
Growl isn't actually live on any ships yet, so we do not need to account
for this case.
2023-07-14 19:30:58 +02:00
fang
f5e32a54d0
bark: accept new-style summaries
...
And use the -save-summary thread to add the received details to our
mailchimp contact database.
2023-07-14 18:04:23 +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
tomholford
41589c1ff6
api: email thread returns a unit
2023-04-26 12:27:05 -07:00
tomholford
5e98330099
api: address PR feedback
...
- wutsigs are now one-liners
- clean up file comment
2023-04-26 12:24:54 -07:00
tomholford
9fe45707e4
api: handle null email response
2023-04-26 12:04:16 -07:00
tomholford
b0461ac810
api: hosting email thread
2023-04-26 12:01:27 -07: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