Trigger Power Automate with SharePoint Buttons on Selected Item or File

preview_player
Показать описание
In this video tutorial, I demonstrate how to build and integrate a Power Automate Cloud Flow into SharePoint using the "For a selected item" and "For a selected file" triggers. These triggers allow you to easily add functionality to a SharePoint List or Document Library, enabling users to trigger a flow with the click of a button. This is all achieved with column formatting in SharePoint.

Starting with how to configure SharePoint and adding a button to a list via Column Formatting, I then walk through how to implement code from a Microsoft blog post and write custom code using the power of Copilot for added flexibility. I also showcase building a Cloud Flow that sends an email based on the selected item or file.

Additionally, I show how to modify the button's header and text, as well as how to make fields optional for a smoother user experience.

00:00 Intro
00:44 Configuring SharePoint
2:22 Adding Button to List
4:00 Cloud Flow for Selected Item
6:45 Connect Flow to SharePoint
8:15 Copilot to Write Code
11:37 Trigger Flow from Document Library
16:19 Modifying Header and Button Text
17:47 Make Fields Optional

Рекомендации по теме
Комментарии
Автор

I like that. Simplified and in control. This will be good for managers and upper management

fcnc
Автор

Saw your post on LI and had to come asap. Nice ideas coming! Thanks!

garcialex
Автор

Super content again and thanks for sharing Damien. Hopefully, I'll get to use this feature sometime soon.

dougydoe
Автор

Such a bloody legend! THANKS for that!

nelsonedson
Автор

I think the revelation to me, here, is the fact that you can add fields to a form.

Probably worth noting that you should avoid naming these the same as list/library columns, as they will likely get renamed by Power Automate. Or worse, make things a bit funky with how the whole thing works ... but I'm purely pontificating, there ... I'm sure they've accounted for all that.

Anyway, yeah ... even though they are the highly limited 'button' trigger inputs ... they provide the ability to do a bit more with SharePoint ... which is a good thing. :) ... Also ... there is FINALLY (somewhere, at least) a way to validate email addresses. 😅

ukm
Автор

I have used that technique in an email generator solution I built for a customer. One thing I am not getting info about is being able to run a flow against an entire list in the standard SharePoint interface.
I have seen solutions out there where you create a page button with an http receiver trigger but that's premium.
I guess from this I could create a list with multiple buttons and some list formatting to run specific flows from a list and use the input options if needed..

Worrelpa
Автор

Your button opens that panel a lot faster than mine.

mutantlabor
Автор

I'm unable save this in list it's getting refresh to default.. not able to find reason

Srini-yugs