A Serverless function that can manage backups and restoration of records through its API.
The lambda function can be deployed on Vercel in one click by using this link
It is intended to be used with the record bin DatoCMS plugin
After deploying the project on Vercel, and adding the API Token from your DatoCMS project the API will be available to interact with the plugin.
Then, insert the deployed URL on the plugin installation process. The plugin will send a call to that URL that will make the plugin create a webhook, on your DatoCMS project that will manage and create a "Bin record" for every deleted record on that project. The function also makes available a "restore" call, that is used by the plugin to restore "Bin records" through the button directly on the dashboard.
For more detailed information on usage refer to the record bin documentation page