cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

Working Sample of Flow-A passing data to Flow-B via HTTP

Can someone please suggest a documented example where one flow passes parameters to a second flow via HTTP?

 

I tried this one but it doesn’t work: https://o365tech8.com/how-to-call-a-flow-from-another-microsoft-flow/

It has a missing quote, but fixing that doesn’t solve the problem.  

 

If I could just look at an example that works, I think that would help me a lot.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Working Sample of Flow-A passing data to Flow-B via HTTP

Hi @akharns 

 

Try the following hard-coded value:

 

{"MyString": "ABCDEFG" }

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

View solution in original post

8 REPLIES 8
Highlighted
Super User II
Super User II

Re: Working Sample of Flow-A passing data to Flow-B via HTTP

Highlighted
Helper V
Helper V

Re: Working Sample of Flow-A passing data to Flow-B via HTTP

I see a snippet of the schema in the receiving flow.  I don't see the entire context.  And I don't see how the sending flow actually sent the values.

Highlighted
Helper V
Helper V

Re: Working Sample of Flow-A passing data to Flow-B via HTTP

Any more suggestions?  

Highlighted
Helper V
Helper V

Re: Working Sample of Flow-A passing data to Flow-B via HTTP

It looks like this will address my needs:  https://flow.microsoft.com/en-us/blog/build-nested-flows/

Highlighted
Helper V
Helper V

Re: Working Sample of Flow-A passing data to Flow-B via HTTP

I think I have properly followed the directions, but I am not getting the results I expected.  Here is what I did:

1. I set up my "consume" flow with "When a HTTP request is received" method of POST and the schema defined as:

{
"type": "object",
"properties": {"MyString": {"type": "string" } }
}image.pngimage.png
2. I set my "send" flow with "HTTP" URI from the Consume flow and with the body sending a hard-coded value as follows:
{
"type": "object",
"properties": {"MyString": "ABCDEFG" }
}
The flow does not show any errors.
3. I do not see MyString in the OUTPUTS of the HTTP OUTPUTS, or under the related "show more" section, leading me to think that the string of ABCDEFG was not received by the consuming flow.  The sending flow's status code was 202, which I think is probably expected since the consuming flow does not return data.  Because of the 202 and that the consuming flow executed, I believe that the URL was correctly specified.  The JSON looks comparable to me.  Is there something else that needs attention?
Highlighted
Helper V
Helper V

Re: Working Sample of Flow-A passing data to Flow-B via HTTP

I did change the interface (properties JSON) several times.  I wonder if the properties are embedded in the URL.  I didn't see that the URL changed.  Maybe that's a problem.

Highlighted
Super User III
Super User III

Re: Working Sample of Flow-A passing data to Flow-B via HTTP

Hi @akharns 

 

Try the following hard-coded value:

 

{"MyString": "ABCDEFG" }

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

View solution in original post

Highlighted
Helper V
Helper V

Re: Working Sample of Flow-A passing data to Flow-B via HTTP

In other words, delete all the other parts.  I did it and it worked. Thank you so much!

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (5,863)