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 / Flow does not include ...
Power Automate
Unanswered

Flow does not include the right data

(1) ShareShare
ReportReport
Posted on by 4
I am creating a flow that extracts answers from a microsoft form, creates a OneNote page using a pre-defined template and then populates the page with the information from the flow.
 
I am using the output of "get page content" to get the html code of the OneNote page template and in a following step I use replace to insert data extracted from the form. 
 
Below an example of the Compose code (replace) that populate the Title of the newly created page:
 
Compose (populate title)>
    replace(body('Get_page_content'), '<title>Template -REPLACE WITH TICKET NAME-</title>', concat('<title>', outputs('Get_Page_Title'),        '</title>')
 
This works fine and it is used as input for "Create page in a section" 
 
To add more data, I send the output of Compose (populate title) to another Compose with same logic but different data. Then I send the output of this compose to "Create page in a section"
 
The result however is not what I expected. The flow only adds the second compose and the first one is ignored (I get an untitled page). 
 
What am I doing wrong? I wanted to apply the same logic to populate all the fields in the OneNote template but there is clearly an error. 
 
Thanks!
Categories:
I have the same question (0)
  • MichaelFP Profile Picture
    1,999 Moderator on at
    Hi can you show you r flow to us? with more information we can help you, i thin that you are overwriting something  but we need to look at the cloud flow to check
  • CU14111227-0 Profile Picture
    4 on at
    Hi, 
     
    Thank you for your interest. In attachment a screenshot of the flow. 
     
    The code of Populate title: 
     
    replace(body('Get_page_content'), '<title>Template -REPLACE WITH TICKET NAME-</title>', concat('<title>', outputs('Get_Page_Title'), '</title>'))
     
    The code of Populate Description:
     
    replace(body('Get_page_content'), '<title>Template -REPLACE WITH TICKET NAME-</title>', concat('<title>', outputs('Get_Page_Title'), '</title>'))
     
    Populate Description takes the output of Populate title so in theory the HTML code should have both title and description added. 
     
    I checked the output of populate description and the response from the from is there. Below a couple of snippets: 
     
     
    <head>
    <title>TITLE_TEST</title>
     
     
    </h2>DESCRIPTION_TEST
    <br />
    <br />
    <br />
    <br />
     
     
    TITLE_TEST and DESCRIPTION_TEST being the answers I put in the form when I test the flow. 
     
    The OneNote Page is created and "DESCRIPTION_TEST is there but not TITLE_TEST
     
    I have other fields from the form that need to be added so I would like to make sure the logic works fine.
     
    I am not sure I need "get page title" but it should not affect the final outcome. 
     
    Thank you!
     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 474

#2
11manish Profile Picture

11manish 268

#3
David_MA Profile Picture

David_MA 243 Super User 2026 Season 1

Last 30 days Overall leaderboard