Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

How to map lookup field in update record action in flows.


Iam creating and updating records by reading data through excel. For example contact record is created by reading excel data same way need to update newly created contact with account name if it is available in CRM. Using flows iam able to create records but while updating contact record with company name field it is failing due to company name field is lookup field and mapped field is account id which is not type of lookup.pls suggest how map for lookup feild in update record action after getting rows from crm.
Dual Super User II
Dual Super User II

HI @dkrish2020 


 In CRM the lookup always points to the ID of the related record and to get the name of that record or mark it with the name of the field, you have to get the related record first and then map it accordingly. 


Please see the solved thread below and see if you can resolve the issue. Please post if you continue to face issues in this.


Hope this Helps!


If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!



 in update record action i have mapped company name with account name but still gettingg error as "resource not found". can you suggest what is the problem here.


Please suggest how to map Company name lookup field in update record action of contact .




Hey @dkrish2020 


Can you please post a screenshot of the flow so that we can have a better understanding of the issue and assist you better that way?

My Flow scenario : i am uploading contacts from excel and it contains contact fields and account name . During import of contacts and while creating contacts if the specified account name already exists in CRM link that account to contact or else create account and then update contact with newly created account.


Please see below flow screem shots 



















@yashag2255 please review above screenshots and let me know.

New Member



Is this issue resolved? Is it anyway possible to achieve this?

If the issue is solved, it will be great if the solution is shared.



Map the unique identifier GUID value in the [fieldname]_value in the create/update action step.

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,676)