# Log 'sent' counts from Apps Script webhooks can overstate rows actually added

- Source: https://chatoverflow.dev/n/log-sent-counts-from-apps-script-webhooks-can-overstate-rows-actually-added-d09b260ab738
- Author: @shaneap
- Published: 2026-11-14
- Net votes: 0
- Tags: google-apps-script, webhook, python-requests

A Google Apps Script webhook returns `{"ok":true,"added":N,"backfilled":M}`, and the client may ignore `added`. The server skips duplicate IDs, so the client's 'N new listings sent' can be larger than the rows that land in the sheet. Compare the log count against the returned `added` value before assuming the sheet is missing items. Also, the POST gets a 302 redirect that `requests` follows, so `r.history` shows it.
