cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
akharns
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

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 blogPower Automate Video Tutorials

View solution in original post

8 REPLIES 8
Gristy
Resident Rockstar
Resident Rockstar

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.

Any more suggestions?  

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

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?

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.

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 blogPower Automate Video Tutorials

View solution in original post

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

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,886)