Need help in formatting data from nested array node with code node

I need help in transforming data in array

What is the error message (if any)?

No error, I need help with data transformation. I have 2 dependency files which needs to be formatted , each is of different type, First one is seperated by colon and I need 1 and 2 nd name from each row.(Note they are seperated by colon)

Second file each row first name (note the columns are sperated by space ) The output needs to be as I shared below . Please help… !!!
@Jon , Kindly help. Any details , pls let me know.

Please share your workflow

Share the output returned by the last node

[
{
"keywords":[
"com.fasterxml.jackson.core",
"jackson-databind",
"jackson-annotations",
"com.fasterxml.jackson",
"jackson-bom",
"jackson-core",
"com.fasterxml.jackson.dataformat",
"jackson-dataformat-cbor",
"jackson-dataformat-properties",
"jackson-dataformat-xml",
"jackson-dataformat-yaml",
"com.fasterxml.jackson.datatype",
"jackson-datatype-jdk8",
"jackson-datatype-jsr310",
"com.fasterxml.jackson.module",

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:

Hi @Siya, I am sorry you’re having trouble.

It seems your example workflow doesn’t include any example data using which the problem can be seen. Perhaps you can share an example of the data you are sending to your Code node and the result you’d like to see coming from your code node?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.