Describe the question/issue
Hi there!
I’ve received several json files with a list of many strings wherein the values need to be translated with the Deepl node to another language, and the output should be in json in the original format.
I have searched for a solution to split the lists of strings into separate objects so that the Deepl node can loop over the input, but no success.
I came accross the following topic which seemed to address exactly what I was looking for, but the code does not work anymore.
I’d appreciate any help in getting this fixed!
What is the error message (if any)?
The error I get when using the code supplied by the above mentioned topic is:
ReferenceError: `items` is not defined. Did you mean `$input.all()`?
Please share the workflow
In the workflow I have added a list of three as an example. I have 10 json files with around 200 lines each that need to be translated.
Share the output returned by the last node
Information on your n8n setup
- **n8n version: 0.198.2
- **Database you’re using (default: SQLite):
- **Running n8n with the execution process [own(default), main]:
- **Running n8n via [Docker, npm, n8n.cloud, desktop app]: Desktop app