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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 223 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 205 Most Valuable Professional

#3
harshdeol Profile Picture

harshdeol 167 Moderator

Last 30 days Overall leaderboard