cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BigBeuferd
Level: Powered On

How do I use information in step output?

I would like to send an email to a Teams Channel immediatly after creating it.

I've found the email address in the Step output of "list channels" but I don't know how to get to it.

Can someone lead me in the right direction?

 

GetChannelEmail.png

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: How do I use information in step output?

Hi @BigBeuferd , thank you for posting in the Flow Community.

I have had a look at this one for you and believe I have the process working with the Flow detailed below.

Please give it a try.

Capture-516.png

 

Each expression ir red boxes below in order.

body('Create_a_channel')?['id'] 'is equal to' items('Apply_To_Each_Listed_Channel')?['id']
items('Apply_To_Each_Listed_Channel')?['email']
outputs('Compose_New_Channel_Email')

 

If you have found my post helpful, please mark thumbs up.

 

Any other questions, just ask.

 

Thanks, Alan

 

 


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

Proud to be a Flownaut!


View solution in original post

5 REPLIES 5
Super User
Super User

Re: How do I use information in step output?

Hi @BigBeuferd , thank you for posting in the Flow Community.

I have had a look at this one for you and believe I have the process working with the Flow detailed below.

Please give it a try.

Capture-516.png

 

Each expression ir red boxes below in order.

body('Create_a_channel')?['id'] 'is equal to' items('Apply_To_Each_Listed_Channel')?['id']
items('Apply_To_Each_Listed_Channel')?['email']
outputs('Compose_New_Channel_Email')

 

If you have found my post helpful, please mark thumbs up.

 

Any other questions, just ask.

 

Thanks, Alan

 

 


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

Proud to be a Flownaut!


View solution in original post

BigBeuferd
Level: Powered On

Re: How do I use information in step output?

@AlanPs1 

 

The compose is showing up empty.  The flow found the correct Channel it seems.

 

GetChannelEmail2.pngGetChannelEmail3.png

Super User
Super User

Re: How do I use information in step output?

Hi @BigBeuferd , thanks for posting back.

The reason I wrote I "believe I have the process working" is because my email fields are blank for all of my channels hence I get the same results as you do.

 

I further tested it by adding a compose like the below that assures me I am getting the correct new channel as I am returning the new channels name:Capture-520.png

Test like that you end too please ...

 

I then started googling and tried to find ways to make the email available but was getting messages like "we are still setting up your team" in MS teams in the browser and desktop app.

 

What i'd say to do would be to go back to your JSON like you did in post 1 and see if emails are there for this new team. If they are blank, as mine are then the Flow is working (I am pretty sure anyway) just there is no email yet for some reason.

 

Please let me know how you get on.

 

If you have found my post helpful, please mark thumbs up.

 

Any other questions, just ask.

 

Thanks, Alan

 


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

Proud to be a Flownaut!


Super User
Super User

Re: How do I use information in step output?

Hi @BigBeuferd 

I have just checked my new channels out with Graph calls too using info at the following link:

https://docs.microsoft.com/en-us/graph/api/channel-get?view=graph-rest-1.0

with - https://developer.microsoft.com/en-us/graph/graph-explorer

I get this:Capture-521.png

So, I put the Flow together because you were showing a value in email.

I am not sure why the channel doesn't have an email address on creation or why none of my Channels have email addresses at all so I'd suggest that this is the issue and if you solve that, the Flow will work as expected.

 

Just thought I'd let you know.

 

If you have found my post helpful, please mark thumbs up.

 

Any other questions, just ask.

 

Thanks, Alan

 


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

Proud to be a Flownaut!


BigBeuferd
Level: Powered On

Re: How do I use information in step output?

I think i figured out why we've gotten the "" for email name.

When I started using teams, I was creating channels manually from the Teams UI.  A review of what you exampled above show that all - or what seems to be all- that i created Manually in Teams, had email addresses.  Those that were created in Flow do not.

Care to double check?

 

thanks


Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

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!

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 (6,644)