cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
karlh
Regular Visitor

Send Chat message to multiple recipients

For some reason I'm not able to send a chat message to multiple recipients, but it works if I only send it to a single user. I am using the action "Post a message as the Flow bot to a user"

 

I tried it like this and many other ways:

wgwegweg.PNG

But the flow always fails.

What is the correct way to do this?

2 ACCEPTED SOLUTIONS

Accepted Solutions
Dual Super User
Dual Super User

Re: Send Chat message to multiple recipients

Hello!

 

I understand that you are trying to send a message to multiple users as a Flow bot. The best way of doing this would be: 

1. Initialise an array variable and add all the recipients to that array

2. Create an Apply to Each control and select the array variable you created in Step 1 for the "Select an output from the previous steps option"

3. Add an action "send message as the Flow bot" -> add your headline -> Select "Current Item" for the recipient -> add your message. 

 

This will ensure that the message is delivered to all the addresses that you have defined in the array list. Kindly refer to the screenshot below for better understanding: 

flow2.png

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Dual Super User
Dual Super User

Re: Send Chat message to multiple recipients

Hey!

 

Please refer to the screenshot. You must be able to add users easily then. 

 

flow3.png

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
Dual Super User
Dual Super User

Re: Send Chat message to multiple recipients

Hello!

 

I understand that you are trying to send a message to multiple users as a Flow bot. The best way of doing this would be: 

1. Initialise an array variable and add all the recipients to that array

2. Create an Apply to Each control and select the array variable you created in Step 1 for the "Select an output from the previous steps option"

3. Add an action "send message as the Flow bot" -> add your headline -> Select "Current Item" for the recipient -> add your message. 

 

This will ensure that the message is delivered to all the addresses that you have defined in the array list. Kindly refer to the screenshot below for better understanding: 

flow2.png

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

karlh
Regular Visitor

Re: Send Chat message to multiple recipients


@yashag2255 wrote:

Hello!

 

I understand that you are trying to send a message to multiple users as a Flow bot. The best way of doing this would be: 

1. Initialise an array variable and add all the recipients to that array

2. Create an Apply to Each control and select the array variable you created in Step 1 for the "Select an output from the previous steps option"

3. Add an action "send message as the Flow bot" -> add your headline -> Select "Current Item" for the recipient -> add your message. 

 

This will ensure that the message is delivered to all the addresses that you have defined in the array list. Kindly refer to the screenshot below for better understanding: 

flow2.png

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.


Hello and thank you again for your help, how would I need to define the recipients in the array variable?
sdgsdg1.PNG

Dual Super User
Dual Super User

Re: Send Chat message to multiple recipients

Hey!

 

Please refer to the screenshot. You must be able to add users easily then. 

 

flow3.png

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

karlh
Regular Visitor

Re: Send Chat message to multiple recipients

Thanks a lot, works like a charm! Smiley Happy

julilis Advocate I
Advocate I

Re: Send Chat message to multiple recipients

Hi dear,

 

The problem is that is just working for all flow if the first email answer the question.

 

Regards,

Juli

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (4,990)