Delete all data from data tables

The idea is:

To delete all data in a data table at once.

My use case:

Currently i am storing the processing data in data tables and end of the process writing to Google sheet to speed up the process. However this require to delete all records from the data tables at the start of the workflow. If you can give a option to delete all data in a data table at once quickly, this will be fantastic. Currently i have to loop through each row and delete which consume lot of time.

I think it would be beneficial to add this because:

To Save time on running the Workflow loop. it will help to n8n memory as well.

Any resources to support this?

Yes need n8n team support to develop this feature

Are you willing to work on this?

No. I do not have required knowledge to develop this.

Yes, this would clearly be a good idea.

Being able to delete all data from a data table in a single operation would significantly improve workflow performance, especially in cases where tables are used as temporary storage. Avoiding row-by-row deletion loops would reduce execution time, memory usage, and overall workflow complexity.

This kind of feature would contribute to better overall optimization of n8n, particularly for large or recurring data-processing workflows.

Thanks for your response. can this be added to the backlog to develop as a future request?

Have you tried deleting and recreating the data table at the start of the workflow?
Not tried it myself but do something similar with Gsheets which makes it much faster.

1 Like