Extracted information needs to be parsed to JSON

How do I get a list of artistName? I’ve already parsed the #serialized-server-data json out but don’t know how to convert it to json to get artistName.

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:
1 Like

Hey @dymefasa

Just change the Return Value to HTML instead of Text

Everything should work fine now.

2 Likes

@dymefasa after switching to HTML like Ectilow said, pipe it into a Code node to actually parse it and grab artistName

the serialized-server-data is just a JSON string so JSON.parse does the trick, you might need to tweak the path inside the Code node depending on what the actual structure looks like — run the HTML node first and check the raw output to find where artistName lives

1 Like