Use the Power Automate v2 Trigger for Power Apps

  Рет қаралды 48,674

Shane Young

Shane Young

Күн бұрын

Пікірлер: 124
@YouCanDoBetterThanThis888
@YouCanDoBetterThanThis888 Жыл бұрын
I was literally scratching my head when the 'Ask in Power Apps' dynamic is missing! Microsoft is not giving enough heads-up on this! Huge thanks to Shane for uploading this helper video so timely. Sorry that you are not as lucky as the rest of us are to have a 'Shane Young' video to turn to when such nuisance occurs...LOL...
@ShanesCows
@ShanesCows Жыл бұрын
Glad I could help, I do agree it felt like a very abrupt change.
@juliapi2609
@juliapi2609 9 ай бұрын
o m g ! same !! i was literally had a mental breakdown
@kittsat
@kittsat 2 ай бұрын
I just came from your old video and the amount that I just screamed because I finally got this to work is on another level!!!! Thank you thank you thank you!!!
@ShanesCows
@ShanesCows 2 ай бұрын
Wonderful! Glad you got it working.
@MVillasin
@MVillasin 4 ай бұрын
I just wanted something simple - press a button in Power Apps to trigger a flow that sends an email with details in a specific record in a SharePoint list. This was a headbanger until I saw this video. Thanks a million, Shane! BTW, V1 must have been permanently banished since this video was published - now no matter what I do it's v2 or nothing.
@ShanesCows
@ShanesCows 4 ай бұрын
Glad this helped. Yeah, I think v1 finally got fully hidden. :( I miss it.
@ikacatfish
@ikacatfish Жыл бұрын
I tried to use a Power Apps trigger for the first-time last week and could not find any instructions on how to use it that matched v2. Although I ended up finding your work around for v2, I found a different solution which was probably better for my use case. This is timely and something I will use in the future, thanks for the video!
@ShanesCows
@ShanesCows Жыл бұрын
Glad I could help and glad you got it working :)
@apbosh1
@apbosh1 Жыл бұрын
Thanks for keeping me up to date! Saves an awkward moment down the road.
@ShanesCows
@ShanesCows Жыл бұрын
You bet!
@dougydoe
@dougydoe Жыл бұрын
Great Stuff, Shane. I've been using the V2 for a while and I prefer that anyway so all good. I think the V2 version of file upload is much sleeker, straightforward and easy to use. Thanks for sharing. Very good to know.
@ShanesCows
@ShanesCows Жыл бұрын
Thanks. V2 is better, I just have to learn new muscle memory. :)
@TheKermit2110
@TheKermit2110 Жыл бұрын
cheers Shane, love it when they introduce more powerful versions of a function that simplifies everything - no more JSON/Base64/Binary conversions on file attachments. Cooooooollllll!!!!
@Five_to_Nine
@Five_to_Nine 8 ай бұрын
You've helped countless times with pieces of info like this, thank you so much!
@ShanesCows
@ShanesCows 8 ай бұрын
Happy to help!
@KyleMSchroeder
@KyleMSchroeder Жыл бұрын
Couple things, I've noticed about the new trigger. First, in the case that you make an input optional, you will want to manually write out the expression to reference to the input. Using the dynamic content selector excludes the question mark in the expression, which means it expects a value. For example, the dynamic content selector will return triggerBody()['text']. To avoid the error you had in your example, you will want to manually type triggerBody()?['text']. The ? means that the value can be null. The other thing I've noticed is that we can no longer pass in objects or arrays. This is a major step backwards in my opinion as I have a number of situations where I need to pass in an object or an array. I will be copying one of my workflows that uses the V1 trigger in order to retain this functionality. Hopefully, Microsoft will add those input types in the future.
@ShanesCows
@ShanesCows Жыл бұрын
Thanks for sharing Kyle. Very helpful notes.
@adedaporh
@adedaporh Жыл бұрын
You can pass those as text.
@KyleMSchroeder
@KyleMSchroeder Жыл бұрын
@@adedaporh True, but that requires to convert it to text in the app and then parse in the workflow. Extra steps for no reason.
@adrianthomas1761
@adrianthomas1761 Жыл бұрын
Thanks you so much, this was doing my head in. my current flow recently broke (requesting 97 arguments for reasons unknown).
@ShanesCows
@ShanesCows Жыл бұрын
97 is a lot. 😳 Hope you find an answer that works for you.
@wilfdiazr
@wilfdiazr 5 ай бұрын
Muuuuuuuuuuuuuuuuuuuuuchisimas gracias Shane, me ayudo mucho tu video... Crack, Saludos
@ShanesCows
@ShanesCows 5 ай бұрын
Happy to help or with ChatGPT's help: ¡Feliz de poder ayudar! ¡Me alegra que te haya servido el video! 😄
@oluwatobipaul6171
@oluwatobipaul6171 Жыл бұрын
Awesome video. Thank you Shane
@ShanesCows
@ShanesCows Жыл бұрын
Happy to help!
@cvkealey
@cvkealey Жыл бұрын
What annoys me about the V2 trigger (and most, if not all of the other "Instant" triggers) is that once you add an Input, you can't delete it without deleting and re-adding the trigger. I totally get that allowing makers to delete inputs could cause problems in the flow, but there are times you really do need to delete an input. Maybe you create it as text, then realize it needs to be a number (or boolean, or whatever). Grrr!
@jaded1977
@jaded1977 Жыл бұрын
Is there someplace that Microsoft warns us of these changes in Flow? I would love to know what they intend before I get my coffee and find out my life was turned upside down yet again :P
@ShanesCows
@ShanesCows Жыл бұрын
Sometimes they blog it, sometimes we just get shocked when we are mid demo or cup of coffee. 😑
@madelinemoisio7418
@madelinemoisio7418 Жыл бұрын
Hey Shane, thank you so much for your content - it has taught me so much! I have switched over my flow to use this new trigger, but when I upload documents - they get corrupted and I cannot open them anymore? Has anyone else ran into this issue?
@fam.giannakisflores7780
@fam.giannakisflores7780 Жыл бұрын
Shane. How pass and array?so we can upload multiples files at once? Could be as a json format? Or concatenet text?
@ShanesCows
@ShanesCows Жыл бұрын
This video kzbin.info/www/bejne/bYbIg62chdRriKc You will set the input as Text and pass a bunch of JSON. All shown in the video
@michaell6049
@michaell6049 Жыл бұрын
You mention at ~8:18 that you can pass variables to call text. If I have a variable that holds multiple values (text field, dropdowns), how could I pass that through? This is super helpful, thank you so much Shane.
@evanhagos7901
@evanhagos7901 Жыл бұрын
Are you figuring out this issue? If yes, please share
@THEDTSMAN
@THEDTSMAN Жыл бұрын
Yes Shane!!!!! Thank you, this was driving me insane!!!!!!!! Dam you Microsoft 😊👏🏻
@ShanesCows
@ShanesCows Жыл бұрын
Glad it helped!
@karolinaunderwood1039
@karolinaunderwood1039 9 ай бұрын
This is absolutely brilliant! Thank you so much (as always). Just one quick question: with v2 option, how about if I would like to have more than 1 attachments? How do I apply this to Apply to All?
@paolovr1970
@paolovr1970 2 ай бұрын
Thanks Shane 🙏🙏🙏
@ShanesCows
@ShanesCows 2 ай бұрын
Happy to help! Have a great week.
@c.mdsalih
@c.mdsalih 7 ай бұрын
Thanks you so much for this video :)
@PrithviChandrasekar
@PrithviChandrasekar 9 ай бұрын
Hi Shane. Thank you for this video. How do you dynamically create a folder and put a file inside that folder in power apps v2?
@ShanesCows
@ShanesCows 9 ай бұрын
In this video, kzbin.info/www/bejne/aJioYZiVdtiXg9k, that is what I show. I use the v1 connector and I talk about it being for Teams but it works the same for SharePoint.
@PrithviChandrasekar
@PrithviChandrasekar 9 ай бұрын
@@ShanesCows thank you Shane. Can I follow the same for v2 also?
@pratham360
@pratham360 Жыл бұрын
Hi Shane. Thanks for the video. I have the Power apps V2 configured against a submit button in Power Apps. In that case what should be my input ?
@stuart-saunders
@stuart-saunders Жыл бұрын
Great as always Shane. Is there anything we lose as a result of the v1 deprecation??
@ShanesCows
@ShanesCows Жыл бұрын
Not that I know of. 😎
@Bekesam
@Bekesam Жыл бұрын
Thank you Shane for the heads up!! For the V2 upload, is there a gain in upload processing time or would it be the same as V1? Cheers
@ShanesCows
@ShanesCows Жыл бұрын
Not that I am aware of, but I haven't dug in at the level either to compare.
@chap666ish
@chap666ish Жыл бұрын
Great video Shane, thanks. Don't you think it would be nice if Microsoft would give us an idea how long they will continue to support the V1 trigger for...
@ShanesCows
@ShanesCows Жыл бұрын
My guess = V1 will always work, so you will never have to rebuild an old flow. But within a few months they will remove all of hte workaround places to create it. 🤷
@chap666ish
@chap666ish Жыл бұрын
@@ShanesCowsThanks Shane. Presumably keeping the old triggers would also mean they need to keep the "old" flow editor. Unless they update the new editor to enable editing of old triggers, I suppose. Don't get me started on the new editor. On the one hand it's a great improvement, on the other it's bl**dy awful.
@samlogan87
@samlogan87 Жыл бұрын
Hey Shane, when you need to dynamically change the file upload location, can you do the same thing with the file name and add a location?
@ShanesCows
@ShanesCows Жыл бұрын
Yes, in this old video I show exactly how to do it kzbin.info/www/bejne/aJioYZiVdtiXg9k
@PFSIKH
@PFSIKH Жыл бұрын
Great Video! Is no one going to mention there is a body on the floor in Buddy's picture? 🤣
@ShanesCows
@ShanesCows Жыл бұрын
🙈
@larryjamespaa3783
@larryjamespaa3783 Жыл бұрын
Hi Shane, how about adding collection, is it under text or file? Thanks
@ShanesCows
@ShanesCows Жыл бұрын
Text. I would follow this video kzbin.info/www/bejne/n57Lqaxph6qajsU and use a v2 Text input where I showed "ask in power apps" for the collection
@blackwolf_majik
@blackwolf_majik Жыл бұрын
Probably a silly question: the V2 and Manual Button trigger caps out at 20 inputs, but my form has more fields. How should I provide the form info for an approval step if I can't get all of the field info into the workflow? The requestor wants to have the workflow triggered manually, via button click, to request form approval rather than on Item Creation. Should I just pick a handful of key fields and then try to add in a weblink to the original item for reference? I don't see the option for V1 anywhere (I'm on a government platform). Thanks!
@ShanesCows
@ShanesCows Жыл бұрын
How about send the ID of the item in the flow, and then have the flow lookup the item, then you will have all of the data in the flow to add to the approval?
@jomarismeneses3765
@jomarismeneses3765 10 ай бұрын
Nice video! But do you know what I could do if I don't see the Power Automate flow in Power Apps? I did an Instant Cloud Flow with Power Apps as a trigger and it doesn't show up in the PowerApps flows. Thanks!
@ShanesCows
@ShanesCows 10 ай бұрын
After you look for there are ... you can click to refresh.
@kenethmiranda4077
@kenethmiranda4077 9 ай бұрын
Do you fixed it? Because right Now im having this exact same problem, and I refresh but nothing appears
@thecharlestongeek
@thecharlestongeek 5 ай бұрын
Please Note: If {file:{name:Last(Self.Attachments).Name,contentBytes:Last(Self.Attachments).Value}}.... is giving you an error. Try, removing the file wrapping like so, {name:Last(Self.Attachments).Name,contentBytes:Last(Self.Attachments).Value}
@ShanesCows
@ShanesCows 5 ай бұрын
Thanks for sharing 😊
@alfonsofloresjr8217
@alfonsofloresjr8217 5 ай бұрын
I came here to comment this myself lol. This issue was driving me nuts earlier till I figured out with some experimenting.
@smithp3302
@smithp3302 6 ай бұрын
Hey @Shane, have you come across an issue where the PowerApps is not able to find any of your flows and get a message "You have no instant flows."? I believe the issue started with the error "Failed to refresh the flow. Unable to refresh this flow. Solution flows added via the old pane cannot be refreshed and need to be removed and re-added manually instead." Any help on this will be greatly appreciated!!
@ShanesCows
@ShanesCows 6 ай бұрын
Yuck, sorry I haven't seen that issue. If you create a new app does it see all of your flows? That would be the first thing I would try. Is the issue with just one or app or bigger than that.
@smithp3302
@smithp3302 6 ай бұрын
I tried creating another app and all my flows are showing up there. So not sure why it’s not showing up in the original app.
@smithp3302
@smithp3302 5 ай бұрын
@@ShanesCows that worked. Had to create a new app and all of the flows showed up
@larissafujii1211
@larissafujii1211 Жыл бұрын
Hi Shane! But, my power apps pane doesnt show the power automate (flow) button. Do you know if I need to active something in power apps? Thanks for sharing this solution!
@ShanesCows
@ShanesCows Жыл бұрын
I thought it just showed up. If not look under settings and features and see if there is something you can turn on to get it.
@kenethmiranda4077
@kenethmiranda4077 9 ай бұрын
Do you fixed it? Because right Now im having this exact same problem, and I refresh but nothing appears
@HungNguyen-ww1bz
@HungNguyen-ww1bz Ай бұрын
Hi Shane, I get the error "code":"MissingConnectionReference","message":"Connection reference 'shared_teams' was not given by invoker", kindly help
@jenwearing3076
@jenwearing3076 7 ай бұрын
Hi Shane, do you have a video that shows how to get dynamic content from the information in the power app into the flow? Using the instructions above, I'm still struggling to get the "id" number, which is a DataCard value in my custom power app form (from SharePoint) back into my flow triggered from that form. SharePoint custom form ---> button to trigger workflow --> workflow "get items", "generate document based on updated item", "update item". I keep getting "schema doesn't match" errors trying to get the ID as input to the "get item"
@jenwearing3076
@jenwearing3076 7 ай бұрын
Nevermind, It was working, just not the way I was testing it. Thans for your vids!
@kenny0907
@kenny0907 Жыл бұрын
Hi Shane, do you know if this trigger file input can be used for multiple files?
@ShanesCows
@ShanesCows Жыл бұрын
I don't think so, I think you would do multiple files as JSON text as shown in this video kzbin.info/www/bejne/bYbIg62chdRriKc
@kenny0907
@kenny0907 Жыл бұрын
@@ShanesCows thought as much... Thanks Shane, your videos are always helpful! Saves people like us the time of having to figure em out ourselves.
@rickysmith6158
@rickysmith6158 11 ай бұрын
I don't know if this is ideal, but I used a "ForAll" function to upload multiple files, it runs multiple flows, which means multiple calls. I used a With statement to create some variables for the name and then added this into it. ForAll(attachment_control.Attachments, { file: { contentBytes : ThisRecord.Value, name: _Upload_Details.SubmittedDate } } )
@23mylifeis
@23mylifeis Жыл бұрын
Hi Shane Young! Perfect as always. Thank you 🙃 Can you make a video of this scenario? Main source of DataVerse, but not directly accessible by other users (no license). Only the developer of the program has a license. (How to set the data source of a form to a collection?) How to use a Collection-based source for Forms Apps (when users don't have direct access to DataVerse). To record and update data from the form in DataVerse, use Power Automate (child and parent flows) which will be launched from PowerApps, data is transferred from PowerApps in JSON format and using Power Automate is recorded and updated in the main DataVerse source. How at the same time, using Power Automate, you can write JSON data (manually entered into the form) received from PowerApps to the DataVerse source if there are choice, lookup fields. Sorry for my bad English. Thank you for your work and training 🤗
@ShanesCows
@ShanesCows Жыл бұрын
Noted but I doubt it. Sorry, I usually avoid content around trying to avoid licensing challenges.
@23mylifeis
@23mylifeis Жыл бұрын
@@ShanesCows Understand =) Maybe then in this part of the question? How to record and update data transmitted from PowerApps in JSON format (entered manually in text fields) using Power Automate to the DataVerse source, especially in the choice and lookup fields.
@geralddahl9159
@geralddahl9159 Жыл бұрын
I think the trigger maxes out after adding around 20 text inputs - any tips on getting past this? Thank you.
@ShanesCows
@ShanesCows Жыл бұрын
I haven't ran into that yet, so I got nothing. sorry
@bossrf274
@bossrf274 Жыл бұрын
Do existing Flows with the v1 connector still work? Nothing stopping me from copying the v1 trigger from an old flow into a new flow?
@ShanesCows
@ShanesCows Жыл бұрын
Yes, everything still works. If you check out the end of the video I even cover how to make a new flow with v1. 🤩 There are chapters in the description if you want to jump to that section.
@asmarmoe
@asmarmoe 10 ай бұрын
how to change the trigger input name from "text" & "text_1" to meaningful internal name?
@ShanesCows
@ShanesCows 10 ай бұрын
You cannot, kind of annoying.
@WanderWise01
@WanderWise01 Жыл бұрын
Not about trigger, but I need a guide on How to apply discount and subtracting it from listed price in my powerApp
@CrymesThe
@CrymesThe Жыл бұрын
need a solution to use form fills within power app --> click button --> approval process --> record all info from app into sharepoint or excel table row
@JustinRichter-x5h
@JustinRichter-x5h Жыл бұрын
When you click "Create new flow" from within Power Apps, the V1 trigger is no longer available. Tried it today- Based in AUS
@ShanesCows
@ShanesCows Жыл бұрын
Boo! They fixed the loophole already. Boo! Thanks for the headsup.
@v75tan
@v75tan 9 ай бұрын
Not allowing to make the V2 parameter Optional - nothing happen on click checkbox, Please guide
@loupsolitaire2695
@loupsolitaire2695 8 ай бұрын
have you found something ? I have the exact same problem, cannot remove the "required"
@v75tan
@v75tan 8 ай бұрын
@@loupsolitaire2695 no, just passing - character
@esiosalazar
@esiosalazar Жыл бұрын
how to input a table using V2? in V1 it was so simple
@ShanesCows
@ShanesCows Жыл бұрын
I would pass it as Text, that was what I did in v1 when I wanted to send over a collection.
@lmt125
@lmt125 Жыл бұрын
Is the only if using it online? Same for desktop?
@ShanesCows
@ShanesCows Жыл бұрын
There isn't a desktop version of Power Apps or Power Automate cloud flows, so not exactly sure what you are asking. sorry
@lmt125
@lmt125 Жыл бұрын
@@ShanesCows thanks, then not relevant. I just power automate desktop only.
@medapatiashish9496
@medapatiashish9496 Жыл бұрын
can you tell me how to send a list as input.
@ShanesCows
@ShanesCows Жыл бұрын
This shows it with the old trigger, I think you would just a Text input trigger and should be good kzbin.info/www/bejne/n57Lqaxph6qajsU
@HarshaKammar-d7b
@HarshaKammar-d7b 4 ай бұрын
it shows 'Text" but i want to input array
@ShanesCows
@ShanesCows 3 ай бұрын
Send the JSON for your array as text and you should be good to go. This is an old video but shows exporting a collection to a CSV and should give you ideas I hope.
@michelhegeraat5430
@michelhegeraat5430 Жыл бұрын
You can check your upload a few times, but not all the time. =😕 There is definitely something weird, maybe about the create file, or maybe with the trigger not being exactly the same when you re-submit the flow, but I've seen quite a few "mistakes", where it creates a text file, with the mime text inside, with the name and extension of jpeg or a pdf, stating the content type is image/jpeg or application/pdf. And ofcourse being "low no code", there is no way to check in the flow, if the file is created correctly. :-(
@georgekontus6730
@georgekontus6730 10 ай бұрын
Microsoft has patched the V1 trigger. When you try to create a new flow for Power Apps it will pop up with the new V2 trigger now :(
@BrentRicks
@BrentRicks Жыл бұрын
Finally! That v1 trigger was so annoying.
@ShanesCows
@ShanesCows Жыл бұрын
Ah. I liked it, I will miss it. Something about this old dog having to learn new tricks. 😹
@YasintaKurnia99
@YasintaKurnia99 Жыл бұрын
how if the media is empty?
@ShanesCows
@ShanesCows Жыл бұрын
This video will help you of you are struggling with uploads. Power Apps Upload File v2 to SharePoint Document Library kzbin.info/www/bejne/mZvGdXttlNtpmac
@salimkoraymalkoc5948
@salimkoraymalkoc5948 7 ай бұрын
thanx a lot
@ShanesCows
@ShanesCows 6 ай бұрын
Most welcome!
@jonaskarlsson477
@jonaskarlsson477 8 ай бұрын
Great
@ShanesCows
@ShanesCows 8 ай бұрын
Thanks. Have a great week
@paulinedahne
@paulinedahne Жыл бұрын
Hi Shane - Have you got the new PowerApps v2 working with drag and drop multiple files or should I stick to using v2 text input type and follow your video kzbin.info/www/bejne/bYbIg62chdRriKc? Thanks again for your amazing vids
@ShanesCows
@ShanesCows Жыл бұрын
I think using a Text input and doing it the old way is still the only option I know works.
@FedericoGhirardini-d9w
@FedericoGhirardini-d9w Жыл бұрын
Great content, very helpful. I was wondering if you could address uploading multiple files using the gallery collection, as demonstrated in your previous video (kzbin.info/www/bejne/bYbIg62chdRriKc). Are there any plans to revisit and update that tutorial?
@ShanesCows
@ShanesCows Жыл бұрын
I should revisit that but I haven't tried myself. First thing I would try is can you make the flow use a Text input and basically just receate the video that way?
@latui7350
@latui7350 Жыл бұрын
Freakin' hate Microsoft, this was the worst decision ever.
@ShanesCows
@ShanesCows Жыл бұрын
I think it will end okay but causing some short term pain. 😎
@PuellaMagiHomuraAkemi
@PuellaMagiHomuraAkemi 7 ай бұрын
Terrible garbage, cant even edit the types and the date field is string by default. Thanks for nothing Microsoft...
Say hello to "PowerApps (V2)" trigger in your Power Automate Flows
15:44
Alireza Aliabadi
Рет қаралды 24 М.
5 things every Power Apps beginner needs to know
19:17
Shane Young
Рет қаралды 49 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Power Apps V2 Trigger (When Power Apps calls a flow V2)
31:48
Andrew Hess
Рет қаралды 2 М.
Power Apps Barcode Scanner For Inventory Records
8:06
Solved Systems
Рет қаралды 64 М.
Power Apps ParseJSON - JSON is a core skill
28:45
Shane Young
Рет қаралды 30 М.
The Ultimate Guide to Power Apps Deep Linking
26:19
Shane Young
Рет қаралды 37 М.
Power Apps V2 Trigger More than 20 Fields
19:59
Andrew Hess
Рет қаралды 1,4 М.
Don't use PowerApps Gallery Selected Item
12:44
Shane Young
Рет қаралды 15 М.
How to use Power Automate Get Files (Properties only)
22:56
Alireza Aliabadi
Рет қаралды 49 М.
Saving Power Apps Data with the Patch Function
17:59
Shane Young
Рет қаралды 66 М.
Excel in Microsoft Power Automate - Beginners Tutorial
1:19:44
Anders Jensen
Рет қаралды 52 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН