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 / How get i dynamic text...
Power Automate
Unanswered

How get i dynamic text into the body?

(0) ShareShare
ReportReport
Posted on by 1,004

How do I create a Flow to get dynamic text into the body?

 

I have now this flow.
The intention is that if ruleset 1 is true that certain text enters in the body, but if ruleset 2 is true, another text enters in the body.
It may also be that text from ruleset 1 AND ruleset 2 are true.

Is that possible?

 

Flow1.pngFlow2.png

 

Categories:
I have the same question (0)
  • efialttes Profile Picture
    14,756 on at

    @frixel 

    You can add the following expressions on "Send an email" body:

     

    if(equals(item()?['Ruleset_1'],'1'),'This text is added when ruleset_1 equals to 1','')

    if(equals(item()?['Ruleset_2'],'1'),'This text is added when ruleset_2 equals to 1','')

     

    Hope this helps

  • frixel Profile Picture
    1,004 on at

    Hi @efialttes 

     

    But in the expression can`t i add the cells from the excel table?

     

    Flow1.png

  • efialttes Profile Picture
    14,756 on at

    @frixel  

    Perhaps the "Add dynamic content" editor is a bit buggy sometimes, but in order to add inside the expression your column 'Number' you just need to add :

    item()?['Number']

     

    we use item()? since we are inside an Apply_to_each loop.

    Hope this helps

  • frixel Profile Picture
    1,004 on at
    I don’t understand it.
    How must i fill it in by the expression?
  • frixel Profile Picture
    1,004 on at

    Hi @efialttes 

     

    Can you help me with this?

    When i put this rule in the expression

    if(equals(item()?['Ruleset_1'],'1'),concat('This text is added when ruleset_1 equals to 1 : ',add(add(int(item()?['Storenumber']),int(item()?['Year'])),int(item()?['Period']))),'')
    Then it counts the coloms A+B+C ☺
     
    The intention is that it displays what is in Colom L - M and R
  • frixel Profile Picture
    1,004 on at

    Hi @efialttes 

     

    Have you been able to watch this?

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
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard