Skip to main content
Connect Superwall to trigger automations from purchases made through your Superwall paywalls on the App Store, Google Play, and Stripe web checkout. Trials, renewals, cancellations, billing issues, and refunds become Sequenzy events, and each contact gets mrr, ltv, and billing attributes, without running your own webhook relay.

What is Superwall?

Superwall runs remotely configured paywalls for iOS, Android, and web apps. It processes each store’s server notifications and sends one consistent webhook for every subscription change. Sequenzy accepts both of Superwall’s webhook formats: Webhooks V2, which every webhook created in the Superwall dashboard uses, and legacy webhooks created before V2.

How contacts are matched

Superwall identifies people by user ID, not email. Sequenzy matches each event to a contact in this order:
  1. A contact whose externalId is the user ID you pass to Superwall’s identify(), any other user ID Superwall lists for that user (V2 webhooks send all of them), or the subscription’s original app user ID
  2. The email user attribute on the event
  3. A user ID that is itself an email address
If your backend already creates contacts in Sequenzy, set their externalId to the same user ID you pass to identify(). Otherwise, set the email as a user attribute in your app:
Superwall attaches user attributes to every webhook, so the email reaches Sequenzy with the next event. Events for users that match nothing, including anonymous $SuperwallAlias: users without an email, are skipped and listed as skipped in the integration’s Activity, so you can see which users need an email or externalId. Name the user with firstName and lastName attributes, or a single name attribute, to fill the contact’s name.

Connecting Superwall

Step 1: Add the webhook in Superwall

  1. In Sequenzy, go to Settings → Integrations and click Connect next to Superwall
  2. Copy the Webhook URL from the dialog:
  3. In Superwall, open Settings → Integrations → Webhooks and add a webhook with that URL. Leave the event filter empty to receive every event type, including ones Superwall adds later

Step 2: Paste the signing secret

  1. In Superwall, open the webhook you just added and copy its signing secret. It starts with whsec_
  2. Paste it into the Signing secret field in the Sequenzy dialog
  3. Click Connect Superwall
Superwall has no API key to check, so the first signed delivery confirms the connection.

Step 3: Confirm it works

Make a sandbox purchase in your app, then open Activity next to Superwall in Sequenzy. The event appears as skipped with “Sandbox event received. The connection works”. Sandbox purchases never change contacts, tags, or revenue.
StoreKit configuration files don’t produce server notifications, so purchases made with one never reach Superwall’s webhook. Test with a sandbox account instead.

Tracked events

uncancellation also clears the pending cancellation: the cancelled tag and billingCanceledAt. Use saas.uncancelled to stop a cancellation sequence. When a charge fails, a cancellation with cancelReason BILLING_ERROR is not treated as saas.cancelled, because the subscriber didn’t cancel and the store may still recover the payment. An expiration caused by a Google Play pause removes mrr but is not saas.churn. product_change, subscription_paused, subscription_extended, and other types are acknowledged without events, so there is no saas.upgrade or saas.downgrade for Superwall. Every event includes the Superwall context in its properties, for filters and merge tags: productId, store, environment, periodType, appUserId, countryCode, providerEventType (Superwall’s event name, such as renewal), cancelReason (on cancellations), expirationReason (on expirations), isTrialConversion (on renewals), isFamilyShare and offerCode when present, plus amount and currency on purchases.

Synced attributes

Contacts are also tagged trial, customer, cancelled, or churned as their subscription changes.

How revenue is calculated

  • Amounts use the price in the customer’s currency, converted to US dollars. When the currency can’t be converted, Superwall’s own US dollar price is used
  • Prices include the store’s commission and tax. They are not your take-home proceeds
  • MRR comes from the latest paid period whose interval is known
  • MRR is removed at expiration, not at cancellation, because access continues until the period ends
  • Refunds lower ltv

Paywall events

Superwall’s webhooks only carry purchases and subscription changes. Paywall activity, such as a user closing a paywall without buying, happens in the app, and the Superwall SDK reports it to a SuperwallDelegate. Forward the events you want to email about with the Sequenzy mobile SDK, and they become events you can start sequences from: The names on the right are only a suggestion; any custom event name works. Each event carries the paywall’s paywall_identifier, paywall_name, primary_product_id, and presented_by when Superwall provides them.
The mobile SDK records events only for a signed-in contact. Events from a user who hasn’t called Sequenzy.identify() yet wait on the device and are sent once they do, so a user who declines the paywall before signing up still gets the follow-up after they sign up. Users who never sign in can’t be emailed.
A decline is not a lost sale yet. Start the sequence with a delay of an hour or two, and exit it when saas.purchase or saas.trial_started arrives, so people who buy on their own don’t get the offer.

Things to know

  • No backfill. Superwall has no export Sequenzy can use, so existing subscribers update as their next event arrives (usually their next renewal). Sync Revenue is not available for Superwall
  • Sandbox is ignored. Sandbox events confirm the connection in Activity but never update contacts or revenue
  • Intervals are inferred from the length of the purchased period, or from words like monthly, annual, or 1y in the product ID when the period doesn’t tell (trials, introductory prices, unusual lengths). A purchase with no inferable interval counts toward ltv but not mrr
  • Switching from a legacy webhook. Superwall never converts legacy webhooks to V2, and legacy webhooks keep working, so you only need to switch if you want to. Sequenzy keeps one signing secret, so:
    1. In Superwall, check that the legacy webhook has no failed deliveries still waiting to retry. Once you reconnect, those retries are signed with the old secret and are rejected
    2. Add a V2 webhook with the same URL and reconnect Superwall in Sequenzy with its signing secret right away. V2 deliveries that fail before you reconnect are retried and arrive afterwards
    3. Delete the legacy webhook
    An event that reaches Sequenzy through both webhooks is recorded once
  • Connect one source per app. If RevenueCat already sends these purchases to Sequenzy, keep one of the two connected, or each purchase counts twice
  • One connection per workspace. Reconnecting replaces the signing secret
  • Contacts don’t move. If a subscription later resolves to a different contact (a changed email or a contact created afterwards with that externalId), the earlier contact keeps its mrr for that subscription. Call identify() and set the email before the first purchase to avoid this
  • Late deliveries never overwrite newer subscription state. A late purchase still counts toward ltv
  • Retries are safe. Superwall retries failed deliveries with the same event ID, and Sequenzy records each event once

Troubleshooting

Events are skipped with “No contact matched this Superwall user”

The user has no email attribute and no contact has their user ID as externalId. Call identify() and setUserAttributes after login, or set the contact’s externalId to the user ID you pass to Superwall. Anonymous users who never log in can’t be matched.

Deliveries fail with a signature error

The signing secret saved in Sequenzy doesn’t match the webhook in Superwall. Copy the secret from that webhook again and reconnect Superwall. Deliveries are also rejected when their signature is more than 5 minutes old, so check your server clock if you replay captured requests.

Nothing appears in Activity

Check that the webhook in Superwall points at the exact URL from the Sequenzy dialog, and that you tested with a sandbox or real purchase rather than a StoreKit configuration file.