Describe the issue/error/question
I prepped a “template” file, that I load in via Binary Read and need to append some data into a certain spot.
My Json looks like this
{
"Categories": [
{
"name": "Default",
"name": "Another Category"
}
],
"Data": [NEED DATA HERE]
}
The data that I need is being grabbed via a HTTP GET and then formatted, that part has no issues. The result is similar to the following (just with around 100 entries).
[
{
"category":"Default",
"url":"https://example.com/file.png",
"description":"string",
"user":"string",
"userAvatar":"https://example.com/file.png"
},
]
so the expected result should be:
{
"Categories": [
{
"name": "Default",
"name": "Another Category"
}
],
"Data": [
{
"category":"Default",
"url":"https://example.com/file.png",
"description":"string",
"user":"string",
"userAvatar":"https://example.com/file.png"
},
{
"category":"Default",
"url":"https://example.com/file.png",
"description":"string",
"user":"string",
"userAvatar":"https://example.com/file.png"
}
]
}
I seem to have some misunderstandings on how to merge data, hope you can help.
Information on your n8n setup
- n8n version:You’re on 0.202.1
- Database SQLite
- Running n8n with the execution process own
- Running n8n via Docker