How to connect Microsoft Azure Marketplace to Hubspot via custom HTTPS endpoint

Billy Allocca
Billy Allocca

When setting up an offer on Microsoft Azure Marketplace you might find your CRM system unsupported if it is not Salesforce or Marketo. The fastest option for you to connect your CRM is via custom HTTP endpoint (webhook). In this step-by-step guide, we will show you how to do just that with Nexla.

1. Create a new Azure Marketplace Offer

Set up a new offer on Microsoft Partner Center. For more information, see this article in the Microsoft Azure documentation.

Setting up new commercial marketplace offer

2. Create Webhook in Nexla

Now log on to Nexla to create the flow. Reach out to us to start your free trial. From Flows, select Create New Flow and add a new Incoming Webhook source.

Creating a new webhook in Nexla

Configure your options by giving your source a name, selecting if you want to force a single schema, and selecting an authorization option. Click Generate Webhook URL.

Webhook configuration

Save the URL with your unique API key in it by clicking the copy button next to Webhook URL. We’ll need this later. 

Click Create in the top right to finalize the Incoming Webhook source creation.

Getting unique Webhook URL

3. Set up a custom HTTPS Endpoint

Jump back into Microsoft Partner Center and edit your offer. 

Navigate to Offer Setup then scroll to Customer Leads. Click Edit and add the following connection details:

Lead destination: Select “HTTPS Endpoint”

Contact email: <your email address>

HTTPS endpoint URL: <Nexla generated Webhook URL from Step 2>

Click Connect to save and then Validate to send a test record for Nexla to detect.

Setting up endpoint in Azure Commercial Marketplace

4. Build data flow in Nexla

Now we’re ready to finish the flow in Nexla. Within minutes, Nexla should detect a Nexset from the test contact sent to Nexla from Step 3. All future leads coming from Marketplace will be added to this Nexset. Click the Transform button to prepare the data to be sent to Hubspot.

Hubspot API requires incoming leads data as to come as part of a “properties” object. Add”properties.” to the attribute name and click Add To Draft.

Transform screen

The Draft Attributes for the Transformed Nexset should look like this after you’re done.

Transformed Nexset preview

Click Save & Close to create the transformed Nexset.

5. Finish data flow to Hubspot as destination

In the transformed Nexset,  click Send to Destination and select Hubspot.

Finishing flow to Hubspot

Add your credentials and click Authorize to approve Hubspot with Single Sign-On. You’ll need Super Admin permissions on Hubspot. Click Next then select Create Contacts or Create Deals, then Save.

Credentials

That’s it! Nexla will now run the flow automatically as leads flow in from your Azure Marketplace listing.. In this example we used Hubspot, but Marketo, Salesforce, and other API destinations can also be used as destinations in a similar way.

Next Steps

If you are interested in creating this integration, contact us to get a free trial or get a demo. Learn how Nexla can help you integrate, transform, and deliver data to any marketing system.

Pro-Tip

If your leads aren’t appearing in Hubspot after some time, first check for any errors in the destination by clicking the magnifying glass and going to Error Data. If your transformation was off or Hubspot didn’t recognize the property name, you’ll see the error log here. Second, check that your transformation is set up correctly with all attributes under a “properties” object.