bookameet.ing
All recipes

Send bookings to Marketo or to Account Engagement, which was Pardot

Each new booking makes or updates a lead in Marketo, or a prospect in Salesforce Account Engagement. Before, Account Engagement had the name Pardot.

Open as Markdown .md

Outcome

When someone books with you, their name and email go into your marketing system as a lead or a prospect. The title and the time of the meeting go with them. This takes about one minute. If the person is already there, we update them. We do not make a second record.

It runs through Zapier, from a webhook. bookameet.ing posts a signed notice when someone makes a booking. Your Zap reads the booking from bookameet.ing and sends it on. The Zapier and Make apps of bookameet.ing are not available yet. Until they are, this recipe uses the webhook steps that Zapier has, Webhooks by Zapier. Your Zapier plan must include them. Make works in the same way, with its own webhook and HTTP modules.

What you need

A webhook, an API key and Zapier.

  • An API key from Assistants and apps, with these boxes ticked:

    • The line that starts "see the meetings booked with you", for step 5. 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 8. 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 Zapier account connected to Marketo or to Account Engagement.

Steps

  1. In Zapier, start a Zap with Webhooks by Zapier → Catch Hook, and copy its URL.
  2. route:POST /api/v1/me/webhooks adds a webhook to that URL for booking.created. You can also add it on the dashboard, under Integrations → Webhooks. Keep the signing secret. It shows only one time.
  3. route:POST /api/v1/me/webhooks/{id}/test sends a test notice, a ping, so that Zapier has a sample to use. For a real booking.created sample, also book a time on your own page.
  4. In the Zap, a filter lets through only the notices whose type is booking.created.
  5. A Webhooks by Zapier → GET step reads that booking from bookameet.ing. It uses route:GET /api/v1/me/bookings with id set to the data.id of the notice, and your key in the Authorization header. The Zap uses only this answer, and never the fields of the notice. Anyone who knows the URL of the hook can post to it. But only bookameet.ing can answer with your bookings.
  6. A filter lets through only the answers that have a booking.
  7. The Marketo or Account Engagement step makes or updates the lead or the prospect from the booking.
  8. If something does not arrive, route:GET /api/v1/me/webhooks/{id}/deliveries shows each notice that we sent and the answer of Zapier. We try a failed notice again for about one and a half days.

Flow

1  Trigger   Webhooks by Zapier · Catch Hook
2  Filter    Type  (text) exactly matches  booking.created
3  Action    Webhooks by Zapier · GET
               URL          https://bookameet.ing/api/v1/me/bookings
               Query        id = <Data Id, from step 1>
               Headers      Authorization = Bearer <your API key>
4  Filter    Bookings Id  exists
5  Action    Marketo · create or update a lead
               (or Salesforce Account Engagement · create or update a prospect)
               Email        <Bookings Invitee Email, from step 3>
               Name         <Bookings Invitee Name>
               Meeting      <Bookings Event Title>, <Bookings Start>

To add the webhook with your key, not on the dashboard:

curl -X POST "https://bookameet.ing/api/v1/me/webhooks" \
  -H "Authorization: Bearer $API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://hooks.zapier.com/hooks/catch/…","events":["booking.created"]}'

Notes

  • start is an ISO 8601 instant in UTC. If your field needs a different form, change the format in Zapier.
  • For cancels, add booking.cancelled to the webhook. Then add a second path to the Zap that updates the lead.

More recipes