In order to access a URL that will open a record-centered map, you need to set up a workflow that will save the Mapsly URL to a URL field in that record. To do it you need to go to Setup > Workflows and click to create a new workflow:
Choose "Trigger" - Updated.
Under "Object" choose the object for which you want to run this workflow, i.e. Contacts
Under actions add a condition:
โrecord.mapsly_geo_status != oldRecord.mapsly_geo_status
This is needed to ensure that this workflow is only triggered when record's processing status is updated which happens when you first import your records to MapslyCreate a new Update record action:
In the Update record action add the URL field that you want to update and in the Target value add:
โhttps://app.mapsly.com?__object={{record.__objectApiName}}&__id={{record.id}}&__cmd=center,openMapPopup&__zoom=12
You can learn more about what each parameter means in this article.
You should end up with the following Update record action:
After the workflow runs, your new contacts will have the following Mapsly URL:
If you have any questions or need help with configuring your automation contact Mapsly support team 24/7 by chat or email at [email protected], we'll be happy to help.