web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Returning only the text
Power Automate
Answered

Returning only the text

(1) ShareShare
ReportReport
Posted on by 5

I'm building a flow where I want to get the description text from "Describe Image Content" - through using SELECT and JOIN operations to parse the output string I'm left with a string like: 

 

   {"text":"a fighter jet flying through a blue sky"}

 

Flow.png

 

All I want now is simply:   a fighter jet flying through a blue sky
 
I've tried all sorts of functions, connectors, and odd combinations, but I can't get this result, is there a way to get this string only? And by the way, would be really handy to to skip the SELECT and JOIN steps... but it seems very unlikely Smiley LOL
 
Thanks in advance!
Categories:
I have the same question (0)
  • Verified answer
    v-alzhan-msft Profile Picture
    on at

    Hi @agonsales ,

     

    Do you want to get the string a fighter jet flying through a blue sky from string {"text":"a fighter jet flying through a blue sky"}?

    If yes, you could refer to my screenhsot below to extract the string:

    1.png

    The expression in the Compose as below:

    first(split(last(split(variables('string1'),'"text":"')),'"}'))

    The flow would run successfully as below:

    2.png

     

    Please let me know if your problem could be solved.

     

    Best regards,

    Alice       

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Auto-mate Profile Picture
    2 on at

    Hi,
    a bit late but may help someone else.
    I believe the easier more straight forward solution to your problem would be to switch from "Map to value mode" to "Map to text mode". Simply done by clicking the button in the red circle below. The first part, ie. the field name/Map name (marked with a red X) will then be omitted in the result set.

    Automate_0-1688828741263.png

    Regards

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 323 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 183 Most Valuable Professional

Last 30 days Overall leaderboard