cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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 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

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

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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (77,284)