You need to sign in to do that
Don't have an account?
Vital Aza
Automation: how update the current record with the value of a related (lookup) record, at record creation time
I am importing Contact records with Data Loader:
at record insertion, if AccountId (not required) is null then look up the Id of the related Account based on its AccountNumber, which is provided in the csv as an extra field.
I know this sounds like a Flow, but what type, formula, general logic?
Thank you.
at record insertion, if AccountId (not required) is null then look up the Id of the related Account based on its AccountNumber, which is provided in the csv as an extra field.
I know this sounds like a Flow, but what type, formula, general logic?
Thank you.
All Answers
I think you can achieve this with a record triggered flow.
Trigger on Contact Create>Use decision element to check if AccountId is NULL>IF Yes, fetch the Account record using the Get element>Finally, use the 'Update triggering record' element to update your accountID.
When I run an import like this I adjust my dataloader batch size to 100. It would also be worth running a small batch to test your automation. Ideally in a sandbox environment.
Please let me know your thoughts. I am just getting started with Flows and don't know all their capabilities.