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

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

4 REPLIES 4
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
Level: Powered On

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

Highlighted
karlh
Level: Powered On

Re: Send Chat message to multiple recipients

Thanks a lot, works like a charm! Smiley Happy

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

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 Kudoed Authors
Users Online
Currently online: 410 members 5,370 guests
Please welcome our newest community members: