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

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

How get i dynamic text into the body?

(0) ShareShare
ReportReport
Posted on by 969

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

 

I have the same question (0)
  • efialttes Profile Picture
    14,756 on at
    Re: How get i dynamic text into the body?

    @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
    969 on at
    Re: How get i dynamic text into the body?

    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
    Re: How get i dynamic text into the body?

    @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
    969 on at
    Re: How get i dynamic text into the body?
    I don’t understand it.
    How must i fill it in by the expression?
  • frixel Profile Picture
    969 on at
    Re: How get i dynamic text into the body?

    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
    969 on at
    Re: How get i dynamic text into the body?

    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

Coming soon: forum hierarchy changes

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

Tomac 532 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 461 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 256

Last 30 days Overall leaderboard

Featured topics

Restore a deleted flow