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 / Approval Flow Subject ...
Power Automate
Unanswered

Approval Flow Subject and Body

(0) ShareShare
ReportReport
Posted on by 6,048 Super User 2024 Season 1

q12.png

 

As you know whatever we write in the subjects gets repeated in the body. Is there any way to stop that? I don't want my subject in the body.

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @zmansuri,

     

    As far as I am aware you cannot configure this in the settings of the  out of the box Approval action like Start and wait for an Approval. Unfortunately, the title will appear by default in the body of the e-mail 😞

     

    As a workaround you could use the Create an Approval action. This action will output the Teams Adaptive Card json.

     

    You could manipulate that json with a replace function and post your it in your own Send an Email (v2) action.

     

    Below is an example

     

    1. Use a Create an approval. Make sure you disable notifications

     

    disablenotifications.png

     

    2. Use a Send an email. Switch to code view and and HTML code (including an expression which uses an adaptiveCard with a replace function. That function looks for the Title and replaces it by an empty string value).

     

    <script type="application/adaptivecard+json">@{replace(outputs('Create_an_approval')?['body/adaptiveCard'], outputs('Create_an_approval')?['body/title'], '')}</script>

     

    postaadaptivecard_outlook.png

     

    Below is a test example e-mail without the Title in the body.

     

    hide_title.png

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Loved it. Thanks..!!!

  • wkoo Profile Picture
    on at

    I have tried your examples, but the outcome is an email that do not have have the 'Submit' button and can't perform any action. I guess we can't just directly reuse the Teams AdaptiveCard output from the 'Create an Approval' action in the body of an email. At the minimum, there needs to be able to set the Originator ID of the Adaptive Card. 

  • wkoo Profile Picture
    on at

    Did you manage to try the solution above and actually get it to work? Can you share your results? Thanks.

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard