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 / Power Apps text input ...
Power Automate
Answered

Power Apps text input control: send multiple paragraphs to Power Automate

(0) ShareShare
ReportReport
Posted on by 2,295

Hi,

 

I'm using a modern text input control to send text to Power Automate for email processing.

 

The text is sent as a single paragraph, but I need to allow the user to type enter and split the text in multiple paragraphs:

WebPortal_0-1699885934927.png

How to achieve this?

Categories:
I have the same question (0)
  • Verified answer
    ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @WebPortal 

     

    Here is the sample flow.

     

    1. Create an instant cloud flow and choose the trigger as Power apps V2:

    ManishSolanki_0-1699888741573.png

    Add an input string variable that contains the email body from canvas app:

    ManishSolanki_1-1699888820650.png

     

    Next, add "send an email" action and use expression to replace line break with <br> in the email body. Expression needs to be entered in the expression box as shown below:

    ManishSolanki_2-1699888927376.png

    replace(triggerBody()['text'],decodeUriComponent('%0A'),'<br>')

     

    I have saved the flow as 'Send an email'.

     

    You could call this flow from the canvas app as shown below:

    ManishSolanki_3-1699889047089.png

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard