RevenueCat logo
Google Sheets logo

Workflow template

Log unique RevenueCat events in an automatically created Google Sheet

Log RevenueCat events in a spreadsheet created automatically, with a per-workflow guard for confirmed Event IDs. Include the first event and skip confirmed IDs on later full workflow runs.

How it works

From a new RevenueCat Event ID to a guarded Sheets row

1 Trigger · 2 Actions · 1 Transformation
RevenueCat1 · Trigger

Any Subscription Event

Receive RevenueCat project events, including official TEST notifications. The downstream Only new items step adds a processed-ID history for this workflow beyond normal provider-delivery deduplication.

Google Sheets2 · Action

Create the event spreadsheet once

Create RevenueCat unique subscription events with an Events worksheet and six headers on first use. Reuse the created spreadsheet on later runs without selecting an existing file.

FastHook3 · Transformation

Only new RevenueCat Event IDs

Check trigger.event.id against this workflow step’s remembered IDs. Include the first event and confirm its ID only after a successful downstream write; later full workflow runs skip confirmed IDs.

Google Sheets4 · Action

Add the RevenueCat event

Append event ID, type, app user ID, product ID, environment and event time in Unix milliseconds to A–F, using RAW and INSERT_ROWS. Failed writes remain eligible for retry through the full workflow.

The result

A six-column event log with confirmed-ID history

The creation step prepares these six headers automatically.
Event IDEvent typeCustomer IDProduct IDEnvironmentEvent time (Unix ms)
FICTIONAL_EVENT_IDINITIAL_PURCHASEFICTIONAL_CUSTOMERFICTIONAL_PRODUCTSANDBOX1793232000000

Fictional event. A later full run with this confirmed ID is skipped. This guard does not guarantee exactly-once writes if Google accepts a row but its response is lost, or if the append action is tested separately.

Before activation

Set up your workflow

  1. Connect RevenueCat and Google Sheets

    Connect the intended RevenueCat project through OAuth using its API v2 Project ID, then select the Google Sheets connection for the register. No existing spreadsheet is required.

  2. Keep the ID guard in the full workflow

    Retain the Only new RevenueCat Event IDs transformation between creation and append. It checks trigger.event.id and includes the first event. Review the new-file title and six headers before first use.

  3. Verify using a real TEST event through the workflow

    Activate and send an official RevenueCat TEST notification. Verify the first row and confirmed-ID behavior through full workflow runs. Testing Add the RevenueCat event by itself bypasses the guard and can append a row separately.

Details and limitations
  • History belongs to this workflow and step. Confirmed Event IDs have no expiry. Their history is removed when the workflow is deleted, and another workflow copy has its own history. Removing a row from Sheets does not remove its confirmed ID from this history.

  • Failure and ambiguous success are different. Failed writes remain eligible for retry. If Google accepts a row but its response is lost, a retry can still append another row. Direct append-action tests bypass the transformation, so exactly-once writes are not guaranteed.

  • The first event is included. This is not a silent baseline that discards existing input. The first event creates the file and can be appended, then its ID is remembered after the write succeeds.

  • The destination file is reused. A creation-action test also creates the file. Later runs reuse it; changing creation settings after first use requires a new creation step, and a deleted file is not silently replaced. RAW keeps mapped fields as data.

Questions about this template

Will the first RevenueCat event be skipped?

No. The guard includes the first event. The spreadsheet is created automatically and that event can be appended before its ID is confirmed.

How long are confirmed Event IDs remembered?

History is per workflow and step with no expiry, and it is removed when the workflow is deleted. Another workflow copy has separate history. Deleting a sheet row does not clear the remembered ID.

Does this guarantee exactly one row per event?

No. Confirmed IDs are skipped on later full workflow runs and failed writes remain retryable. But a lost response after Google accepts a row can allow a duplicate, and testing the append action alone bypasses the guard.

Do I need an existing spreadsheet or manual column setup?

No. First use creates the file and six headers, then later runs reuse it. A creation-action test also creates the file; changed settings need a new creation step and a deleted spreadsheet is not silently replaced.

Explore connected apps