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/