HOTS, Alani Nu # code
Alani Nu Balance Trial Campaign
Designed a subscription cancellation flow for Alani Nu's Balance Trial Campaign.
Introduction
This project scope is for the HOTS agency’s Balance Trial Campaign for Alani Nu. We’re building the flow for when a customer wants to cancel their subscription. There are two parts to this project: the “forgot email” flow and the subscription cancellation.
Forgot Email Flow
- Add “Forgot Email” under the email field on Cancellation Page.
- When “Forgot Email” is pressed, toggle a name, phone number & address field.
- Send an email with gathered information or log the data to a database.
Subscription Cancellation
When a customer wants to cancel their subscription, we’ll need to make the following requests to the ReCharge API:
- Get a customer ID using email
- Get a list subscriptions attached to their id
- Find the subscription ID
- Cancel the subscription
Coded Assets
- Forgot Email Funnel
- Landing page form requests
- Proxy for accepting/sending requests (AWS API Gateway or Proxy REST API)
Timeline & Steps
- Confirm API’s work together
- Create a proxy (through AWS API Gateway or a customer REST API)
- Run requests through this proxy to avoid the CORS Error and keep your API tokens/keys safe