cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

triggering flow with http request trigger needs to return the following object for the button to work

i have a link/button that triggers this flow i have with the http request trigger. the flow does get triggered but the problem i have is that the spfx extension is returning a failed error message to the user because i need to do the following:

Any idea on how to achieve the below? 

 

The flow needs to return the following object for the button to work:

// FAILURE RESPONSE
{
"success": false,
"status": "Failure message goes here"
}

// SUCCESS RESPONSE
{
"success": true,
"status": "Success message goes here"
}

 

 

Thanks

2 ACCEPTED SOLUTIONS

Accepted Solutions
Solution Specialist
Solution Specialist

Did you configure http response to that flow?

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

View solution in original post

i had resolved this. the solution was to use/add the http response action in the flow. was simple enough. 

View solution in original post

5 REPLIES 5
Solution Specialist
Solution Specialist

Did you configure http response to that flow?

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

View solution in original post

Can you send me a link to some steps on configuration on that? Thanks 

 

Hi @cpldev ,

 

Please refer to this article and see if it helps:

https://www.c-sharpcorner.com/article/trigger-a-microsoft-flow-with-a-button-click-on-sharepoint-onl...

And you could get more details about this trigger:

https://www.flowjoe.io/2019/08/27/understanding-the-trigger-when-a-http-request-is-received/

 

Best Regards,

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

i had resolved this. the solution was to use/add the http response action in the flow. was simple enough. 

View solution in original post

Glad it helped. Can you please mark the solution as answer?

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (15,454)