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 / Send a message from Po...
Power Automate
Answered

Send a message from Power Automate to Microsoft Teams 'General' channel

(0) ShareShare
ReportReport
Posted on by 5

Hi guys!

 

First of all, I am new in this Power Automate field and I got interested to learn more about it.

 

May I know, can power automate make a clock-in clock-out message to the Microsot Teams 'General' channel?

As you can see my attached image. Every day, each of my company staff have to send a message 'clock-in - Work From Home' or ' clock-in - Work From Office' and clock out message in our 'General' group channel so our admin can trace our attandences.

So, is there any way for me/us to just click a button in Power Automate apps in the phone when we have to clock in & out, and an automated message will send into the 'General' channel?

 

Looking forward to learn more about the flow and power automate. Thank you tempsnip.png

Categories:
I have the same question (0)
  • Verified answer
    sambr Profile Picture
    15 on at

    Hi,

     

    You could either do two very simple flows - one for each possibility, or create an instant (button) flow with a yes/no option when selected to choose if you are working at home or in the office. Here is the second option:

     

    sambr_1-1618991809387.png

     

    Steps:

    Trigger with a yes/no option

    Initialise a string variable called e.g. "location"

    Use a condition to branch the yes/no (returns either true or false so this is what you use to compare to)

    In each branch set the variable "location" to either "from home" or "at the office"

    Outside the condition, use Teams "Post a message in a chat or channel"

    Select to post as a user (meaning as yourself), in a channel, then you can select the group and channel that you require.

    Lastly as the message you can use a default string "Check in - working " then your location variable will finish it off with either "from home" or "at the office".

     

    While testing you could change the Post message to send a message as the Flow Bot to you personal messages to check it's working as you expect.

     

    Hope this helps!

  • Matsyaf Profile Picture
    5 on at

    Hi @sambr ,

    It works!! haha thank you bro 😆

    Matsyaf_0-1618996573380.png

    I also make another version which I think it much easier and less click.

    Matsyaf_1-1618996711167.png

    😁just learn a new things today. 😊

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 323 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 183 Most Valuable Professional

Last 30 days Overall leaderboard