After a customer talks to sales, we need to begin onboarding with a form. Sometimes sales has a lot of this info and sometimes they don’t have any. We only want to ask customers to fill out information that they haven’t already given to sales.
I see that you can use dynamic query strings to auto populate form fields (Auto-populate form fields with a query string), but I don’t understand how that form knows which contact/company record to query. Is there a way to create a form that is connected to a specific record?
Hi @KGuthrie,
If you want to auto-populate a form using this method, you would have to create a URL with dynamic query strings as described at the very end of that page and send this URL to a customer via email: Auto-populate form fields with a query string
For example, if I were a contact record in your system with known email, first and last name, sending an email with this link http://www.domain.com/onboarding?firstname={{contact.firstname}}&lastname={{contact.lastname}}&email={{contact.email}} to me would resolve into http://www.domain.com/marketing-offer?firstname=Karsten&lastname=Kohler&email=karsten.koehler@acme.com. When I open that URL from the email in my email client, it would open the page and pre-populate the form.
In other words, simply sharing the form won’t work. Everyone needs their own link. HubSpot can automatically generate them when sending an email.
Keep in mind that you don’t want to put sensitive information in the link. When the email is shared, so is everything stored in the URL. Hypothetically, if payment information was in there, anyone who gets the email forwarded would also have this information.
Let me know if you have any follow-up questions!
Hi @karstenkoehler , Thanks for pointing this out. How do I deal with the problem of adding e.g. a text field content containing spaces to the string? That naturally breaks the string.