web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / how to send automated ...
Power Automate
Unanswered

how to send automated messages on teams, with unique message and delay time stored in excel

(0) ShareShare
ReportReport
Posted on by 53

we have a list of 30 users, that i want to message every 12-18 hours with various simple messages.  In the excel we have their email, name, and Id like to add the message to send and the date/time or delay amount.

 

Is it possible and easy(hehe) to get PA to send messages from the data in excel to microsoft teams individual users? Or are we better off just make a bunch of messages in PA and do it inside PA

Categories:
I have the same question (0)
  • Rhiassuring Profile Picture
    8,690 Moderator on at

    I mean, I'd opt for a SharePoint list over an Excel list, but, you can achieve this. 

    Since I don't know your level of familiarity with PA, let me know if this is too vague: 

    1) Create a flow that uses the scheduled trigger, for every .. 16h? I guess? 

    2) Use the "Get rows from a table" action for Excel

    3) Create a "Create a Chat" -- use the dynamic content for "name" in the "To". It'll turn into an Apply to Each, that's what you want.

    4) Use "Post a message in a chat", pointing at the Conversation Id of the previous one. Add the message from Excel into the message.

     

    I think that'll do it?

  • mrrosenthal85 Profile Picture
    53 on at

    A list is also a great option,   can you share how to do this using microsoft list

  • Rhiassuring Profile Picture
    8,690 Moderator on at

    Sure, all you need to do is go to the site you'd like the list to be in, click on the New dropdown, choose List, and then use the "Excel" option. You can import the Excel from where ever you have it currently stored in M365.

    This is just a bit easier if dates happen to come into the picture 😛 

  • andrewisaac Profile Picture
    29 on at

    Thank you for the suggestion! What if we want the message sent every 16 hours to be different from each other? So, for example, the first message is like "how are you doing", the second may be "how's the progress", and the third might be "any updates", etc. How should I implement this into the flow? Should they be different fields in the list? Can you give some suggestion on that?

  • Rhiassuring Profile Picture
    8,690 Moderator on at

    How many messages might there be in total? Like, a total of potentially 5 messages, or 50 messages to that same person every 16h, over time?

  • andrewisaac Profile Picture
    29 on at

    About 5-8 messages per person. 

  • mrrosenthal85 Profile Picture
    53 on at

    its around 30 people, and around 5-10 messages a week

  • Rhiassuring Profile Picture
    8,690 Moderator on at

    I feel like you're trying to automate a manager hahahah 

    The amount of people, not a big deal. 

    If it's a certain number of messages, and they all go out the same time (ie, Message1 goes out on the first run for all 30 users, even if Message1 is different), then you can just create an index in the sheet / list (just like "Count" column, number), and increment it by 1 each time the flow runs, then use that new # to identify which message column you want to draw the message from. 

  • mrrosenthal85 Profile Picture
    53 on at

    exactly, a virtual manager lol.  and can you specify the method to set the delay ?  is that done inside the list as well with what type of column.    Thank you Rhia

  • Rhiassuring Profile Picture
    8,690 Moderator on at

    The delay would be completely from the schedule. 

    Rhiassuring_1-1669947910880.png

     


    So let's say you have these columns in your list:

     

    Count |  Employee Name | Message 1 | Message 2 | Message 3 | Message 4

     

    Your flow would be scheduled, and would look a bit like this:

     

    Get items, followed by...

     

    Rhiassuring_0-1669947894440.png

     

    I haven't tested this as I don't have time at the moment, but it should get you started

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard