Bookings integration

DenGro

DenGro AI integration
  • CategoryBookings
  • AuthWebhook URL + signing key

Overview

New leads and enquiries from DenGro can start a campaign in MessageMind and are saved to your Contacts. You set it up from a DenGro trigger in Campaigns: copy the Webhook URL and Signing key shown in the trigger into an outbound webhook in DenGro. The treatment, the message from the form, the lead source and other lead details can then be used in that campaign's messages and conditions.

What MessageMind can do with it

  • The New Lead trigger starts a campaign when DenGro creates a lead for your practice, or when a lead is assigned to your practice.
  • The New Enquiry trigger starts a campaign when someone sends a form without choosing a treatment.
  • Every new lead and enquiry is saved in Contacts with the name, email address, phone number, date of birth, address and marketing consent that DenGro sends. When the email address or phone number matches a contact you already have, that contact is used instead of a new one, and a matching contact in the Trash is restored with its chats.
  • When DenGro sends Lead Updated, Enquiry Updated, Lead Journey Created or Lead Journey Updated, the contact's details are refreshed. Only values DenGro actually sends are written, so an empty field in DenGro never clears one on the contact.
  • Lead details such as Treatment Name, Message, Lead Source, Preferred Appointment Date, NHS or Private, Existing Patient and Journey Status Name can go into messages and conditions.
  • Estimated Amount can be used as the deal value when a campaign adds the contact to a pipeline stage.
  • A lead or enquiry starts each campaign only once, even if DenGro sends it again.

Requirements

  • A DenGro account where you can open Settings > Integrations > Outbound Webhook.
  • If you are a team member, your role needs the Campaigns permissions Create & launch and Edit, plus Configure an integration under Integrations.
  • A connected channel for the messages the campaign sends, for example SMS, WhatsApp or email.

How to connect

  1. In MessageMind, open Workspace and click Campaigns in the left rail.
  2. Click Create campaign.
  3. Type a Campaign name, keep Create an Automation selected and click Create.
  4. Click Add a Trigger.
  5. In the Choose a trigger window, type DenGro in the search box.
  6. Click New Lead to start the campaign for new leads, or New Enquiry to start it for forms sent without a treatment. The Configure trigger window opens.
  7. If you already set up the webhook in DenGro for another campaign, click Save now and skip the DenGro steps below. The same URL and key serve every DenGro trigger.
  8. Click the copy button next to Webhook URL.
  9. In DenGro, open Settings > Integrations > Outbound Webhook and choose Create.
  10. Paste the webhook URL as the endpoint.
  11. Back in MessageMind, click the copy button next to Signing key. It copies the whole key even while it is hidden.
  12. In DenGro, paste the key into the signing key field.
  13. Tick Lead Created and Enquiry Created. To keep contact details up to date, also tick Lead Updated, Enquiry Updated, Lead Journey Created and Lead Journey Updated.
  14. Set the webhook to Active and save it in DenGro.
  15. In MessageMind, click Save in the Configure trigger window.
  16. Add the steps the campaign should run.
  17. Switch the campaign from Draft to Published at the top of the editor and click Save.
  18. Once the next lead comes in, the status line in the Configure trigger window starts with "Signature verified on" followed by the date.

Authentication and permissions

Mechanism
You copy two values from MessageMind and paste them into a new outbound webhook in DenGro. You don't sign in to DenGro from MessageMind, and there is no API key to create.
Credentials
The Webhook URL and the Signing key, both in the Configure trigger window of any DenGro trigger. They belong to your account, not to one campaign, so a single webhook in DenGro serves New Lead and New Enquiry in every campaign. The signing key is 32 characters long and stays hidden until you click the eye (Reveal) button.

Available data and actions

Reads

  • The person's title, name, gender, email address, mobile and telephone numbers, date of birth and address.
  • The treatment they asked about and its journey status in DenGro.
  • The message they wrote in the form, the practice the lead belongs to and the lead source.
  • How and when they prefer to be contacted, and the appointment date and time they asked for.
  • Whether they are an existing patient, NHS or private, the payment plan, the estimated amount and your own reference.
  • GDPR consent and marketing consent.
  • UTM details, Google and Facebook click IDs, the referrer and the landing page of the form.
  • The DenGro record ID and when DenGro created the lead or enquiry.

Configuration

  • To change a trigger later, open the campaign, click the three-dot menu on the trigger card and choose Edit.
  • The status line in the Configure trigger window shows where the setup stands. It starts with "Signature verified on" once a delivery arrives signed with your key, and from then on only deliveries signed with that key are accepted.
  • Regenerate replaces the webhook URL and the signing key. After you confirm, the old ones stop working at once and the status goes back to waiting until DenGro sends with the new ones.
  • Runs On Contact starts on Multiple Times for DenGro triggers, so a person who comes back with a new lead, for example for another treatment, goes through the campaign again. Pick Once if each contact should only go through one time.
  • With Multiple Times, the switch Allow currently active contacts in this automation to re-enter again decides whether a new run can begin while the contact is still in an earlier one. When it's off, pick Discard trigger to ignore the new lead, or Queue for later to run it after the active run finishes.
  • Maximum runs per contact, also under Multiple Times, caps how often one contact goes through the campaign. Leave it empty for unlimited runs.
  • In an Add/Remove Pipeline Stage step, pick Estimated Amount as the deal value and choose the currency next to it. A deal value already set in that pipeline is kept.

Example workflows

Reply to a new implant lead

  1. Someone fills in the implants form on your website and DenGro creates a lead for your practice.
  2. The person appears in your Contacts and your New Lead campaign starts for them.
  3. A Condition step on Treatment Name sends implant leads down their own path.
  4. That path sends an SMS that names the treatment and offers a consultation on their Preferred Appointment Date.

Add new leads to your pipeline with their value

  1. A new lead comes in and your New Lead campaign starts.
  2. Its first step is Add/Remove Pipeline Stage, which puts the contact in the first stage of your treatment pipeline with Estimated Amount as the deal value.
  3. The next step sends a welcome email that names the treatment they asked about.

Follow up on an enquiry without a treatment

  1. Someone sends your contact form without choosing a treatment and DenGro records an enquiry.
  2. Your New Enquiry campaign starts for them.
  3. It sends an email that quotes their Message and asks which treatment they'd like to discuss.

Disconnect and reconnect

  • To stop leads coming in, open Settings > Integrations > Outbound Webhook in DenGro and make the MessageMind webhook inactive, or delete it.
  • To cut off the current URL from MessageMind's side, click Regenerate in the Configure trigger window and confirm. The old URL and key stop working at once.
  • To pause only a campaign, switch it to Draft and click Save. While the webhook stays active in DenGro, new leads are still saved in your Contacts.
  • Contacts already added from DenGro stay in your Contacts.
  • To connect again, copy the Webhook URL and Signing key from the Configure trigger window, paste them into the webhook in DenGro and set it to Active. Unless you clicked Regenerate, they are the same as before.