Passing Json to convert to Json file node includes Square brackets

Describe the problem/error/question

I am passing Json to the Convert to Json File node and the Square brackets that N8N wraps the json in is added to the file.
Is there a way to remove those brackets before creating the json file?

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

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

hello @ekadin

Change the mode to Each Item into separate File

But then your input data should contain only one item.

1 Like

Thank you!

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