Outcome
Someone books and ticks your "Keep me posted" box. Then we add them to your Mailchimp audience, with a tag that names the meeting. If they are already on it, we update them. We do not add a person who did not tick the box.
It runs through Make or Zapier, from a webhook. bookameet.ing posts a notice when someone makes a booking. Your scenario reads the booking from bookameet.ing and sends it on. The Make and Zapier apps of bookameet.ing are not available yet. Until they are, this recipe uses the webhook and HTTP modules that Make has.
What you need
A webhook, an API key and Make or Zapier.
- A checkbox question on your meeting type, for example "Keep me posted about new workshops". It is in Meeting types → your meeting type → Questions. People must agree before you add them to a mailing list, and this question is how they agree.
An API key from Assistants and apps, with these boxes ticked:
- The line that starts "see the meetings booked with you", for step 4. It is ticked at the start.
- The line that starts "send your booking data to your webhooks again, or as a test", for steps 3 and 7. It is not ticked unless you tick it.
- The line that starts "send your booking data to new places", for step 2. You need it only if you add the webhook with the key, not on the dashboard. It is not ticked unless you tick it.
The recipe needs nothing more, so you can untick the other boxes.
- A Make account connected to Mailchimp.
Steps
- In Make, start a scenario with Webhooks → Custom webhook, and copy its address.
route:POST /api/v1/me/webhooksadds a webhook to that address forbooking.created. You can also add it on the dashboard, under Integrations → Webhooks.route:POST /api/v1/me/webhooks/{id}/testsends a test notice, so that Make learns the shape of the notice. For a real sample, also book a time on your own page, and tick the box.- HTTP → Make a request reads that booking. It uses
route:GET /api/v1/me/bookingswithidset to thedata.idof the notice, and your key in theAuthorizationheader. The scenario uses only this answer, and never the fields of the notice. Anyone who knows the address of the webhook can post to it. But only bookameet.ing can answer with your bookings. - A filter lets through only the answers that have a booking whose answer to your checkbox question is yes.
- Mailchimp → Add/Update a Subscriber adds the email and the name of the person that the booking is for to your audience. The title of the meeting is the tag.
- If something does not arrive,
route:GET /api/v1/me/webhooks/{id}/deliveriesshows each notice that we sent and the answer of Make.
Flow
1 Webhooks · Custom webhook
2 Filter type equal to booking.created
3 HTTP · Make a request
URL https://bookameet.ing/api/v1/me/bookings
Method GET
Query id = {{1.data.id}}
Headers Authorization = Bearer <your API key>
Parse response Yes
4 Filter the booking is there (bookings is not empty)
and its answer to "Keep me posted" is true
5 Mailchimp · Add/Update a Subscriber
Audience <your audience>
Email {{3.data.bookings[1].invitee.email}}
First name {{3.data.bookings[1].invitee.name}}
Status Subscribed (or Pending, for Mailchimp to ask them to confirm)
Tags {{3.data.bookings[1].eventTitle}}The answers of each booking show with the question of each answer. Look at this shape one time in the output of step 3. Then set step 4 to the answer to your question.
Notes
To use Zapier, use these steps:
- Webhooks by Zapier → Catch Hook.
- A Webhooks by Zapier → GET step to the same address.
- A filter.
- Mailchimp → Add/Update Subscriber.
- Mailchimp can email each person to confirm first. This is double opt-in. For it, set the status to Pending.