Just to add to what @Shirobachi already said, in case you’re adding your files to a folder on your disk, you could use the Local File Trigger node to start a new workflow when a file has been added to a folder.
That said, your file format seems a little tricky. n8n works with key-value pairs for each item. In a spreadsheet, the key would be the column header while the value would be the content of each cell when using the Spreadsheet File node to read your file.
So the empty “Bill Data” Sheet from your example would not return any items in n8n when you read it. Instead, you would need to add some data to at least one row to read it.
An example node reading the Bill Data sheet from your file could then look like so:
That’s because n8n would append each item it has into a single row and the Spreadsheet File node wouldn’t attach empty rows as in your example. It would also not apply formatting through the Spreadsheet File node.
For generating PDF files you could use a service like APITemplate.io.
Thanks. I don’t need an empty row. but require generating the unique bill number for each teacher bill.
Can you guide me is there any way I can generate a unique bill number through n8n.
Could you please share what you have by now? Also explain please how it’s generate, like you struggling with generating unique number or sth else?
In addition, if it’s possible, maybe share your spreadsheet to better understand
I thought of breaking down a requirement into multiple pieces so we can figure a solution step by step
I have a Rest API to download a file from the server folder (It is not in the same server so can’t use local file trigger)
I tried downloading the file using the postman. I am getting the response as content-type →application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Step 1: I need to download this spreadsheet file through REST API
Step 2: Store the data to DB through REST API