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 / Split DevOps query val...
Power Automate
Answered

Split DevOps query value by delimiter and enter data into excel

(0) ShareShare
ReportReport
Posted on by

Hi. I am new to power automate. I have a task to fetch the data from DevOps Queries and then enter it into an online excel file. When I fetch the data from DevOps Queries the output is something like as shown below:

hjoshi4u26_0-1675246136512.png

The "System.AssignedTo" contains "Name Surname <Email>"
for eg., "System.AssignedTo": "Name Surname <abc@xyz.com>"

 

I need to split the data by a (space) into 2 outputs i.e Output 1 = Name Surname and Output 2 = abc@xyz.com.

Enter the data of Output 1 in 'Name' excel column and Output 2 in 'Email' excel column.

I have created flow as shown below:

hjoshi4u26_1-1675246586794.png

But I am facing the error as shown below:

hjoshi4u26_2-1675246656289.png

I do not know what I am doing wrong here. Can anyone please help me in this..? Any help will be much appreciated.

Categories:
  • Verified answer
    Chriddle Profile Picture
    8,729 Super User 2026 Season 2 on at

    item() is null there because you are not in a loop.

    Use the output of "Get query results" ("body/values") as input for an "Apply to each" loop, place the compose action inside and try again.

  • hjoshi4u26 Profile Picture
    on at

    Sorry if I sound like a noob but can you please share the screenshot here..? I am getting confused a lot here 😞

  • Verified answer
    Chriddle Profile Picture
    8,729 Super User 2026 Season 2 on at

    here you go

    Chriddle_0-1675251043632.png

     

  • Chriddle Profile Picture
    8,729 Super User 2026 Season 2 on at

    By the way, if you're not sure if there might be a middle name, title etc. in the name,

    I would rather split the string at " <" (and remove ">" from [1]).

     

  • hjoshi4u26 Profile Picture
    on at

    Got the output as showed in the screenshot. But how do I get it into excel..?

    hjoshi4u26_0-1675253510425.png

     

  • Chriddle Profile Picture
    8,729 Super User 2026 Season 2 on at

    E.g. with the Excel Online action "Add row into a table".

  • hjoshi4u26 Profile Picture
    on at

    Ok got it. Thanks 🙂

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 330

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 123

Last 30 days Overall leaderboard