Library / Reports, Analytics & Dashboards
Reports, Analytics & Dashboards
Restore approved Supabase row updates with Rewind APIs
When you run it, it builds reports.
What it does
### How it works This worker is for n8n builders who have already captured a supported Supabase row update with Rewind. It claims one approved recovery job for the configured connection, reads the row and compares the current revision with the recorded result. If it still matches, the connector restores the original fields in a conditional transaction. A later edit stops recovery and preserves current data. The workflow reports the outcome to Rewind. A report is not independent verification: inspect the actual Supabase row afterward. Capture and human approval happen separately; this worker cannot recover changes recorded after the fact or approve its own work. ### Setup Use a dedicated development project with the connector and disposable demo table from https://rewind.kanishq.dev/#connect. Configure the Rewind and Supabase origins and the same connection name used by capture. Select Rewind worker Header Auth on Claim approved job and Report outcome. Select Supabase apikey Header Auth on Read current resource and Conditional restore. Credentials are not included. Keep the workflow inactive. Capture one update, approve it in Rewind, then use Run once. Verify active/5 is restored. Repeat with a fresh captured update followed by a later edit and require that edit to remain. Publish the schedule only after both checks pass. ### Customization Use only registered rows and supported scalar updates. No inserts, deletes or trigger-side-effect rollback. Inspect unknown outcomes manually; do not repeat an uncertain restore.
The steps
- Run once
- Every minute
- Configure endpoints
- Claim approved job
- Validate job
- Read current resource
- Check current version
- Version still matches
- Conditional restore
- Classify write result
- Report outcome
- Validate endpoints
Similar automations
Building Blocks & UtilitiesCapture Supabase row updates and record recovery receipts with Rewind9 stepsCode, Git & Developer ToolsRestore All n8n Workflows from Google Drive Backups7 stepsCode, Git & Developer ToolsRestore n8n Workflows from GitHub13 stepsCode, Git & Developer ToolsRestore n8n Credentials from GitHub19 steps