Sync Easystorage subscription to Chargebee

Developer ToolAPI IntegrationMarketingRecipe Tools

What it does

When a subscription is created via webhook, this automation retrieves the subscription details and checks the subscription date. If the date matches today, it creates a coupon in Chargebee and updates the subscription.

Who it's for

Finance teams who need to automatically apply coupons to Easystorage subscriptions created on specific dates.

How teams use this

Apply coupons to same-day subscriptions

When a subscription is created today, automatically generate and attach a coupon in Chargebee without manual intervention. The team sees the coupon applied immediately in Chargebee.

Route coupons by subscription source

Filter the condition to check the subscription source or plan type before creating the coupon. Only subscriptions from certain channels or tiers trigger the coupon creation.

Log coupon creation for audits

Add a step to log each coupon created to a central audit trail so the team can track which subscriptions received coupons and when. This keeps records for compliance.

How it works

  1. Receive subscription created event. A subscription is created and sent to this automation via webhook in real time, providing all the details needed to process the new subscription.
  2. Retrieve subscription details. Fetch the full subscription record via Rest API so the automation has all the information needed to process and validate the subscription.
  3. Check if subscription date is today. Compare the subscription date to today's date. If they match, the next step runs. If not, the automation stops and no coupon is created.
  4. Create coupon in Chargebee. Generate a new coupon record in Chargebee for the subscription so the customer receives the promotional discount immediately upon creation.
  5. Update subscription with coupon. Send the coupon details back via Rest API to update the subscription record with the newly created coupon information.