Does a JSON builder node exists?

Describe the problem/error/question

I’m migrating from Integromat to n8n but I’m struggling to find something similar to a JSON module inside n8n, currently on integromat there is a module to create JSON visually that let you map fields in order to create a collection, so it can be sent via HTTP Request, is there something similar to this on n8n? or I need to create the JSON manually through code? Thanks in advance

What is the error message (if any)?

N/A

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: 0.231.2
  • Database (default: SQLite): PostgreSQL
  • n8n EXECUTIONS_PROCESS setting (default: own, main): self-hosted
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system:

Welcome to the community @rodmontgt !

Yes there is sadly currently no dedicated node for it and would rather have to be done with a Code-Node. You could also use a Set-Node but that really only works well when the data is flat and is less fun with deeply nested data as you can see in the following examples:

Thanks @jan I was able to workaround until now with the Set node and the dot notation option to build a nested JSON, I’ll keep trying with this if I can do what I looking for, BTW if not I know I need to go for the node code way. Thanks again

1 Like

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