how to pickup excel file from onedrive to d365 for every 1 hour using power automate
Here's an example of how to use Power Automate to pick up an Excel file from OneDrive and transfer it to Dynamics 365 for every 1 hour:
Start by creating a new Power Automate flow and selecting the "Recurrence" trigger, which will run the flow every 1 hour.
Add a new action to the flow, select "OneDrive for Business" as the connector, and choose the "Get file content" action. In the action, specify the location of the Excel file in OneDrive.
Add another action to the flow, this time selecting "Dynamics 365" as the connector and choosing the "Create record" action. In the action, specify the target entity in Dynamics 365 where you want to create the record.
To transfer the content of the Excel file to Dynamics 365, add a new action to the flow, select "Data operations" as the connector and choose the "Parse JSON" action. In the action, provide the content of the Excel file obtained in step 2 as the input and provide a sample JSON schema for the expected structure of the data.
Finally, use a "For each" loop to iterate through the parsed JSON data and create a new record in Dynamics 365 for each row in the Excel file.
Comments
Post a Comment