Webhooks Guide: Connecting to Your CRM

Learn how to export your guest data from Autohost:

In this guide, we'll learn how to connect Autohost to a CRM, like HubSpot—which we'll use in this example. Normally, you would need to know how to write code to achieve this, but thanks to tools like Zapier and IFTT, we can use a simple user interface to build the connection.

For this tutorial, we'll be using Zapier, which will act as the middleperson between Autohost and your CRM. Once you connect Zapier to Autohost, it will receive details submitted by your guest via the check-in portal and create a new (or update an existing) contact in HubSpot.

Let’s get started!

This guide, while still relevant, is outdated. Autohost now offers a Zapier app that makes it a lot faster and easier to integrate with hundreds of other applications.

Prerequisites:

  • Zapier account (paid)

  • HubSpot account (free)

Steps:

Part I: Exporting data via Zapier

1. Login to Zapier and from the main page, click MAKE A ZAP.

zapier_make_a_zap


2. Search for webhook as a trigger and select it.
zapier_webhook_trigger

3. Select Catch Hook for Trigger Event and click CONTINUE.

zapier_webhook_catch_hook


4. Click
CONTINUE again.
zapier_webhook_catch_hook_continue

5. Note the unique URL created for you. Copy it and paste it into your Autohost settings, as shown in the next screenshot.

zapier_webhook_catch_hook_url

 
6. Log in to your Autohost dashboard and go to Settings and then click on the Advanced tab. Look for the field called Webhook URL and copy-paste the URL from Zapier.

autohost_settings_webhook


7. Now, we need to send test data to Zapier so it will know what data to expect and allow us to finish building your Zap.
We can do this by creating a manual reservation in Autohost. Just follow this link
create_a_reservation


8. Fill out the details above and click CREATE.

9. Go to your Reservations, and find the reservation you just created. Then follow the Guest Portal Link and complete the Portal. 

Screen_Shot_2020-11-17_at_9_53_06_AM

10. After you've finished, return to Zapier and click CONTINUE to see the data received from the Guest Portal.

zapier_receive_data

 
Part II: Pushing the data into HubSpot

1. For the second step, search HubSpot to find the correct target application to which we want to send the Guest Portal data.

zapier_hubspot_trigger

 

2. Select Find Contact under Action Event and click CONTINUE.

zapier_hubspot_trigger_continue

 
3. If you have never connected Zapier to HubSpot, you will need to do so now. Click Sign in to HubSpot to connect.

zapier_hubspot_connect


4. Select the HubSpot account you want to connect if you have more than one.

zapier_hubspot_connect_account

 
5. Click Connect App to authorize the connection.
zapier_hubspot_connect_app
 

6. Confirm the account number is correct and click CONTINUE.

zapier_hubspot_confirm_account

 

7. Now that HubSpot is connected, we need to configure how to search for existing contacts. Click on First Search Property Name and in the search popup, type email to find the contact email field we want to use.

zapier_hubspot_find_contact 

8. Next, we need to define which fields are sent from Autohost. Click on First Search Property Value and in the search popup, type email to find the email field and select it.

zapier_hubspot_property_value

 

9. Make sure you check the box Create HubSpot Contact if it doesn’t exist yet.

zapier_create_hubspot_contact 

10. In the last step, we instructed Zapier to create a new contact if a matching email was not found, so now we need to configure how to create a new contact profile in HubSpot.

Scroll down until you find Contact Information: Mobile Phone Number. Click the empty field and type phone to find the phone number field sent from Autohost.

zapier_contact_information_phone

 

11. Like in the previous step, we will next configure the contact email. Look for Contact Information: Email. Then click the empty field to search for email and select the correct field.

zapier_contact_information_email

 

12. Find Contact Information: First Name. Click the empty field, search name and select the Full Name field sent from Autohost.

zapier_contact_information_first_name

 

13. We’re almost done! Scroll to the bottom and click CONTINUE.

zapier_contact_information_continue

 

14. Click TEST & CONTINUE to verify your new Zap connection is working.

zapier_contact_information_test_continue

 
15. And tada! Do not forget to rename your Zap at the top of the page. Once that's done, you can click Done Editing and enable your function.

zapier_zap_rename_done_editing

 

16. Now, if you go back to HubSpot, you will see the test contact created under your Contacts.

zapier_hubspot_contact