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 / get the text value fro...
Power Automate
Answered

get the text value from a variable produced by extract data from window (ui automation) and use that in send keys activity

(0) ShareShare
ReportReport
Posted on by 43

Hi 

I am trying to get a text value from a variable(receiver) containing a value and a hyperlink. This variable is produced from extract data from window (ui automation) activity. Also i need to use that text value in send keys activity. 

Attached are the screenshots for the receiver variable(it contains 2 values text and hyperlink for confidentiality purposes i have attached only text value) and send keys activity (Text to send) 

send.PNG
receiver.PNG
I have the same question (0)
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    What is the problem that you have here exactly? Is it the fact that you need both values being typed in via Send keys but only the first line is getting sent? Or is it perhaps that you want them both sent with a new line as a separator, but the new line is ignored by Send keys?

     

    I would suggest using Split text to split your text variable by using newline as a delimiter. This will result in a list that contains two values. Assuming you store the output of Split text into a variable called %list%, you can then use the following in the Send keys action:

    • %list[0]% if you only want the first item typed in
    • %list[0]{Enter}%list[1]% if you want both items to be typed in and separated by a new line.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution.
    If you like my response, please give it a Thumbs Up.

    If you are interested in Power Automate, you might want to follow me on LinkedIn at https://www.linkedin.com/in/agnius-bartninkas/

     

  • ayush1tyagi Profile Picture
    43 on at

    I want the text in first line of receiver variable to be sent in send keys activity (text to send) . Tried this split text but the output from that is in list which is not accepted in text to send option of send keys activity throwing parameter not accepted error .

    attached are the screenshots 

    Capture.PNG
    split.PNG
  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Simply use %List[0]%. You do not need {Enter} in this case.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard