Problemas passing contact parameter from HS from to exterl URL (calendly)

nicowegher
Participant

Hi,

We are trying to prepopulate a calendly form with prefill data completed in a hubspot form. This is the flow:

 

1.User completes a HS form

2.User is redirected to external URL with contact parameters
https://calendly.com/hablarconpxsol/recorrido?name={{contact.firstname}}&email={{contact.email}}

3. [issue] Data arrives as {{contact.firstname}}
Screencapture: https://prnt.sc/1w65hg1

 

Any idea on how to solve this issue?

 

Thanks!

0 Upvotes
5 Replies 5
TiphaineCuisset
Community Manager

Hi @nicowegher 

 

Thank you for reaching out.

 

I want to tag some of our experts on this - @tjoyce @BootstrapC do you know what could be happening here? 

 

Thank you!

Best

Tiphaine


Saviez vous que la Communauté est disponible en français?
Rejoignez les discussions francophones en changeant votre langue dans les paramètres !

Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !


0 Upvotes
BootstrapC
Top Contributor

How are you doing this part of the process "User is redirected to external URL with contact parameters". On your landing page you would need to use javascript + hubl to look for an event listener and then create the redirect url that way. I would try creating a custom module that has your form submit listener in it to create the redirect url. 

https://legacydocs.hubspot.com/global-form-events


HubSpot Themes

Jake LettDigital strategy consultant
Creator of the Industrial Pro HubSpot Theme which helps manufacturers quickly build their website or blog on HubSpot.


nicowegher
Participant

Hi @BootstrapC I'm just pasting the url with the parameters inside the HS form:

nicowegher_0-1634569800867.png

This is the full url: 
https://calendly.com/hablarconpxsol/recorrido?name={{contact.firstname}}&email={{contact.email}}

 

0 Upvotes
BootstrapC
Top Contributor

The default hubspot form success text doesn't support HubL code or javascript. So you are going to need to bypass this and create your own using a custom module. HubL is the code language that dynamicly adds the contact name and email. Do you have an internal developer resource who can help you with this?


HubSpot Themes

Jake LettDigital strategy consultant
Creator of the Industrial Pro HubSpot Theme which helps manufacturers quickly build their website or blog on HubSpot.


nicowegher
Participant

Thanks for your quick reply @BootstrapC .

 

I understand. Unfortunely I don't have access now to that internal resource. 

I imagine I'll keep asking twice name and email 😞 

 

Saludos!

0 Upvotes