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 / Create a button in sha...
Power Automate
Answered

Create a button in sharepoint

(0) ShareShare
ReportReport
Posted on by 17

Hi I have created a MS flow and it works well.

Therefore I want to add a button(seperate column)  in my Sharepoint Online list which will be visible when other column "Approval Status" has 'Pending' value and when I click this button will change the status of Approval Status from Pending to Approved.

.Approval Status is choice column.

Can you please asdvise.

 

 

Thank you

 

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,278 Most Valuable Professional on at

    @msflodo:

     

    This probably isn't the right forum for this question   the SharePoint Tech Community site might be more appropriate.  Also, the are quite a few blogs on column formattion in modern SharePoint sites.

     

    Scott

  • msflodo Profile Picture
    17 on at

    Thank you , although I found another way by triggering manually a flow and then  updated the item but it doesnt work with Json formatting.

    The guid is the id of the flow that i am trying to call.

    (Flow works perfect if I run it through the menu.)

     

     

    Here is the json :

    {
    "$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
    “elmType”: “button”,
    “txtContent”: “Get Approved”,
    “customRowAction”: {
    “action”: “executeFlow”,
    “actionParams”: “{\”id\”: \”4f74601c-6756-43b1-bfed-914a1fc5b321\”}”
    },
    “style”: {
    “background-color”: “purple“,
    “color”: “white”
    }}

     

     

    Can you please advise.

     

    Thanks

  • Verified answer
    ScottShearer Profile Picture
    25,278 Most Valuable Professional on at

    @msflodo:

     

    I may have misunderstood your question - I didn't realize that you wanted to manually start a Flow without using the GUI.

     

    Here is a link to a video/blog post by Laura Rogers that explains how to do what I believe you are asking.

     

    Scott

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 248 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 207 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 101 Super User 2026 Season 1

Last 30 days Overall leaderboard