Take a CSV form Hard Disk and use theNumbers (1st column), date(2nd column) in a python script

In the “Read/Write Files from Disk”, the output is “This is an item but it is empty”

My Workflow has 4 nodes :

Webhook
Read/write files from disk
Extract from file
Code

My aim is :

  • Take two items from a csv : Dossier_number and Date_A
    The csv has title rows : Numero_d (format number) and Date_a (date format dd/mm/yyyy)

  • Use the pair of items for a python script
    For the moment the script is an example
    When it will work, I will use it to extract text from a web site

  • When the first line is done, the all thing does the same with the items of the second line of the csv then the next one etc (maximum of e certain number)

  • My workflow seem ok (test “OK” green arrow in each node)
    But does not extract the item in the output of Read/write files from disk

I work my N8N on the N8N cloud on windows 10

Please share your 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:

I thank you very much if you can help me
I tried many many thing
Changing the nodes, changing the parameters, changing the order of the nodes…

Thank you

hello @Frederic_BERNARD
Is your n8n instance installed via npm or docker?

Hi, thank you for your answer
I’m only on the N8N webplatform, on the N8N cloud
My PC is Windows 10
I didn’t installer docker neither npm
Thank you for your help
Have a good day
Frédéric

then you can’t use the node Read/Write Files, because it downloads files located on the n8n instance, not your PC. The easiest way would be to upload a local file via n8n Form trigger

OK
I try that
Thanks a lot

Hi,
It worked
Thank you very much ++++
Frederic

If the issue was resolved, please mark my post as a solution by clicking on the little checkbox below the post so others can also see the solution.

2 Likes

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