Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

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

  1. Run once
  2. Every minute
  3. Configure endpoints
  4. Claim approved job
  5. Validate job
  6. Read current resource
  7. Check current version
  8. Version still matches
  9. Conditional restore
  10. Classify write result
  11. Report outcome
  12. Validate endpoints

Similar automations