To create a flow that adds or updates data in Dataverse when a record is created or updated in SharePoint, you can use Power Automate to achieve this. Here’s a step-by-step guide to help you set up the flow:
Trigger the Flow:
Get the Item Details:
ID
Check if the Record Exists in Dataverse:
sharepoint_id eq 'ID'
Condition to Check if Record Exists:
length(body('List_rows')?['value'])
If Record Exists, Update the Record:
first(body('List_rows')?['value'])?['dataverse_id']
dataverse_id
If Record Does Not Exist, Create a New Record:
Here is a more detailed breakdown of the steps in Power Automate:
Trigger:
Get Item:
List Rows (Dataverse):
sharepoint_id eq '@{triggerOutputs()?['body/ID']}'
Condition:
If Yes (Record Exists):
If No (Record Does Not Exist):
This approach ensures that your Dataverse table is updated with the latest data from SharePoint, whether it’s a new record or an update to an existing record.
If you need further clarification or run into any issues, please let me know!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Chiara Carbone as our Community Spotlight for November…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 535 Super User 2025 Season 2
Tomac 348 Moderator
developerAJ 262