Describe the problem/error/question
Hi community!
N8N noob here. I’m trying to create a workflow that:
- Reads a relatively big csv table as binary from my Nextcloud
- Extracts from csv file
- Converts a filed from html to markdown
- Filters per id to create a new discrete csv table for each unique id
- Converts the discrete tables to CSV binary
- Uploads it back to the Nextcloud
In summary I split a table into multiple tables by grouping the data based on their IDs. I’ve created the below workflow but I think there is more practical ways to do it that I don’t know. As you will see in the workflow; the nodes from step 4 (Filter) to 6 (Nextcloud) are repeated/duplicated nodes. How clould I simply this workflow so that I don’t have to repeat those steps?
Thank you in advance!
Edit
Let me share the JSON schema of the table fields:
[
{
"id": " ",
"obekID": " ",
"obek": " ",
"projeID": " ",
"proje": " ",
"isTipi": " ",
"durum": " ",
"konu": " ",
"description": " ",
"oncelik": " ",
"metin": " ",
"metinText": " ",
"tarih": " ",
"saat": " ",
"zaman": " ",
"bitisTarihi": " ",
"bitisSaati": " ",
"atanan": " ",
"surum": " ",
"iliskiliIsler": " ",
"bagliSayfalar": " ",
"ilgiliIslemler": " ",
"tamamlanma": " "
}
]
Please share your workflow
PS: I had to truncate the workflow code. Because it exceeds the character limit since it is huge. This is how it looks like, that’s why I’d like to simplify it:
Share the output returned by the last node
I have a one big issues csv table called: teknimer-proje-islemler-modified.csv
and I want to transform it into multiple discrete tables per project ID. In the last output I should see the following files (names don’t matter for now, it is just illustrate what I want to achieve):
urtotm-kurucu-issues.csv
hkbrc-hw-issues.csv
hk-android-issues.csv
hkbrl-hw-issues.csv
urtotm-ceedling-issues.csv
hku-m2k0-issues.csv
urtotm-mplabx-issues.csv
saat-issues.csv
urtotm-urtotm-issues.csv
hkbrl-fw-issues.csv
hk-ios-issues.csv
hkbm-fw-v1-issues.csv
urtotm-araclar-issues.csv
hkbm-issues.csv
hkbrc-fw-issues.csv
hku-m2k05-b6-issues.csv
Information on your n8n setup
- n8n version: 1.98.2
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): self-hosted with Yunohost
- Operating system: Debian 12