Using query parameters and Salesforce merge fields, you can create personalized prefill links that automatically populate forms with user information from Salesforce.

Thank you for reading this post, don't forget to subscribe!

Adding Dynamic Prefill Links in Salesforce Emails

  1. Generate Your Prefill Link:
    In Jotform’s Form Builder, navigate to Publish > Prefill > Salesforce Prefill, and copy your prefill link. For detailed steps, refer to the guide on how to prefill your form using Salesforce data.
  2. Create/Edit an Email Template in Salesforce:
    In Salesforce, open or create an email template. Paste your prefill link in the email and append the query string ?jf_field=sf_field to the URL. For example:bashCopy codehttps://form.jotform.com/1234567890/prefill/73616d706c65?jf_field=sf_field
  3. Customize the Link:
    Replace jf_field with your form field’s unique name (found in Jotform’s Form Builder) and sf_field with the Salesforce merge field. For example:bashCopy codehttps://form.jotform.com/1234567890/prefill/73616d706c65?email={{{Recipient.Email}}} For multiple parameters, separate each query with an ampersand (&):bashCopy codehttps://form.jotform.com/1234567890/prefill/73616d706c65?email={{{Recipient.Email}}}&phone={{{Recipient.Phone}}}
  4. Save and Use the Template:
    Once saved, Salesforce will automatically insert the relevant data when sending emails. When recipients click on the link, the pre-filled form will include the data from the merge fields.

Using Dynamic Prefill Links in Salesforce Console

  1. Access Object Manager:
    Go to your Salesforce app’s Setup page, then open Object Manager.
  2. Create a New Button or Link:
    Edit an object and add a new button or link by selecting New Button or Link.
  3. Configure the Link:
    • Set the Content Source to “URL.”
    • Insert your form’s prefill link with the necessary query parameters. Use Select Field Type and Insert Field to generate Salesforce merge fields.
  4. Add to Page Layouts:
    After saving, you can add the newly created custom links to the page layouts in Salesforce, making them easily accessible.

By following these steps, you can dynamically populate forms with Salesforce data, streamlining data entry and improving user experience.

Related Posts
Salesforce OEM AppExchange
Salesforce OEM AppExchange

Expanding its reach beyond CRM, Salesforce.com has launched a new service called AppExchange OEM Edition, aimed at non-CRM service providers. Read more

The Salesforce Story
The Salesforce Story

In Marc Benioff's own words How did salesforce.com grow from a start up in a rented apartment into the world's Read more

Salesforce Jigsaw
Salesforce Jigsaw

Salesforce.com, a prominent figure in cloud computing, has finalized a deal to acquire Jigsaw, a wiki-style business contact database, for Read more

Health Cloud Brings Healthcare Transformation
Health Cloud Brings Healthcare Transformation

Following swiftly after last week's successful launch of Financial Services Cloud, Salesforce has announced the second installment in its series Read more