cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Toby_WR
Frequent Visitor

Importing Data From An Excel Spreadsheet and Updating/Creating Records In Dynamics365 Based On An Autofilled GUID Field

I am a begineer with Power Automate and I've been tasked with creating a flow that every day will list all the rows in a OneDrive Excel Spreadsheet and check if a column's value matches the related field in Dynamics (The field and column will contain a GUID so it will be unique). If the value matches then the flow should update the Dynamics record's fields to match those in the spreadsheet (if any have changed) or if there is not a matching GUID in excel then create a new record in dynamics that contains all the data from Excel. I have tried many different options but I just can't get it right. If anyone could point me in the right direction that'd be fantastic.

3 REPLIES 3
Brad_Groux
Super User II
Super User II

If you could provide an expanded screenshot of your Flow and steps, your Flow run history, and of any detailed error messages you're receiving we could likely better assist you. Also, for the best results, you may want to review How to write a good forum post.

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!

v-bacao-msft
Community Support
Community Support

 

Hi @Toby_WR ,

 

 

Have you created a similar Flow? Are there any questions that we need to help you solve?

 

If so, please provide these details.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Barry,

 

Thank you for your reply, I have used the pre-made templates and changed them slightly so that two different flows are able to create records in excel from D365 and another that will update a records based on a GUID. This obviously won't work as it will also create new rows even if the GUID already exists in D365. My issue is 'separating' for lack of a better word, which records need to be created in excel and which needs to be updated based off of the GUID. I tried to make a flow with a condition within an apply to each within another apply to each and this doesn't work how I intended it to. I currently have a flow that will delete all rows in the table and just create new rows for all the records again which with over 30,000 records takes too long. If you could give me any advice it'd be greatly appreciated,

 

Toby WR

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,170)