Skip to main content

Notifications

Power Apps - AI Builder
Unanswered

Start Power Automate flow with Button

Posted on by
Hello
 
i created a power app canevas and i want to start a flow with a button 
 
The button would be in my canvas app, and i want that if i click on the button, my power automate  start immediatly 
 
I read this documentation : https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/using-logic-flows but it is retired and the trigger power app mentionned in the documentation does no longer exist 
 
How can we start a power automate by cliking on a button in power app ? 
 
 
Categories:
  • CU22081222-0 Profile Picture
    CU22081222-0 2 on at
    Start Power Automate flow with Button
    Hello FlMike 
     
    Thank you for your anwser 
     
    i created my flow, i put "When Power Apps calls a flow (V2)" 
     
     
    with no input 
     
     
    i created a canevas app and i added my flow : 
     
    i just want to start this flow by clicking on the button
     
    I don't need any parameter, and when i try to put this : 
     
    i get an error et nothing happen when i click on the my button 
     
     
    how to run this flow ? 
     
     
  • Suggested answer
    FLMike Profile Picture
    FLMike 23,258 on at
    Start Power Automate flow with Button
    HI,
     
    Super Simple
     
    Steps
     
    1. Create a Solution
     
    2. Add a New Flow to your solution.
    -Create an Instanct Flow
    -Select the Power Apps V2 Trigger 
     
     
    2. Add whatever Steps you want to do in the Flow
     
     
     
     
     
    Now this Flow is part of your Solution and your App will see it
     
    3. Create Your Canvas App in the same Solution
    Add your Button
    Once the App is Open, you need to click the Flow Tab on the Left Side
     
    4. Select the Flow
    I don't have any to add as I already added them
    but you would see your new flow there
     
    5. Once your Flow is added, you can now call it from the Button
     
    Here is my OnSelect, where I am calling flows I already have connected
     
    ['[Sample]SendAttachmenttoFlow'.Run("MySingleParameterValue")]
     
    So now I have called my Instant Flow from a button in my Canvas App
    My flow asked for a single parameter, you can add whatever you want, even JSON
     
    And answered
     
     
     

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Community Update Sept 16…

Power Platform Community Update…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 140,719

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,355

Leaderboard