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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Flow to create csv file and save in sharepoint

(0) ShareShare
ReportReport
Posted on by 222
guys,
 
I am trying to create a flow so that it runs everyday and creates a file in sharepoint with data that meets the criteria. Scenario: I want csv file to be created on daily basis which contains contacts whose birthday is in 1 day. File needs to contain name and address.
 
Hope it makes sense.
 
Many thanks in advance 
I have the same question (0)
  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at
    Are you talking about Power Automate? If so, please ask in Power Automate Community.
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    Hi Partner,
    Please refer to the following steps:
    1.Create one scheduled flow:
    2.Retrieve all contacts to get someone whose birthday is in 1 day.
    3.Select action:
    4.Create CSV table action:
    5.Create file in sharepoint:
    Test:

    I hope you can verify my answer if it helps you! If you have any questions, please feel free to contact me.
    Regards,
    Leah
  • Ralf Pi Profile Picture
    29 on at

    Here's a simplified example of how your flow might look in Power Automate:

    1. Trigger:

      • Recurrence: Daily at a specific time (e.g., 8:00 AM).
    2. Get Contacts:

      • Connect to your data source (e.g., CRM system or database).
      • Use the appropriate action to retrieve contacts whose birthday is in 1 day.
    3. Prepare CSV Data:

      • Use the "Create CSV table" action.
      • Map the contact attributes (name and address) to the appropriate columns in the CSV table.
    4. Create SharePoint File:

      • Connect to your SharePoint site and document library.
      • Use the "Create file" action.
      • Set the file name and specify the file content using the CSV data from the previous step.
    5. End Flow:

      • Your flow can now end, and you can set up notifications or additional steps as needed.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 80

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans