Forum Discussion
What is "Flow widgets" and how we can use/benefit from them
john john Flow widgets in Power automate are used to embed the content from Power automate to your app or SharePoint site or any other website.
You can embed the content/widgets like:
- List of flows
- Power automate Approvals
- List of templates
- Trigger manual flows
You can use flow widgets in two ways:
Unauthenticated widget: You don't need the JS SDK or an access token in this case. You can simply build widget URL & embed it using iframe (see example given below).
Authenticated widget: You will need to use Power Automate's JavaScript Software Developer Kit (JS SDK) to embed the flow widgets and provide the required user access token. User will need license in this case to see his/her approvals or to run the flow manually.
Example: I have added below embed/iframe code on SharePoint modern page using Embed web part which shows the available Power automate flow templates for SharePoint connector:
<iframe width="1200px" height="600px" src="https://flow.microsoft.com/en-us/widgets/templates/?q=SharePoint
&pagesize=6&destination=new"></iframe>
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
ganeshsanapthanks for the reply.. but you did not answer my second question, and if users can view the "Flow widgets" using non-microsoft accounts?
- ganeshsanapJul 10, 2023MVP
john john You will need Microsoft account and Power automate license to use and publish the flows from flow widgets.
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.