This guide explains how to push updates from HighLevel to Mapsly using API.
Prepare your data using Google Sheets.
In order to set up integration between HighLevel and Mapsly you need to prepare a Google Sheet that will contain data for a one-time import. For this example we will use a simple Contacts table that will contain the following fields: id, Name, and Address.
Create a new Google Sheet, create the columns and import your data to your Google Sheet:
Keep in mind that the id field has to be stored in column A. If you want to configure different field types, please use this Google Sheets configuration guide.
Then, connect your Google Sheets to Mapsly as described in this guide.
After you import your sheet, you can disable the sync between Google Sheets and Mapsly since it is no longer needed (since the data will be sent from HighLevel to Mapsly directly via API):
Generate API key
Generate an API key to your newly created data source by following this guide.
Send data from HighLevel to Mapsly
Now you need to set up create/update webhooks for all types of data that you want to send to Mapsly. In this example, we will set up a create/update webhook and use Mapsly's API to sync it to your Mapsly account.
In HighLevel click on the Automation tab and then click on "Create Workflow":
As a trigger select "Contact created":
Select "Custom Webhook" as your action.
Use the following URL for your webhook by entering your Mapsly API key and the entity name:
https://api.mapsly.com/v1/record?apikey=your_Mapsly_api_key&entity=Contacts
In the body of this request, include the HighLevel fields that you would like to send to Mapsly, for example:
{
"id": "{{contact.id}}",
"name": "{{contact.name}}",
"email": "{{contact.email}}",
"phone": "{{contact.phone}}"
}
You should end up seeing something like this:
You can now test this webhook.
In addition, you will need to create a similar webhook with trigger "When a record is updated". Unfortunately, at the moment of writing this article, HighLevel does not have the "On delete" trigger for webhooks.
Implementation is included in your Mapsly subscription!
Your Mapsly subscription comes with implementation services, so we're inviting you to book a web call with our engineer today - to learn more about your use scenario and help you integrate Mapsly with your system. You may also ask us for help in chat any time 24/7.