Working with objects

I scraped some text from a webpage with the Extract HTML node giving an output of this data (which looks like an array/string in a json object)-

[
{
"htmlL": [
"/news/updating-our-usage-policy",
"/news/team-plan-and-ios",
"/news/child-safety-principles",
"/research/many-breaking"
]
}
]

Please how do I reformat this data to individual json items for easy manipulation? My efforts with using functions haven’t quite worked. Any assistance is appreciated. Thanks.

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hello @smartz

You can use split out node and set the field to htmlL

1 Like

Thanks a bunch. Working perfectly.