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 / Problem with Compose a...
Power Automate
Answered

Problem with Compose and replace function

(0) ShareShare
ReportReport
Posted on by 28

I have a flow that transfers the contents of a Form to a PDF file. The template is an .html page which contains 3 markers

{firstname}
{surname}
{address}

using 3 Compose functions - replace in the flow I replace the markers with the content of my Form unfortunately however in the end it only replaces me

{address}

as if the script forgets that it has performed the previous action.

I followed this tutorial

https://www.youtube.com/watch?v=2PnzyQNMp3o

but nothing, it doesn't work for me
Thanks for your cooperation

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    69,481 Most Valuable Professional on at

    Double check that you are using the results of the previous Compose in each subsequent Compose.

    1. Compose #1 replaces the text in the HTML
    2. Compose #2 replaces the text in Compose #1 Output
    3. Compose #3 replaces the text in Compose #2 Output

    I suspect that you aren't using the previous output each time so you are only getting the last Replace.

  • AndreaC Profile Picture
    28 on at

    ok it's as strictly as you say, it was my mistake thanks for letting me know. Now it works fine but I have another problem but I will do another post for it.
    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

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 784

#2
Valantis Profile Picture

Valantis 581

#3
Haque Profile Picture

Haque 545

Last 30 days Overall leaderboard