Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate - Using Flows / 在添加新的频道消息时发送电子邮件(V2)
Power Automate - Using Flows
Answered

在添加新的频道消息时发送电子邮件(V2)

(0) ShareShare
ReportReport
Posted on by 30

希望是可以发送运行后投稿的新消息邮件

但实际也发送了运行前(手动turn on前)的投稿消息

是需要加判断条件吗

  • zz123ff Profile Picture
    30 on at
    Re: 在添加新的频道消息时发送电子邮件(V2)

    Thank you.

    In my case, if turn it to instant flow, it will have no difference to send an email manually in Teams.

    Still thank you for your answer.

  • v-jefferni Profile Picture
    on at
    Re: 在添加新的频道消息时发送电子邮件(V2)

    Hi @zz123ff ,

     

    Trigger type is fixed. Generally speaking, automated triggers are polling, and instant triggers are webhook. 

     

    Best regards,

  • zz123ff Profile Picture
    30 on at
    Re: 在添加新的频道消息时发送电子邮件(V2)

    Thank you for the source.

    Is it possible to change polling triggers into Webhook triggers?

  • Verified answer
    v-jefferni Profile Picture
    on at
    Re: 在添加新的频道消息时发送电子邮件(V2)

    Hi @zz123ff ,

     

    I found below source about the issue:

    Troubleshoot common issues with triggers - Power Automate | Microsoft Learn

    If you turned off your flow and then turned it back on, depending on your trigger type, your old triggers may be processed.

     

    Best regards,

  • v-jefferni Profile Picture
    on at
    Re: 在添加新的频道消息时发送电子邮件(V2)

    Hi @zz123ff ,

     

    I have never encountered this kind of situation. But you can use Trigger condition to reduce flow runs:

    Get started with triggers - Power Automate | Microsoft Learn

     

    Form your end, set trigger condition to:

    @greaterOrEquals(triggerOutputs()?['body/createdDateTime'], addMinutes(utcNow(), -1))

    so the flow will be triggered by new messages that created later than 1 minute ago (to avoid delays in HTTP requests).

     

    Best regards,

  • zz123ff Profile Picture
    30 on at
    Re: 在添加新的频道消息时发送电子邮件(V2)

    Hi v-jefferni

     

    zz123ff_0-1689240364091.pngzz123ff_1-1689240383251.png

    And I turned on running at 13:32, it get a message post at 13:22

    zz123ff_0-1689295188572.png

     

     

     

     

     
  • v-jefferni Profile Picture
    on at
    Re: 在添加新的频道消息时发送电子邮件(V2)

    Hi @zz123ff ,

     

    Could you please share some screenshots of your flow in edit mode?

     

    Best regards,

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow