See llms.txt for all machine-readable content.
This workflow runs hourly to sync rows from a Google Sheets tab into a Postgres table, validating and normalizing data, only upserting new or changed records, soft-deleting records missing from the sheet with a safety cap, and sending run reports and failure alerts to Slack.
Records sheet (or generates sample rows for testing).external_id, row_hash, and deletion status from the Postgres records table and compares it to the cleaned sheet data to plan upserts and soft deletes.updated_at while clearing deleted_at.deleted_at, unless the missing share exceeds the configured safety threshold.sync_runs table and posts a Slack report when there are rejects, deletes are blocked, or reporting is forced, while any step failure posts a Slack alert.records and sync_runs (and ensure records includes the columns used by the workflow, including external_id, row_hash, updated_at, and deleted_at).Records sheet name if needed, and ensure your column headers match the fields expected by the validation step (id, name, email, status, amount).soft_delete_missing, max_delete_share, and report_when_clean) in the workflow configuration values.