cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dan47
Helper III
Helper III

Trigger for Sharepoint List Flow Button

Hi There

 

I created a flow that sends an email when a Sharepoint list is modified.

So that it doesn't go off unintentionally I created a JSON flow button for the list.

Now I am unsure how to create the trigger because the button doesn't know which list column was changed.

There are 4 different pdfs in the list that are attached to the email when one of the columns is changed.

I filter the title to determine which pdf to attach. 

 

Also Power Automate is telling me to change the flow because it could loop itself when it changes the list column to sent pdf.

 

Thanks for your help.

 

Dan47

2 ACCEPTED SOLUTIONS

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @Dan47,

 

The trigger just uses the For a selected item trigger of SharePoint:

Screenshot 2021-03-02 140921.jpg

If you not familiar with the format JSON for a button in SharePoint column, you could refer to this blog:

Button in SharePoint List to Trigger Power Automate | @WonderLaura

 

And how to get the changes of SharePoint items, you could refer to this blog:

Check for a Change in a SharePoint List Column Val... - Power Platform Community (microsoft.com)

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Dan47
Helper III
Helper III

Hi Lin Tu

 

Thanks for your reply.

 

I tried the first link previously and sharepoint says there are errors in the json script. Another source worked for me.

Add a button in to a SharePoint List/Library to trigger a Flow (part 01) – Microsoft Cloud Services ...

 

Regarding the secound link: Somehow I am not getting the trigger check for new item.

I wanted to insert a picture but the blog says I'm post flooding 😞

 

Edit: I managed to do it with a get items action. So I'm one step further.

But the following filter action is unsatisfied when I run the flow no matter how I flip it.

See the screenshot below.

 

 

Thanks for your help.

 

Dan47

View solution in original post

3 REPLIES 3
v-litu-msft
Community Support
Community Support

Hi @Dan47,

 

The trigger just uses the For a selected item trigger of SharePoint:

Screenshot 2021-03-02 140921.jpg

If you not familiar with the format JSON for a button in SharePoint column, you could refer to this blog:

Button in SharePoint List to Trigger Power Automate | @WonderLaura

 

And how to get the changes of SharePoint items, you could refer to this blog:

Check for a Change in a SharePoint List Column Val... - Power Platform Community (microsoft.com)

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Dan47
Helper III
Helper III

Hi Lin Tu

 

Thanks for your reply.

 

I tried the first link previously and sharepoint says there are errors in the json script. Another source worked for me.

Add a button in to a SharePoint List/Library to trigger a Flow (part 01) – Microsoft Cloud Services ...

 

Regarding the secound link: Somehow I am not getting the trigger check for new item.

I wanted to insert a picture but the blog says I'm post flooding 😞

 

Edit: I managed to do it with a get items action. So I'm one step further.

But the following filter action is unsatisfied when I run the flow no matter how I flip it.

See the screenshot below.

 

 

Thanks for your help.

 

Dan47

View solution in original post

Dan47
Helper III
Helper III

Action not available.JPG

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (12,532)