Text file formatting

I’m pulling my hair out trying to find what seems like a really simple solution but maybe i’m not understanding how n8n works.

I need the output of this workflow to be in a specific format, no extra characters, just a simple text file with a new mac address on each line.

The workflow takes mac addresses from airtable, combines them into an array and then outputs the text file.

No matter which way I try, I end up with an incorrectly formatted file. Please help!

The text file output is:
[“D4:52:EE:FF:FA:99”,“B0:45:30:FF:DA:99”] for example.

But I need it to be a new address on each line with no other characters.
D4:52:EE:FF:FA:99
B0:45:30:FF:DA:99

What am i missing? :frowning:

  • **n8n version:1.20
  • **Running n8n via (Docker, npm, n8n cloud, desktop app) desktop npm
  • **Operating system:windows

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

@benjaminbroughton ,

3 Likes

Absolute genius! Thank you so much. That seems so simple. I believe i was trying to do the same in a code node. Thanks again!

1 Like

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