Loading
Salesforce Help 사이트 “Help Agent powered by Fin” 도입 안내더 많이 읽기
Tableau 고객 대상: Tableau를 이용하는 고객이 Help 사이트에서 사례(케이스)를 등록할 수 없는 경우의 대체 수단더 많이 읽기
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

Auto-populate the Lookup Field with Salesforce Flows

게시 일자: Oct 5, 2026
상세 설명

These are the steps to auto-populate lookup fields using Salesforce Flows.

솔루션

This article explains how to automatically populate an Account lookup field from the selected Contact on a custom object in Salesforce by using a record-triggered Flow. The Flow runs when a record is created or updated and the Contact lookup contains a value.

Create the Record-Triggered Flow

  1. Go to Setup | Process Automation | Flows | New Flow.
  2. Select Record-Triggered Flow.
  3. For Object, select the custom object that contains the Contact and Account lookup fields.
  4. For Trigger the Flow When, select A record is created or updated.

Set the Entry Condition

  1. Set the following condition:
    • Field: Contact
    • Operator: Is Null
    • Value: False
  2. For When to Run the Flow for Updated Records, select Every time a record is updated and meets the condition requirements.
  3. For Optimize the Flow for, select Fast Field Updates.
  4. Click Done.

Add an Assignment to Populate the Account

  1. Click + | Assignment.
  2. Enter a Label, for example: Populate Account from Contact.
  3. Set the following value:
    • Variable: $Record.AccountId
    • Operator: Equals
    • Value: $Record.Contact > Account ID
  4. Click Done.

For a custom lookup field, the assignment appears similar to: Account = Triggering Record > Contact > Account ID.

The Flow now populates the Account lookup field with the Account associated with the selected Contact.

Save and Activate the Flow

  1. Click Save.
  2. Enter a Flow Label, for example: Auto Populate Account from Contact.
  3. Click Activate.

The Flow now runs whenever the custom object record is created or updated and the Contact lookup contains a value.

Knowledge 기사 번호

000387578

 
로드 중
Salesforce Help | Article