Share feedback, ideas and get community help

Updated 2 months ago

prefill cal.com

At a glance

The community member is trying to prefill Cal.com fields using a URL, but it's not working anymore, even though it worked in a previous project. The comments suggest that using query parameters like this is not the correct way to prefill the fields. Instead, the community members recommend using the "Prefill information" section in the block config. There is also a discussion about the purpose of passing metadata to Cal.com, with one community member explaining that the metadata is used to fill in hidden fields and track user information, but another community member suggesting that the metadata should not be added to the Cal.com link.

Hey guys, I'm trying to prefill cal.com fields by url but it's not working, I used it for a while in another project and it worked, but now it's not working anymore?


?name={{perguntaFullName}}&email={{perguntaEmail}}&calPhone={{perguntaPhone}}&metadata[utm_source]={{utm_source}}&metadata[utm_campaign]={{utm_campaign}}&metadata[utm_content]={{utm_content}}&metadata[utm_medium]={{utm_medium}}&metadata[utm_term]={{utm_term}}&metadata[placement]={{placement}}&metadata[typeBInsta]={{perguntaInsta}}&metadata[typeBEmail]={{perguntaEmail}}&metadata[typeBTelefone]={{perguntaPhone}}&metadata[typeBMLUser]={{ml_user}}
H
B
7 comments
I saw here now that the information arrives in the metadata, it just isn't working correctly the prefill option to fill in the fields
Hmmm good to know thanks I'll try it out
So indeed you shouldn't use query params like this.
You need to use Prefill information section in the block config:
I'm not sure why you'd need to pass metadata to Cal.com? Can you explain what's the purpose of this?
The metadata is used to fill in the hidden fields, so if the user is in the typebot flow and he types an email, he is added to the database with that email, but if he updates the email while he is in the lime, another user is added if the email metadata does not exist, so I can make a comparison of who the user is.
Right, but you don't collect the metadata in Cal.com, right? You don't need to add the metadata in the Cal.com link
Add a reply
Sign up and join the conversation on Discord