Separate manual edits from programmatic writes

If an Apps Script automation reacts when a person edits a Google Sheet but misses rows added by another app, first check the trigger mechanism. Do not assume every change to the sheet fires the same event. Re-entering the row manually may hide the cause while creating duplicates.

Google’s installable-trigger documentation says script executions and API requests generally do not cause these triggers to run. This guide addresses Apps Script triggers; another platform's polling or webhook connector can behave differently. Name the actual system watching the sheet before applying the diagnosis.

Build a trigger-origin test matrix

Use a disposable sheet with one unique record per origin. Do not use identical names and amounts as your only identifiers: they make it difficult to tell a missing event from a duplicate or an overwritten row.

CaseHow the row arrivesEvidence to inspect
MAN-01Person types or edits the test rowRelevant manual-edit execution
SCR-01Another Apps Script function writes itRow exists; edit trigger is not assumed
API-01Approved test app writes through APIRow exists; Apps Script event not assumed
POLL-01Scheduled scan finds an unprocessed keyScan execution and resulting output
DUP-01Same source key is seen twiceOne accepted business result

Record row-arrival time, source key, trigger/function name, execution time and output key. This shows where the chain stopped instead of describing the whole process as “not syncing.”

Work through a missing-row example

Synthetic example: MAN-01 reaches the draft report after a staff edit, while API-01 sits in the sheet with no corresponding Apps Script run. The expected finding is a trigger-origin mismatch, not a conclusion that Google lost the row. The source write succeeded; the downstream mechanism was never guaranteed to run for it.

A possible redesign is an explicit call from the writing process, where supported, or a scheduled scan for unprocessed business keys. The implementer must choose and test the route. For a scheduled scan, record which keys have reached an accepted result so the next scan can avoid redoing them. Do not use row color or an uncertain last-row number as the only processing record.

Test the replacement route and its identity

Google’s authorization guide explains that the executing script needs access appropriate to its context. A new scheduled or explicit route still needs the correct account and grants; changing the trigger does not automatically fix authorization.

  1. Confirm that the missing row exists in the intended file and worksheet.
  2. Identify the actual writer and trigger, then compare the origin matrix.
  3. Implement the chosen route in a test project using invented keys.
  4. Check a newly written row, a previously processed row and an invalid row.
  5. Require the valid new row to produce one output, the old row to avoid a duplicate, and the invalid row to remain visible for review.
  6. Inspect execution identity and failure reporting before replacing the live route.

This is a proposed diagnosis and acceptance sequence, not a report of testing your connected apps.

Accept coverage by source identity

Pass the change when every intended arrival route has a documented path to either a valid output or an explicit exception. Keep manual and programmatic cases in the test set because future changes may repair one and break the other.

If the source app cannot provide a stable key, document how records will be identified before automating catch-up. A repeated date and amount is not enough to assume two records are the same. Discuss a bounded spreadsheet integration with ParseMill if you need help scoping that repair. No native ParseMill Google Sheets trigger is implied by this guide.

Assisted setup with ParseMill

Put one spreadsheet workflow into practice

Share the shape of the input, the expected output and how often the work repeats. We can assess a bounded implementation with row checks, exceptions and a handover your team can use.

Discuss this deployment

Describe your tools, the repeated task, its frequency and the result you need. We agree the scope and any fee before starting. Third-party connections need their own fit assessment; sending a request does not activate an integration.

For supplier invoice PDFs, try the invoice-to-Excel example to see ParseMill’s extraction, source review and workbook export.

Sources and editorial notes

Written by ParseMill. Worked examples are illustrative process examples, not customer results. Software availability can vary by subscription and region; check the linked documentation for your account. Review decisions and approvals remain with your team.

Explore the wider workflow