This code provides an example of how to export Guidebook metrics data into MailChimp.
It takes metrics data from the Guidebook Webhooks API and imports it into MailChimp via the MailChimp REST API.
Before testing out the code. Please pip install -r requirements.txt
to get the package dependencies. We highly recommend you do this in an virtualenv.
Update settings.py
with your MailChimp API information. Then the following command will perform the import with the demo data in sample_event.json
.
python execute_integration
This code is provided to Guidebook clients to customize for their own integrations. Clients are welcome to take this integration code as a starting point and adapt it to their own needs.