Sync new Google Sheets rows and reconcile amounts

Utilities

What it does

When someone adds a row to a Google Sheet, this automation searches for matching records and validates credit amounts. It updates existing rows or creates new ones based on whether a matching ID is found.

Who it's for

Finance teams who need to reconcile sheet data and ensure credit entries are formatted correctly without manual review.

Apps used

How teams use this

Validate credit entries on import

When a new row arrives in the sheet, check that credit amounts are positive and properly formatted before they are synced downstream. This automation prevents malformed data from entering downstream systems.

Reconcile statement and site balances

Match incoming rows against existing records by ID and compare amounts from the statement to the site balance. Add a mismatch alert so discrepancies are caught early and flagged for review.

Automate daily sheet reconciliation

Run this automation each time a row is added so manual reconciliation steps are eliminated and the sheet stays current. Teams can focus on exceptions instead of data entry.

How it works

  1. Detect a new row added. A new row is added to a sheet in Google Sheets in real time, starting this automation with the row data.
  2. Search for matching rows. Query Google Sheets to find records that match the new entry by ID, preparing for validation and reconciliation.
  3. Validate credit and amount format. Check that the is_credit field is true and the amount does not contain a negative sign, routing to the correct next step.
  4. Search for matching site balance. Query Google Sheets to find a row with a matching ID to compare statement amounts against the site balance.
  5. Update or create the row. Update an existing row if the ID is found in Google Sheets, or add a new row if no match exists, completing the reconciliation.