> ## Documentation Index
> Fetch the complete documentation index at: https://fillout-005a867b-dependabot-npm-and-yarn-form-data-4-0-6.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Update existing Salesforce records with a form

> Make a form that lets users edits existing records from Salesforce, and pre-fills fields with data from the record.

## How it works

<Steps>
  <Step title="Set your form to update mode">
    Open your [Salesforce-connected form](https://www.fillout.com/help/salesforce) and navigate to the `Integrate` tab and select `Salesforce`.

    <img src="https://mintcdn.com/fillout-005a867b-dependabot-npm-and-yarn-form-data-4-0-6/n9ebohD05VHZJ-H5/images/Screenshot2025-11-11at5.03.58PM.png?fit=max&auto=format&n=n9ebohD05VHZJ-H5&q=85&s=f90adc6b07a78fcdf45a209e2c6fcbc3" alt="Screenshot 2025-11-11 at 5.03.58 PM.png" width="2626" height="1435" data-path="images/Screenshot2025-11-11at5.03.58PM.png" />

    Then, click `Update record`.

    <img src="https://mintcdn.com/fillout-005a867b-dependabot-npm-and-yarn-form-data-4-0-6/n9ebohD05VHZJ-H5/images/Screenshot2025-11-12at2.13.52PM.png?fit=max&auto=format&n=n9ebohD05VHZJ-H5&q=85&s=0b2d8c0afcc1c5f52622440c12067453" alt="Screenshot 2025-11-12 at 2.13.52 PM.png" width="1686" height="666" data-path="images/Screenshot2025-11-12at2.13.52PM.png" />

    You'll now get a formula in Fillout that defines a **unique link** for every page in your table.

    <Info>
      The Salesforce integration is available on the **Team** and **Enterprise** plans. Learn more about the [Team plan](/team-plan).
    </Info>
  </Step>

  <Step title="Paste the provided formula">
    Add this new formula to your Salesforce object.

    <img src="https://mintcdn.com/fillout-005a867b-dependabot-npm-and-yarn-form-data-4-0-6/oO5k5FPOY4bT5lbU/images/sfra2.png?fit=max&auto=format&n=oO5k5FPOY4bT5lbU&q=85&s=b32a517ce793e0329f9c590a1150d7c7" alt="Screenshot of the Integrate tab of a form" style={{ width:"53%" }} width="956" height="266" data-path="images/sfra2.png" />

    Go to your Salesforce dashboard and click the `settings icon` on the upper right side followed by `Open Advanced Setup`.

    <img src="https://mintcdn.com/fillout-005a867b-dependabot-npm-and-yarn-form-data-4-0-6/oO5k5FPOY4bT5lbU/images/sfra3.png?fit=max&auto=format&n=oO5k5FPOY4bT5lbU&q=85&s=e7ecfcaac955e333b7bacb666700478e" alt="Screenshot of the Integrate tab of a form" style={{ width:"52%" }} width="337" height="317" data-path="images/sfra3.png" />

    Using **Quick Find** on the left-panel, search for `Object Manager`. Click your `object`. In our example, we used Contact.

    <img src="https://mintcdn.com/fillout-005a867b-dependabot-npm-and-yarn-form-data-4-0-6/I3fiDV8Zp-JLqtEx/images/ScreenShot2024-04-15at3.42.34PM.png?fit=max&auto=format&n=I3fiDV8Zp-JLqtEx&q=85&s=6d2e8653a446561f555cbb4b9456b3af" alt="Screenshot of the Integrate tab of a form" style={{ width:"59%" }} width="324" height="131" data-path="images/ScreenShot2024-04-15at3.42.34PM.png" />

    Go to `Fields & Relationships` and create a `New` field.

    <img src="https://mintcdn.com/fillout-005a867b-dependabot-npm-and-yarn-form-data-4-0-6/EDZ5NrQNXN0RrO9B/images/Screenshot2025-02-12at5.38.18PM.png?fit=max&auto=format&n=EDZ5NrQNXN0RrO9B&q=85&s=6a57e6a82cf7f87442ffacb85ce06df9" alt="Screenshot of the Integrate tab of a form" width="2880" height="1546" data-path="images/Screenshot2025-02-12at5.38.18PM.png" />

    Select **Formula** from the list. Then, paste provied formula on Fillout into Salesforce.
  </Step>

  <Step title="Publish and share">
    Complete your setup by clicking `Update` and `Publish`.

    To update a Salesforce record, click `Preview` and select a **Record to update** or click one of the unique links from your Salesforce object.

    <img src="https://mintcdn.com/fillout-005a867b-dependabot-npm-and-yarn-form-data-4-0-6/n9ebohD05VHZJ-H5/images/Screenshot2025-11-11at5.21.44PM.png?fit=max&auto=format&n=n9ebohD05VHZJ-H5&q=85&s=7279db34dc54617a24bfdb6b600ff392" alt="Screenshot 2025-11-11 at 5.21.44 PM.png" width="2618" height="1437" data-path="images/Screenshot2025-11-11at5.21.44PM.png" />

    Your form will **automatically pre-fill** the data for the record it is updating.

    <Note>
      If you don’t provide an **id** in the unique URL, the form will create a new record instead.
    </Note>
  </Step>
</Steps>

## Advanced next steps (optional)

Enhance your update forms by integrating them with platforms like Salesforce App Builder or Lightning Experience. Instead of the formula in Step 3, you might consider using a `Button` field.

This button can then be embedded within Salesforce interfaces for users to easily manage records.

## Specify a condition

You can run your integration only when a specific condition is met. Check out this [guide](/conditional-integration).

## Related articles

<CardGroup cols={3}>
  <Card title="Create a Salesforce form" icon="salesforce" iconType="solid" color="#FFC738" href="/salesforce">
    Add or update records with a form.
  </Card>

  <Card title="Integration logic" icon="gear-complex" iconType="regular" color="#FFC738" href="/conditional-integration">
    Perform an integration only when a certain condition is met.
  </Card>
</CardGroup>
