Stripe logo
Google Sheets logo

Workflow template

Log canceled Stripe subscriptions in Google Sheets

Log Stripe subscriptions when they actually end. Append the subscription ID, final status, currency, event time, live-mode flag and event ID to a Google Sheets cancellation register.

How it works

From an ended subscription to a cancellation-log row

1 Trigger · 1 Action
Stripe1 · Trigger

Customer Subscription Deleted

Receive customer.subscription.deleted when a subscription ends, including ended trials. Setting cancel_at_period_end schedules cancellation but does not trigger this source until termination.

Google Sheets2 · Action

Append the ended subscription to the cancellation register

Append subscription ID, status, currency, event created in Unix seconds, livemode and event ID in A–F. RAW and INSERT_ROWS preserve the original numeric and boolean values.

The result

A six-column history of subscription-end events

Optional A–F headers in mapping order; an empty worksheet works.
Subscription IDFinal statusCurrencyEvent created (Unix seconds)Live modeEvent ID
sub_example_sheets_canceled_subscriptioncanceledeur1789607400falseevt_example_sheets_canceled_subscription

Fictional ended-trial event. Time is the termination notification’s event timestamp, not the earlier cancellation request. No lost-revenue amount is calculated.

Before activation

Set up your workflow

  1. Connect the Stripe subscription-end source

    Choose the Stripe connection and retain Customer Subscription Deleted. Start with Stripe sandbox; scheduling an end-of-period cancellation is not itself the matching end event.

  2. Choose the cancellation worksheet

    Connect Google Sheets and Browse to an existing spreadsheet and worksheet. Reserve A–F in the displayed order, optionally add headers yourself and keep RAW and INSERT_ROWS. Review access to subscription identifiers.

  3. Verify an ended sandbox subscription

    Activate, wait for the Stripe source to show Connected and use a fictional sandbox subscription-end event. Check all six values and Live mode=false. Review the current subscription and outstanding invoices in Stripe separately.

Details and limitations
  • End events differ from scheduled cancellations. cancel_at_period_end produces an update when scheduled. This source waits for customer.subscription.deleted. It includes ended trials and paid subscriptions without assuming customer intent or lost revenue from the first price.

  • The register is append-only event history. Existing cancellations and later subscription changes are not imported or synchronized. Event time is notification time rather than request time. Manual reruns can duplicate rows; this does not maintain current subscription state.

  • The action records metadata only. Customer contacts, cancellation comments, payment details and metadata are not copied. The workflow does not cancel subscriptions, issue refunds, revoke access or send messages. Review the cause and remaining obligations in Stripe.

Questions about this template

Will scheduling cancel_at_period_end immediately add a row?

No. That schedules cancellation and emits an update. The row is added for customer.subscription.deleted when the subscription actually ends.

Does an ended trial count as lost paid revenue?

The register makes no such calculation. It includes ended trials and paid subscriptions, without inferring intent or revenue from the first price. Check Stripe for the cause and outstanding invoices.

Do I need headers, and what does the timestamp mean?

Headers are optional; a blank worksheet works. A–F receive the six displayed values. The Unix-second timestamp is the event’s creation time for the end notification, not the earlier cancellation request.

Will this cancel anything or update old subscription rows?

No. It logs future end events without historical import or later synchronization. It performs no cancellation, refund, access revocation or messaging, and manual reruns can duplicate rows.