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 / Link a workflow to a C...
Power Automate
Unanswered

Link a workflow to a Content Type

(0) ShareShare
ReportReport
Posted on by 4
Is it possible to link/associate a power automate workflow with a Site Content Type? So that the workflow gets attached to any list/library where the particular content type is added.
Categories:
I have the same question (0)
  • David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    Simple answer is no. If you wanted the flow to only trigger on Word documents, you could add a trigger condition to the flow. I have not tested this, but I think a trigger condition of @contains(triggerBody()?['{FilenameWithExtension}'], '.docx') may work. If you wanted to include .doc files as well, you modify the trigger condition appropriately. For example: @or(contains(triggerBody()?['{FilenameWithExtension}'], '.docx'), contains(triggerBody()?['{FilenameWithExtension}'], '.doc')). 
     
  • Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at
     
    Great suggestion @David_MA, depending on which trigger action is used you might even be able to check the Content Type Id with that approach 👍
     
    Below is an example of using that property.
     
    @equals(triggerBody()?['{ContentType}/Id'], '0x0101005F13643F1AA1B64CA94AB7E859623CE800B2499CDC9389034BB3670218FF971555')

    This property is available in the When a file is created (properties only) trigger action

     
    Below is an example of the trigger condition setup

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