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 / I WANT TO GET SOME TEX...
Power Automate
Answered

I WANT TO GET SOME TEXT FROM PARAGRAPH OF TEXT IN MAIL BY USING POWER AUTOMATE

(0) ShareShare
ReportReport
Posted on by 45

POWER AUTOMATE.png

I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @blpraveena 

     

    Could you please add some details around the data u need to extract

     

    Also, this section is for power automate desktop related queries, next time make sure that you are using building flows section to post quries on cloud flow 🙂

     

     

  • blpraveena Profile Picture
    45 on at

    actually i have paragraph of text in my mail so i have extract few words from that like at middle some rows i need,

    i need help to write a flow in power automate.

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    could u share a sample text ?

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    @blpraveena 

     

    for example

     

    You have text like below

     

    Nived_Nambiar_0-1679318109820.png

     

     

    Now you can use split function like this

     

    split(outputs('Compose'),decodeUriComponent('%0A'))
     
    Nived_Nambiar_1-1679318175370.png

     

     

    output you will get

     

    Nived_Nambiar_2-1679318201583.png

     

    Now data would be in array then you can select the required element by indexing 🙂

     

    Let me know if you have any questions

     

  • blpraveena Profile Picture
    45 on at

    Thank you for your reply  and now if i want from 3rd word of first line to 4th word of second line as out put can we write a flow? if know can you help.

     

    thanks

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    is it within paragraph or within complete text?

  • blpraveena Profile Picture
    45 on at

    WITHIN COMPLETE TEXT

     

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @blpraveena 

     

    To get the data within complete text but within words, you can follow the steps

     

    Assume you want data b/w world and fascinating from the text

    Nived_Nambiar_0-1679326653438.png

     

    1. Use the find text position action for finding the position of word world

    Nived_Nambiar_1-1679326716321.png

    2. simmilarly use it for word fascinating.

     

    3. Now use the below function to get sentence b/w world and fascinating

     

    slice(outputs('Compose'),outputs('Find_text_position:_word')?['body'],add(outputs('Find_text_position_-_Fascinating')?['body'],add(length('fascinating'),1)))

     

    Nived_Nambiar_2-1679326808339.png

     

     

    (The logic behind the function is I am using slice function which slices the string/text from start index to end index)

     

    Complete flow

    Nived_Nambiar_3-1679326871752.png

     

     

    Output (in compose 3 action)

    Nived_Nambiar_4-1679326937261.png

     

    Hope this helps !

    Mark it as solution if it solves ur query

     

  • blpraveena Profile Picture
    45 on at

    slice(outputs('Compose'),outputs('Find_text_position:_word')?['body'],add(outputs('Find_text_position_-_Fascinating')?['body'],add(length('fascinating'),1)))

     

    THIS EXPRESSION IS NOT TAKING CAN YOU CHECK IS IT CORRECT OR NOT

     

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    can u show your flow ,also please show how u are entering function?

     

    Also let me know what error u are getting

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 997

#2
Valantis Profile Picture

Valantis 810

#3
Haque Profile Picture

Haque 642

Last 30 days Overall leaderboard