heyy,
I am trying to make a workflow where I upload data from csv files (skills_fr.csv , skills_en.csv , skills_de.csv) into postgres table but before that i have to delete the old data existing in the table when the column language is the same as the new data will be entering
I have the following workflow : read from file then I start a loop, within this loop ,I put delete postgre when language equals to {{ $(‘Read/Write Files from Disk1’).item.json[‘fileName’].slice(-6, -4) }} and then next in the loop , I have extract from csv and finally the insert into postgres table : => the problem here when exectuting extarct node , it must use the ouput of read node not the output of the delete , I keep changing the input of extarct and I always get this error
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:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system: