Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Canvas App - text_input Comments section

(0) ShareShare
ReportReport
Posted on by 32

Hi, I have a canvas app with text_input named as Comments. This is used to add comments but when I trigger the Cloud Flow and pass the Comments variable the display is not taking into account the Enter (next line) instead shows everything in same line.

Note: When I enter twice (then it shows next line which is not ideal)

 

Please see my Flow screen-shot. 

hsiddiq_0-1691719245203.pnghsiddiq_1-1691719258200.png

 

  • Verified answer
    v-bofeng-msft Profile Picture
    on at
    Re: Canvas App - text_input Comments section

    Hi @hsiddiq ,

     

    Please design your adaptive card in card designer.

    vbofengmsft_1-1692147771101.png

     

    Best Regards,

    Bof

     

  • hsiddiq Profile Picture
    32 on at
    Re: Canvas App - text_input Comments section

    hsiddiq_1-1692145564854.png

     

  • hsiddiq Profile Picture
    32 on at
    Re: Canvas App - text_input Comments section

    I get an error when I change it to RichTextBlock

    hsiddiq_0-1692142769146.png

     

  • v-bofeng-msft Profile Picture
    on at
    Re: Canvas App - text_input Comments section

    Hi @hsiddiq ,

     

    Please use RichTextBlock instead.

    vbofengmsft_0-1692000733783.png

     

    Best Regards,
    Bof

     

  • hsiddiq Profile Picture
    32 on at
    Re: Canvas App - text_input Comments section

    This is my Cloud Flow - Inputs are coming in from Canvas flow (as mentioned above)

    hsiddiq_0-1691986289661.pnghsiddiq_1-1691986306354.pnghsiddiq_2-1691986366933.png

     

     

  • v-bofeng-msft Profile Picture
    on at
    Re: Canvas App - text_input Comments section

    Hi @hsiddiq ï¼Œ

     

    Could you please show me your flow?

     

    Best Regards,
    Bof

  • hsiddiq Profile Picture
    32 on at
    Re: Canvas App - text_input Comments section

    But when the post is displayed on MS-Teams group chat, its showing everything in 1 line unless I give 2 enters? Any idea why?

    hsiddiq_0-1691736262517.png

     

  • v-bofeng-msft Profile Picture
    on at
    Re: Canvas App - text_input Comments section

    Hi @hsiddiq ,

     

    That is fine , \n means newline in JSON.

     

    Best Regards,
    Bof

  • hsiddiq Profile Picture
    32 on at
    Re: Canvas App - text_input Comments section

    This is the Output I get from Cloud-Flow

    hsiddiq_2-1691730705733.png

     

  • hsiddiq Profile Picture
    32 on at
    Re: Canvas App - text_input Comments section

    Is this the write way to pass the output from Cavas app to my Power-Automate flow?

    hsiddiq_1-1691729719585.png

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1