cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
akharns
Level 8

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
Super User
Super User

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!



View solution in original post

8 REPLIES 8
Super User
Super User

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

akharns
Level 8

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.

akharns
Level 8

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

Any more suggestions?  

akharns
Level 8

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/

akharns
Level 8

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?
akharns
Level 8

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.

Super User
Super User

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!



View solution in original post

akharns
Level 8

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

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

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!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

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