Whop
Have each purchase, renewal, cancellation, refund, or dispute of your Whop create or complete the contact and trigger your flows.
If you sell your products on Whop, you connect by pasting a single key. In your Whop go to Dashboard → Developer → API keys and create an «Account API key» with the permissions the card shows you; paste it here and the platform tests it before saving it. We set up the sales notification in your Whop, using the address of the same domain you use to access your panel: you don't need to copy any address or secret.
With each sale, the buyer is searched among your contacts by email and phone. If they're already there, their file is completed with what's missing; if not, a new one is created. What Whop doesn't send in the notification—the email when it's a membership change, the phone, the next billing date—is requested from Whop at that moment. Whop's checkout doesn't have its own phone field: the phone arrives if you request it with a checkout question («Celular», «WhatsApp»), and it's read from their answer. If the last purchase came without a phone, the card tells you and explains how to add the question. The sale data (the product and variant by name, with their ids separate, the amount, the currency, the membership, the next billing date, and the reason) are saved in contact fields that start with integracion_whop_, for use in your messages.
Then you decide what triggers each thing: «when a purchase of this product arrives, run this flow». There are rules for the purchase (signup), renewal, failed payment, refund, dispute, membership activated, «will cancel at period end», membership cancellation, overdue, and «trial ends soon». Each rule works for any product, an entire product, or just one of its variants, which come from your Whop in the dropdown. What you archive in your Whop doesn't appear; if a rule was already using it, it stays, marked «(archived)». The flow you choose in a rule must start with the payment trigger and only runs for its rule: other payments in your account, from any gateway, don't launch it. It receives the same data as the payment trigger (the amount, currency, status, email, product…), so {{payload.amount}} works the same way. To name what they bought use {{payload.productoNombre}} and {{payload.varianteNombre}}: {{payload.producto}} and {{payload.variante}} are Whop's ids (prod_…, plan_…), not the names. What happened goes in {{payload.evento}} (PAGO_ALTA, REEMBOLSO, BAJA…), and the «What does this node return» panel on the trigger lists them all. Your other flows with payment trigger do get notified of each sale.
If Whop can't notify us for three days, it turns off the notification on its own and what happens while it's off won't be sent again. The platform checks it every few hours: if it finds it turned off or deleted, it turns it back on and brings from Whop the purchases and signups that were lost along the way. In that same check it verifies that Whop is still giving responses to the phone question in your checkout: if it stops giving them, the card tells you that purchase phone numbers have stopped arriving (purchases still come in, with the email).
What you can do
- Send a welcome message via WhatsApp as soon as someone buys, with the product name and amount.
- Have a different flow per product, or per variant (the monthly and yearly plan, for example).
- Write to someone who canceled before their period ends, to try to keep them.
- Remind someone who couldn't be charged to update their card.
- Alert a few days before the free trial ends.
An example
A community with monthly membership on Whop
- Create an account key in their Whop with the card's permissions and paste it here.
- Add a «Celular» question to their product in Whop, required («Configure advanced options» → «Ask questions before checkout»), so the checkout asks for the phone.
- Add a rule: purchase of their membership → welcome flow.
- Add another: will cancel at period end → flow that offers them to stay.
- Someone buys: their contact is created with the purchase data and they get the welcome message via WhatsApp.
Recommendations
- Make your Whop checkout ask for the phone with a «Celular» or «WhatsApp» question, required: in your Whop, open the product and, in each price option, go into «Configure advanced options» and enable «Ask questions before checkout». Without it there's no WhatsApp to write to. The sale comes in anyway, with the email.
- Set up rules also for failed payment and «will cancel at period end», not just for the purchase. That's where you recover money.
- If you sell multiple products, fine-tune each rule by product: each one with its own welcome message.
Watch out for this
- It doesn't grant or deny access to what you sell on Whop: Whop handles that. Here contacts are created and flows are triggered.
- A purchase brings two notifications: membership activation and payment. If you set a rule for each one, both run.
- A free product and a free trial also count as a purchase (of 0): they trigger the purchase rules.
- If you ask for the phone with a question, call it «Celular», «Teléfono», «WhatsApp» or «Móvil» so it's recognized, and have it request the country prefix (+57…): without it, WhatsApp doesn't know what country to write to.
- If the key doesn't have some of the permissions, the card says which one is missing and doesn't connect. If it loses it later, the card shows it in red.
- What's recovered after a cutoff is purchases and membership signups. A cancellation, a membership cancellation, or an overdue that happened with the notification off can't be recovered.
- The same Whop account can't be connected in two platform accounts. When you disconnect, the notification is removed from your Whop; the contacts and payments that already came in stay.
