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 / Creating a file and ed...
Power Automate
Unanswered

Creating a file and editing it in one flow

(0) ShareShare
ReportReport
Posted on by

Hello everyone, 

 

Here is the crack of my problem. I am working with Powerapps and Flow. I click one button in my powerapps and the scenario should go like:

 

  1. Copy an Excel file from one location, in my one drive, and past it with a new name in another (i.e. creating a new file).
  2. find a unique field (specific text in a cell) and replace it with a new one (obtained from Powerapps).

The problem I am facing: 

 

  • I can't use Powerapps functions, such as Patch, Substitute, and Replace, because I need a predefined-already-connected datasource, which is not the case. i.e. the datasource is being created in the process after the click of the button.
  • I created a flow, which allowed my to do the first step. I, however, got stuck in the second.
  • In the process of creating a flow, I need an existing file to operate on, which is something I don't have.

 

To sum up, how do I deal, using Flow, with a datasource/excel table/file that is being created in the process and not preexisted ? For your convenience, I am attaching a screenshot of my accomplishment so far. 

 

PIC 1PIC 1

 

PIC 2PIC 2

 Thank you for your time,

Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    on at

    Hi @Anonymous,

     

    First of all, it is not possbile in PowerApps so far that you create the datasource in the process after the click of the button. Secondly, if you cannot specify the file when you create the flow in Update Row action, then this flow won't work. It has to be assigned with the correct file.

     

    Regards,

    Mona

  • Community Power Platform Member Profile Picture
    on at

    Hello Mona ( @v-monli-msft ), 

     

    Thank you for your response. I am aware of the powerapps limitation in regard to datasource ceration. That's why I setup my button to take the game to Flow where I was hoping I can find a solution. As for your second point, if you notice in my screenshoot, Dynamics has an option of specifying the file name and path to be created. As long as the file creation is taking part in the flow, I can always call any dynamic content created in previous steps. If I can ask you for a favor, would you please provide an example of how to use the "update row" action ? I am only confused with how the "Row ID" should look like. 

     

    Thank you, 

     

    AJ

     

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 506 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 425 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard