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 / Auto-reply message - H...
Power Automate
Suggested Answer

Auto-reply message - How to send only 1 reply per day?

(1) ShareShare
ReportReport
Posted on by 2
 
Apologies in advance, I am very new to this and will appreciate explaining things like I'm 5. 

I am attempting to create a flow that sends an auto reply message after hours and weekends. The issue I'm running into is getting the flow to send 1 message, currently it will send like 10 in a row. I thought I'd be able to check a Sharepoint list for Conversation ID and date and add a condiction expression saying if a match wasn't found, add the ID to the SharePoint list, date is auto created, have a delay until that is successful, and then send the auto-reply message, but that doesn't seem to be doing anything. I even added a 60 second delay after the message is to be sent, it still seems to be sending repeatedly. Maybe there's a better way to achieve this?
 
I would appreciate any feedback or help!! 
 
 
 
 
 
 
Categories:
I have the same question (0)
  • Suggested answer
    trice602 Profile Picture
    15,404 Super User 2025 Season 2 on at
    Hi,
     
    I did a couple of tests this afternoon and I think this is the best route to go if this was my automation project.  The issue is the trigger you are using is set to run on every message and while there are some filters and ways to check dates, etc, if you only want to post one message on Saturdays and Sundays is to run a scheduled flow and post a message to the channel.
     
    It will only run one time on both days.
     
     
    So set this up to run at 5 AM and you will be the first message of the day on the weekends!
     

    So my thought process is, instead of looking to see if you already posted a message today, just post it yourself once and you are done.


     

    ------------------------------------------------

     

     

    ⭐ If this was helpful, please like and mark as a verified answer to help others find this too!

     

     

    Always glad to help! 💯💯💯💯💯

     

    Tom

     

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

  • NsL Coder Profile Picture
    475 Super User 2025 Season 2 on at
    Trying to understand what you want to achieve and what do you mean by "10 in a row".
     
    after hours and weekend, why not just setup a Status Message on your profile (I'm assuming this is to let whoever message you to know you are aware and not going to response until next business work hour).
     
    If you must do "auto reply", did you want to reply for every message sent to you, including from the same person? (meaning, if I message you, I get the autoreply, if I message you again, I get the autoreply again, or do you want to only autoreply ONCE within ONE "period" of afterhour/weekend?
     
    To what your current issue is, while the trigger is "when a new chat message is added", this trigger seems to provide "message" as an array. So that bothers me as to why it is an array of messages when the trigger say "when a new chat message is added" (suggesting only ONE message is added). But I tested this and even though it is an array, it is only ONE message, so your Apply to Each is not the problem. But I notice that the trigger "when a new chat message is added" applies to message you sent too, so I have a feeling this is a case of uncontrolled "recursive" calls when the action to post a message trigger the flow again to send another message, which get triggered also, etc, etc. 
  • PS-25011645-0 Profile Picture
    2 on at
    @NsL Coder thank you for your time and taking a look!
     
    screenshot below of what I mean by "10 in a row".

    Using an status message hasn't worked well for me, people seem to miss it. I deal with a lot of new users and onboarding in different timezones so I thought it might be nice to say I'm currently away, but here are resources in alternative timezones.

    That makes a lot of sense. If the flow is triggering on my messages as well maybe the auto-reply is triggering another auto-reply.
     
    "do you want to only autoreply ONCE within ONE "period" of afterhour/weekend?" - Yes this is what I was trying to do. 
     
     
    @trice602 thank you for your time and testing!
     
    What I'd like to do is provide alternative resources to people who are reaching out when I'm offline. Example - someone messages me for help Wednesday at 6pm when I've finished for the day so I'd like to reply back and say "Thank you for your message. I'm currently away from my computer and will return your message during business hours. If you need immediate assistance with Salesforce please reach out to XXX. For IT support email XXX or call XXX."
     
    If I schedule a reply I'm just worried the need for assistance will have passed by the time the scheduled message triggers. 
  • trice602 Profile Picture
    15,404 Super User 2025 Season 2 on at
    Hey there!
     
    I am following up on this post auto-reply message - how to send only 1 reply per day? in this category building flows from 01/25/2025.  I know the post is a little older, but it is a common question here so wanted to take a moment and follow-up. I see there have been 3 replies and 1 likes and asking if your question has been answered.  If so, please help the community out by completing one or more of the following actions!  Thanks in advance!
     
    Easy as 1-2-3 ‼️💯⭐😎🆒🙏
     
    1) Mark a reply as a verified answer - this is essential, and it helps others with the same general question find this thread. ✅
    2) You can also mark one of more replies as a verified answer.  Please take a moment and give the author credit for volunteering their time. ✌️
    3) Like one or more replies.  Kudos always greatly appreciated! 👍
     
    Pro tip:  if you found your own solution or workaround, feel free to add a reply to your own post and mark it as the solution too!  The goal is to get this thread marked with a verified answer by anyone that finds one or more replies helpful!
     
    Again, thanks in advance for reading and responding, always glad to help!  Tom 💯💯💯💯💯
  • trice602 Profile Picture
    15,404 Super User 2025 Season 2 on at
    If I can help with anything else please let me know or tag me in a future post, I enjoy reading and answering questions.  Always glad to help!  Tom 💯💯💯💯💯

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 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard