Can you link to someone's address in maps in an internal email notification?

Our sales reps want to be able to receive an email notification with a new prospect’s address, click on it directly from the email and open it in Google maps.

I know there’s HTML that can be added to just static address text to make it clickable and open in a maps app, but would there be any way to do this with HubSpot personalization tokens?

This is in an internal email notification from a workflow.

Hi @katherineladue ,
As you said this is possible with adding HTML to text, I don’t know of it;s possible to put code into personalization token. However I found this article for you. Check if it works. You might need a developer’s help for this.

Hope this helps!

If we were able to answer your query, kindly help the community by marking it as a solution.
Thanks and Regards.

Hi @katherineladue,

Yes, this is possible, thanks to Google’s documentation here. I tested this in a marketing email using a hyperlink:

In the source code of that email, you would add the personalization tokens to the URL:

<p>Hi @katherineladue,</p>
<p> </p>
<p>This should do the trick: <a href="https://www.google.com/maps/search/?api=1&query={{ contact.address }} {{ contact.zip }} {{ contact.city }}" rel="noopener">Google Maps link</a></p>
<p> </p>
<p>Cheers!</p>

Previewing the email for a contact with a fake address shows that the link will be generated correctly: Google Maps

I would’ve expected the link to break because of the spaces in the property values but it’s actually fine.

You could use the exactly same method in an internal email notification in a workflow. I went the easy route here to be able to preview an email quickly.

Hope this helps!

Thank you!! This is super helpful… slight caveat - this is for a client who ONLY has Sales Hub Pro, no marketing hub. So they’re actually not able to use marketing emails in workflows, and I don’t think you can edit the source code of an internal email notification… I will just try it anyway, and if it’s not possible then it might be a good way to convince them to pull the trigger on marketing hub as well :wink:

Happy to help, @katherineladue. Let me know how it goes.

If you want others to be able to find this information, I’d appreciate if you accepted my earlier post as a solution :slightly_smiling_face:

Have a great day!