Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

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

(1) ShareShare
ReportReport
Posted on by 26

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?

  • Gdarmon Outlook Profile Picture
    Gdarmon Outlook 372 on at
    Re: How can we save a file from Power Automate to GitHub?

    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard

Featured topics