web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / New to Flow - Can I sc...
Power Automate
Unanswered

New to Flow - Can I schedule downloading Excel versions of Dynamics 365 View Data?

(0) ShareShare
ReportReport
Posted on by 17

I've never used Flow, not sure if it does this.  If so, I need a bit of hand-holding to help me set this up (I didn't see a template for it):

 

I want to set up an auto schedule that will go to our Dynamics CRM, go to each of about 10 saved Views (each is for a different entitiy; each has a filter for New and Updated records since Date X) and download a Static Excel file of the View.

 

It would be easy for me to manually do one of these each week, but since I have 10 to download, automation would be a big timesaver.  

Categories:
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi!

     

    Unfortunately, you cannot download static excel files from Flow. However, you could use PowerShell to achieve the automation that you want. 

    Steps: 

    1. Create a credential and log in to dynamics

    2. Use the Get-CrmRecordsByViewName  command to get the records

    3. Apply the filter and save as outfile to excel. 

     

    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


    @GDBarkin wrote:

    I've never used Flow, not sure if it does this.  If so, I need a bit of hand-holding to help me set this up (I didn't see a template for it):

     

    I want to set up an auto schedule that will go to our Dynamics CRM, go to each of about 10 saved Views (each is for a different entitiy; each has a filter for New and Updated records since Date X) and download a Static Excel file of the View.

     

    It would be easy for me to manually do one of these each week, but since I have 10 to download, automation would be a big timesaver.  


     

  • v-lin-msft Profile Picture
    728 on at

    Hi @GDBarkin,

     

    Based on your description of the requirements, you want to get Dynamic records of the latest date update and put them in an Excel, then download it, right?

    Here I show you a flow configuration that gets entity records and updates in excel, you can configure your flow according to the following screenshots:

    Step 1: Get the records of Dynamic every week.

    Step 2: Get the rows present in the Excel table that you want to store records, and clear the table.

    Annotation 2019-05-28 111436.png

    Step 3: The newly updated records were selected.

    For example, I set seven days here and stored them in excel.

    formatDateTime(item()?['modifiedon'],'dd-MM-yyyy') is greater or equal to addDays(utcNow(),-7,'dd-MM-yyyy')

    Annotation 2019-05-28 111604.pngStep 4: As you described before, there are ten entities, so you need to create ten similar flows, or you can add branches by clicking Cross button in the Red box.Annotation 2019-05-28 113133.png

    You can have a try. If there is any problem, please contact us.

     

    Best Regards,

    Community Support Team _ Lin Tu

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

     

  • GBarkin Profile Picture
    17 on at

    Hi Lin Tu,

    I was able to get pretty far, but I need help.  I think perhaps I may not have even expressed the need correctly.  Given what I learned from you here, I'll reframe my need using CRM Dynamics Contacts as an example; I need to have a spreadsheet updated weekly with this info (I understand that it will update any / all columns I choose in "Add a row..."):

    On a weekly basis...

    • ADD to Excel spreadsheet any Contacts ADDED to the CRM since last week's Flow
    • UPDATE any Contact rows on spreadsheet with CRM modified date since the last Flow (or, delete old Excel row and replace with new)
    • For bonus money, also DELETE any Contact row if the Contact has been deactivated in CRM

    Here's my setup as of now:

     

     

     

     

  • GBarkin Profile Picture
    17 on at

    Hi @v-lin-msft,

     

    I was able to get pretty far, but I need help.  I think perhaps I may not have even expressed the need correctly.  Given what I learned from you here, I'll reframe my need using CRM Dynamics Contacts as an example; I need to have a spreadsheet updated weekly with this info (I understand that it will update any / all columns I choose in "Add a row..."):

    On a weekly basis...

    • ADD to Excel spreadsheet any Contacts ADDED to the CRM since last week's Flow
    • UPDATE any Contact rows on spreadsheet with CRM modified date since the last Flow (or, delete old Excel row and replace with new)
    • For bonus money, also DELETE any Contact row if the Contact has been deactivated in CRM

    Here's my setup as of now:

    Flow.gif

     

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 231 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 217 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 170

Last 30 days Overall leaderboard