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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send Teams Message aft...
Power Automate
Answered

Send Teams Message after SharePoint File is Updated ONLY if it was updated by an external client

(0) ShareShare
ReportReport
Posted on by 126

Hello!

 

I am wondering if there is a way to only send a teams message if a file was uploaded/edited in SharePoint if the user was EXTERNAL from the organization. I do not want to flood my team with messages from internal document edits/updates.

 

Any suggestions or workarounds would be great!

 

Thanks.  

Categories:
  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @dcastillo1 ,

     

    For external users, there should be #EXT# in Username and Email fields. So, you can try and add a trigger condition, make the flow run only when the modifier is an external user.

    vjefferni_0-1666687829868.png

    @contains(triggerOutputs()?['body/Editor/Email'],'#EXT#')

     

    Best regards,

  • dcastillo1 Profile Picture
    126 on at

    Thank you! This didn't work "exactly" but I edited the expression you gave me to work for what I was wanting :). For anyone else with this same question here is the expression I used: 

    @not(contains(triggerOutputs()?['body/Editor/Email'],'@yourcompanyemail.com'))

     

    Thanks again!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 299

#2
11manish Profile Picture

11manish 274 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard