-
Jordan HaisleyAsked on January 26, 2024 at 10:08 AM
Prefill is great, but would be much better if it supported custom objects instead of just leads or contacts.
-
Annaliza_O Jotform SupportReplied on January 26, 2024 at 10:20 AM
Hi Jordan,
Thanks for reaching out to Jotform Support. As of the moment, the Prefill feature reference is for Contacts and Leads only. The custom salesforce object is not yet supported. But this request has been escalated here to our Developer team.
We appreciate your feedback. Please let us know if you require further assistance.
-
Gabriela JotForm SupportReplied on September 10, 2024 at 3:06 AM
Hi Jordan,
We're thrilled to announce the launch of our new Salesforce Dynamic Prefill feature, designed to streamline your form-filling process. With this feature, you can now automatically populate your forms with data directly from Salesforce, ensuring accuracy and saving valuable time.
Here's how you can get started with the Salesforce Dynamic Prefill setup:
Setting Up Salesforce Prefill
- In the Form Builder, go to the Publish tab in the orange navigation bar at the top of the page.
- Click on Prefill on the left side of the page.
- Select the Salesforce Dynamic Prefill option.
- After clicking the Salesforce Dynamic Prefill option, you will see the authentication step, and in this step, you need to select a Salesforce account from the dropdown menu to use for prefill.
- After completing the authentication step, you will see the configuration screen. In this step, you need to select a Salesforce object initially to get data from Lookup Object. The Salesforce Dynamic Prefill allows users to prefill their forms dynamically from any Salesforce object, including the custom ones.
- After choosing the lookup object, you will need to define their lookup criteria under the Lookup Filters. The defined criteria will be used to query the Salesforce database to find the matched record(s). It is possible to add multiple filters with AND condition, and as a best practice, we recommend using hard-to-predict fields or adding multiple filters to increase the security of the form. If multiple records match, you have the option to prefill with the most recent record or skip the prefill with the setting shown below:
- The final setting to be made is the mapping (Map Fields). For the most used standard objects (e.g. Contact, Account, Lead), the mapping section comes auto-populated. You can make the necessary changes, and save your prefill settings.
Live Prefill
Once you’ve set up the Salesforce Dynamic Prefill, you can use the Live Prefill feature. This feature fetches Salesforce data as respondents are filling out the form. If a record matching the lookup criteria is found, the form will be automatically populated with Salesforce data. For Live Prefill a single prefill URL is generated, and it can be reached from the Live Prefill Link tab Share With Link section after saving the prefill source settings.
You can customize the Live Prefill URL with query parameters using Salesforce merge fields. These URLs can be added as custom buttons or links to Salesforce record pages or used in email automation tools within Salesforce.
Prefill from Multiple Salesforce Objects
With the Salesforce Dynamic Prefill, it's possible to prefill a form from multiple Salesforce objects. You can configure these objects as independent prefill sources or link them using relational fields of Salesforce objects.
Creating Record Specific Links (Personalized Links)
You can also create unique form links for your customers, pre-populated with their data. This option can be reached from the Personalized Links tab by clicking the Create New Links button. These personalized links can then be downloaded, and sent via email.
To learn more, you can check out our guide on How to Prefill Your Form Using Data From Salesforce.
Let us know if you have any questions.