IntegrationIAP + subscription events
Connect RevenueCat to start branded emails when someone buys, renews, cancels, or hits a billing issue in your app. Brew supports 11 RevenueCat lifecycle events, and the same flow can serve App Store, Google Play, Amazon, Stripe, and Web Billing subscribers.
RevenueCat and the stores remain responsible for purchases, renewals, refunds, and entitlements. Brew creates and sends the emails.
CANCELLATION can mean a cancelled subscription or a refund, and it does not by itself mean access has ended. EXPIRATION is the event that says access ended. SUBSCRIPTION_PAUSED only schedules a future pause.
Use CANCELLATION for win-back or exit-survey emails, and EXPIRATION for anything that assumes access is gone. An UNCANCELLATION does not stop a cancellation run that has already started, so check revenuecat_cancel_at_period_end in a condition before each later email.
Filter on environment to keep SANDBOX events out of live automations.
Brew supports these 11 event types:
Brew reads the recipient from the $email subscriber attribute first, then accepts an email-shaped app user ID, original app user ID, or alias as a fallback. RevenueCat aliases are app-user-ID history, so set $email explicitly rather than relying on them. Without a real address in any of these fields, Brew records the event as unresolved, creates no contact, and starts no automation.
Each verified event with a real email address creates or updates a Brew contact, matched by email, whether or not an automation uses the event. When the data is present, Brew sets revenuecat_app_user_id, revenuecat_store, revenuecat_environment, revenuecat_country, and revenuecat_phone. Custom subscriber attributes land as revenuecat_metadata_<key>.
revenuecat_subscription_status uses Stripe's values. INITIAL_PURCHASE, RENEWAL, UNCANCELLATION, PRODUCT_CHANGE, and SUBSCRIPTION_EXTENDED set active, or trialing during a trial. CANCELLATION keeps the status active, or trialing, and sets revenuecat_cancel_at_period_end to true, because access lasts until the period ends. UNCANCELLATION sets it back to false. EXPIRATION sets canceled, BILLING_ISSUE sets past_due, and SUBSCRIPTION_PAUSED sets paused. A one-time NON_RENEWING_PURCHASE sets no status.
Brew also stores revenuecat_subscription_plan, revenuecat_pending_plan, revenuecat_entitlements, revenuecat_subscription_started_at, revenuecat_renews_at, revenuecat_trial_ends_at, revenuecat_subscription_canceled_at, revenuecat_last_purchase_at, revenuecat_plan_amount_cents, revenuecat_currency, revenuecat_cancel_reason, and revenuecat_expiration_reason when the event supplies them. revenuecat_plan_amount_cents is in the smallest unit of revenuecat_currency, a lower-case ISO 4217 code such as usd.
Use the selected event's declared payload schema for merge tags. Every event includes email, productId, priceUsd, pricePurchaseCurrency, currency, store, environment, and createdAt when present, and can add periodType, expirationAt, entitlementIds, and countryCode. priceUsd is the USD price, and pricePurchaseCurrency is the price in the currency named by currency. RevenueCat payloads give Brew no first or last name.
store is passed through from RevenueCat, such as APP_STORE or PLAY_STORE, and RevenueCat can add new values. Match on the values you care about.
A purchase does not establish consent for marketing email. Record consent separately and check it before promotional sends.
RevenueCat sends TRANSFER with app user IDs but no recipient email. Brew records it as unresolved and starts no automation.
Receiving an event and sending an email are separate steps. Confirm a matching automation is Live, then check its filters, execution history, recipient eligibility, and sending domain. A TEST delivery never starts an automation. Check $email first when a recipient is unresolved; Brew also accepts email-shaped app user IDs, original app user IDs, and aliases.
7-day free trial. Card required, cancel any time.