Skip to main content

Notifications

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 
  • Ralf Pi Profile Picture
    29 on at
    Flow to create csv file and save in sharepoint

    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.
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    Flow to create csv file and save in sharepoint
    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
  • Martin Dráb Profile Picture
    232,866 Most Valuable Professional on at
    Flow to create csv file and save in sharepoint
    Are you talking about Power Automate? If so, please ask in Power Automate Community.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,095 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans