Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

How to handle multiple HTTP responses in a single flow

(0) ShareShare
ReportReport
Posted on by 2

I need some help here. This has been driving me nuts for a while now. How do you handle multiple 200/201 responses inside of a single flow that are dependent on the previous one? I can get the first HTTP response and parse through it to get the newly created deal id. I can then make a new note, but cannot get the response data from that POST.

 

I'm either met with a failure for the 2nd response: "The execution of template action 'Get_Note_response_(SO_Comments)' is skipped: another response action has already executed."

or it will just skip it entirely and not read the response at all, thus skipping steps 6 & 7 below.

 

Explanation of what I want to accomplish:

I have a custom Hubspot connector that can do multiple things, most of them centered around deals.

1. I want to create a new deal using information taken from Jotform (not shown)

2. Match info from Jotform to existing data queried from a db (also not shown)

3. Take said data and mash it up to fill in details for Deal creation in Hubspot. (Create)

4. I need the dealId from the POST response. (Get Deal creation response)

5. Write a note. (Create new note)

6. Get note response so I can get the noteId. (This is where it either fails or is skipped, depending on how I set async)

7 I want to associate the note with the deal I just created in step 3. (I never get to this part because of the response skip above)

Screen Shot 2022-03-04 at 12.07.50 PM.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Is what I'm trying to do even possible? I'm out of my element here a little bit. Any help is greatly appreciated.

  • itshudak Profile Picture
    2 on at
    Re: How to handle multiple HTTP responses in a single flow

    The issue is that everything after the first POST is getting skipped.

    itshudak_0-1646661240450.png

     

  • SPOD Profile Picture
    63 on at
    Re: How to handle multiple HTTP responses in a single flow

    So you want to make an initial POST and catch the response and use a property from within the array in your next call?  Here is a similar example of something i set up this week for a the same issue.  The problem i had was as soon as the parse json encountered the array it kicked off a for-each loop but the solution lay in using an expression to get the first [0] result.

     

    SPOD_0-1646444268073.pngSPOD_1-1646444282938.png

     

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,017 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow