{"product_id":"n8n-workflow-capture-supabase-row-updates-w-rewind-receipts","title":"n8n Workflow: Capture Supabase Row Updates w\/ Rewind Receipts","description":"\u003ch3\u003eCapture Verified Supabase Row Changes in Rewind—Using Rewind Receipts\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow performs a controlled update to a specific \u003cstrong\u003eSupabase\u003c\/strong\u003e row via custom RPCs, captures verified before\/after snapshots, and records the change as a \u003cstrong\u003eRewind recovery receipt\u003c\/strong\u003e through HTTP requests.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cp\u003eBuilt for a single, manual test update, the workflow:\u003c\/p\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns manually\u003c\/strong\u003e to update one target row at a time.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSets and validates inputs\u003c\/strong\u003e including your Supabase project URL, Rewind base URL, table alias, target row UUID, patch fields, and connection name.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReads the current row revision\u003c\/strong\u003e by calling a Supabase REST RPC and confirms a valid version is returned.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eApplies the patch atomically\u003c\/strong\u003e only when the expected revision matches, via another Supabase REST RPC—returning \u003cstrong\u003ebefore\/after snapshots\u003c\/strong\u003e and the \u003cstrong\u003enew revision\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilds a Rewind operation payload\u003c\/strong\u003e with an idempotency key, resource identifier, captured snapshots, and the revision.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends the payload to the Rewind API\u003c\/strong\u003e to record the operation for later approval and recovery.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eTest a sensitive Supabase update flow safely before enabling broader writes.\u003c\/li\u003e\n  \u003cli\u003eGenerate a Rewind receipt for an auditable “change record” tied to exact row state.\u003c\/li\u003e\n  \u003cli\u003eValidate revision-based concurrency behavior (expected version matching) during integration.\u003c\/li\u003e\n  \u003cli\u003eUse in SaaS operations when you need recovery-ready logs for row-level changes.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupabase\u003c\/strong\u003e REST RPC calls to read revision and patch with revision checks.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRewind\u003c\/strong\u003e HTTP API call to record the recovery receipt.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes used\u003c\/strong\u003e: Set, Code, Sticky Note, HTTP Request, Manual Trigger.\u003c\/li\u003e\n  \u003cli\u003eCredentials: HTTP Header Auth for Supabase (\u003ccode\u003eapikey\u003c\/code\u003e as \u003cstrong\u003eserver secret\u003c\/strong\u003e) and Rewind (\u003ccode\u003eAuthorization: Bearer \u0026lt;RECORDING_KEY\u0026gt;\u003c\/code\u003e).\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eGet a repeatable Supabase row update workflow that produces verified Rewind receipts—so you can recover confidently when it matters.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46160843047091,"sku":"N8N-20420","price":29.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/SrLp5-te0RQ4GUMe3N9GR_qCZKskbu.png?v=1791191115","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-capture-supabase-row-updates-w-rewind-receipts","provider":"N8N Commerce","version":"1.0","type":"link"}