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.

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.



Not applicable

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

Helpful resources

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (5,892)