Skip to main content

Notifications

Customer Service forum
Answered

Power Automate Flow "When a HTTP request is received": how to get a Response in Dynamics 365?

Posted on by 30

Hi all,
in Power Automate I created a flow that triggered the component: "When a HTTP request is received", so a trigger url was produced.

pastedimage1615303282078v2.png


With Ribbon Workbench I created a Smart Button ("Run Webhook") ina a Dynamics 365 form, and used the url trigger created in Power Automate.
When the button is pressed in Dynamics 365, the flow actually starts.

However I have no confirmation when the flow actually ended.
In Power Automate there is an Http "Response" component:

pastedimage1615303329926v3.png


If I add it to the end of the flow can it be useful to confirm that the flow is finished?
How do I read this response in the process I have described?

Thanks in advance!
Regards,
Stinger

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Power Automate Flow "When a HTTP request is received": how to get a Response in Dynamics 365?

    Hi stinger,

    The flow is automatically stopped after all actions are executed and whichever step fails is also stopped.

    You can determine if the flow is stopped by checking whether the last action is completed or not. If it completed, which means that flow has stopped. if not, the flow is either running or failing to run, so you can navigate to monitor tab to check it in flow website.

    pastedimage1615356659235v1.png

    Also, you mentioned that you add ‘response’ action to the flow.

    If you want to read the response, you can test it in postman to read it as following example.

    Accept HTTP Requests in a Flow and send Response back | Power Automate | D365 Demystified

    Also, you can use Js to receive the Response and shows message as alert in CRM as following example.

    (+) Execute Power Automate Flow from JavaScript and Get Response back in CRM Form, On-demand Power Automate flow from button - Unified Interface Community Community (dynamics.com)

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

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

News and Announcements

Give Back to the Community this Month

Quick Links

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,807 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,135 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans