Simply Concat multiple JSON

Hi there :slight_smile:

I’m building an API with n8n. I use webhook as my trigger and respond to webhook to return data.

In the middle i’m using multiple endpoints to get my data (http request node). Each endoint return a JSON as a result.

What i want is pretty simple, i just want to combine/concat all the JSON from http request nodes and return this big JSON as a response

I tried with a merge node “append” but dont work :confused:

Thanks :slight_smile:

Ok, i used Merge node + Combine by position, close to work.

I now strugle sending my result as a JSON, if i just use {{$json}} my result start by '[Object: ’ wich provoque a JSON format error : invalid format in body field

Any help ?

Solved with JSON.stringlify :slight_smile:

3 Likes

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