Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

What is the proper way to use the '\r' return character in a Power Automate Flow?

Posted on by 84

What is the proper way to use the '\r' return character in a Power Automate Flow?

When working with the functionality of reading data from a cvs file into a dataflow, it is required, I believe, to use a schema.  It seems to me that this schema has to be designed to accommodate the end of a line in the data.  What is the proper way to do this?

 

First of all, It seems that all schemas start like this:

{

    "type": "array",

    "items": {

        "type": "object",

        "properties": {

            "Title": {

                "type": [

                    "string",

                    "null"

                ]

            },

After this, the schema lists the individual columns.  Let's say that in our case, we only have three columns, "Name", "Profession" and "Profession-2".  In order to recognize  that we have reached the end of the line as we read data, the \r character should be used. I assume this is how it should be done:

 

           "Name": {

                "type": [

                    "string",

                    "null"

                ]

            },

            "Profession": {

                "type": [

                    "string",

                    "null"

                ]

            },

            "Profession-2\r": {

                "type": [

                    "string",

                    "null"

                ]

            }

 

Finally, there is the "required" block.

 

        "required": [

           "Name",

            "Profession",

            "Profession-2\r",

        ]

What are your thoughts?  Did I get this right?  Is there some sort of documented explanations somewhere outlining the proper use of the /r character?

Categories:

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard