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 / what's the difference ...
Power Automate
Answered

what's the difference between triggerOutputs() and triggerBody() an they be used interchanabily?

(0) ShareShare
ReportReport
Posted on by 17

Hi,

I am working on flow where I am limiting the number of runs of a flow for that I have added a trigger condition

equals(triggerOutputs()?['body/Editor/Email'],'username@domain.com')

and other flow

equals(triggerBody()?['body/Editor/Email'],'username@domain.com')



this is working in both the cases so I am confused what's the difference between the triggerOutputs() and triggerBody() and which one should be used?
Categories:
I have the same question (0)
  • CFernandes Profile Picture
    8,482 Most Valuable Professional on at

    @SH3R I am not 100% sure but from the top of head triggerBody()?[‘UserEmail’]  and for the triggerOutputs()?[‘body/UserEmail’] and it is just related to syntax difference.

     

    I read an article around this topic a sometime back. I will hunt it down for you from my LinkedIn feed. 

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

     

  • Verified answer
    Ana Almeida Profile Picture
    Microsoft Employee on at

    Hello, 

    In resume triggerBody() is used when we want to fetch attributes from the body of the trigger and triggerOutputs() is used whenever you need to access anything from within the body as well as some info from the header as well as shown. 

    This article explain the differences and give an example that will help you to understand better: https://d365demystified.com/2020/09/06/using-triggerbody-triggeroutput-to-read-cds-trigger-metadata-attributes-in-a-flow-power-automate/ 

     

    Best regards,

    Ana Almeida | Microsoft Power Platform Support Engineer

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard