Quick overview
Run an approved recovery job for a Supabase row update captured with Rewind. Check for later edits, conditionally restore the saved fields, and report the outcome. Capture and human approval happen separately; verify the restored row directly in Supabase.
How it works
- Run manually during setup; enable the schedule after the disposable-data checks pass.
- Validate the two service origins and connection name.
- Claim one human-approved Rewind recovery job.
- Validate its supported update, table alias and row ID.
- Read Supabase and compare the current revision and recorded fields.
- Restore conditionally when they match; preserve newer edits otherwise.
- Report the outcome to Rewind, then independently inspect Supabase.
Setup
- Connect Rewind before the write, capture a supported update, and approve recovery separately.
- Install the connector and disposable demo table from https://rewind.kanishq.dev/#connect in a development project.
- Select Rewind worker Header Auth on Claim approved job and Report outcome.
- Select Supabase apikey Header Auth on Read current resource and Conditional restore.
- Configure both service origins and the capture connection name. Keep inactive; test an approved restore, then a newer-edit conflict. Verify both directly in Supabase before enabling the schedule.
Requirements
- A Rewind account, registered Supabase row, installed connector RPCs, and separate worker/server credentials stored in n8n. No credentials are included.
Additional info
Supports registered Supabase row updates and supported scalar fields. It does not undo inserts, deletes, trigger side effects, sent messages, or other workflow actions. A worker success report is not independent verification. Inspect unknown outcomes manually before attempting any further restore.