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 / How can we save a file...
Power Automate
Unanswered

How can we save a file from Power Automate to GitHub?

(1) ShareShare
ReportReport
Posted on by 31

The instant cloud flow is to get a flow >> compose file name>> compose flow definition >> compose file connector references>> upload this file to github 
Now, which github action to use to upload to file? And how to use it?

Categories:
I have the same question (0)
  • Gdarmon Outlook Profile Picture
    372 on at

    Hi,

     

    To save a file from Power Automate to GitHub, you can use GitHub Actions. Here are the steps you can follow:

    1. Create a new GitHub repository: If you haven’t already, create a new repository on GitHub where you want to store the file.

    2. Create a workflow: Create a new workflow using GitHub Actions for Microsoft Power Platform. The workflow can automatically export your file from Power Automate and upload it to your GitHub repository. This tutorial provides a detailed guide on how to create a workflow 1.

    3. Configure the workflow: Update the name of the YAML file to “Export Solution from Dev”. Remove the pre-created content, paste the content from the “export-and-branch-solution-with-spn-auth.yml” file, and then rename the file to “export-and-branch-solution.yml”. Update the <ENVIRONMENTURL> with the URL for the development environment you want to export from. Update the <APPID> and <TENANT ID> with your values. If you are using credentials, paste the “export-and-branch-solution.yml” file instead of the “export-and-branch-solution-with-spn-auth.yml” file contents. Update the <USERNAME> with the username you are using to connect to the environment 1.

    4. Upload the file: Once the workflow is configured, you can upload the file to your GitHub repository by committing it with one of the actions available on Marketplace. Alternatively, you can upload your data as an artifact to your workflow 23.

    Gill

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 103 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 87

#3
trice602 Profile Picture

trice602 63 Super User 2026 Season 1

Last 30 days Overall leaderboard