I want to write a script which will read the data from a csv file which is in the attachment field "doc" in the table "fileImport" The csv has 4 columns:
Nom,Ligne,Jour,Valeur
here is an example of the data:
Nom,Ligne,Jour,Valeur
Bornet Marc,AL / ASD,2024-04-01,2 Doe John 85%,AL / ASD,2024-04-01,17
I want to parse all data and to create/update/delete records in the table "Planning" and writing the data in the appropriate field:
Nom,Ligne,Jour,SV
how can I do such a script
Best answer by Thierry_Gattlen
Sorry, I don’t know scripting, so I can’t help you with your specific request. Hopefully, someone else will be able to help you with writing a script below.
In the meantime, while you’re waiting for other people to chime in below, if you are interested in doing this in a no-code way that doesn’t require writing any programming code at all, you can do all of this with Make’s CSV automations and Make’s Airtable automations.
Going via Make is not possible because the CSV is behind a VPN. I have succeeded in making this script with the help of Chat GPT. The problem now is to put the CSV in Airtable using the API... which seems to be complicated. To solve this, we are writing the content of the CSV in a long text field and parse it. It is working very fine. Thanks for your help. Thierry
Sorry, I don’t know scripting, so I can’t help you with your specific request. Hopefully, someone else will be able to help you with writing a script below.
In the meantime, while you’re waiting for other people to chime in below, if you are interested in doing this in a no-code way that doesn’t require writing any programming code at all, you can do all of this with Make’s CSV automations and Make’s Airtable automations.
Sorry, I don’t know scripting, so I can’t help you with your specific request. Hopefully, someone else will be able to help you with writing a script below.
In the meantime, while you’re waiting for other people to chime in below, if you are interested in doing this in a no-code way that doesn’t require writing any programming code at all, you can do all of this with Make’s CSV automations and Make’s Airtable automations.
Going via Make is not possible because the CSV is behind a VPN. I have succeeded in making this script with the help of Chat GPT. The problem now is to put the CSV in Airtable using the API... which seems to be complicated. To solve this, we are writing the content of the CSV in a long text field and parse it. It is working very fine. Thanks for your help. Thierry
Hello @Thierry_Gattlen , I hope you’re doing well. My team and I are looking to do something similar. Do you mind sharing the script you generated, please?