cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
yashag2255
Dual Super User II
Dual Super User II

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

yashag2255
Dual Super User II
Dual Super User II

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
yashag2255
Dual Super User II
Dual Super User II

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


@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

yashag2255
Dual Super User II
Dual Super User II

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

Thanks a lot, works like a charm! Smiley Happy

Hi dear,

 

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

 

Regards,

Juli

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (49,120)