Skip to main content
Solved

What's the best approach to send email to users with an upcoming renewal?

  • Apr 2, 2023 6:01 PM UTC
  • 3 replies
  • 822 views

Forum|alt.badge.img+1

Hi,

 

We would like to send an email and push notifications to users which are on our yearly plan and have an upcoming renewal in 7 days. We would like to avoid users who have opted-out for renewal and/or are on a monthly plan. 

I was thinking of the approach below, but I’m wondering if it’s the best way to do it:

  • Use webhooks from RevenueCat
  • When we receive RENEWAL or INITIATE_PURCHASE (with period=NORMAL to avoid free trial users), we schedule the sending of email/notification based on the parameter expiration_at_ms
  • If we receive CANCELLATION with reason = UNSUBSCRIBE, we cancel the schedule for this user => not sure if we will receive this when the user opt-out for renewal or at the end of the subscription period

What do you think of this? Is there a better approach?

 

Thanks!

 

 

 

 

Best answer by Haley Pace

This approach sounds good! You will receive CANCELLATION events when the user opts-out of renewal, not when the user’s subscription ends.

View original
This post has been closed for comments

3 replies

Forum|alt.badge.img+8
  • RevenueCat Staff
  • Answer
  • Apr 6, 2023 7:29 PM UTC

This approach sounds good! You will receive CANCELLATION events when the user opts-out of renewal, not when the user’s subscription ends.


Forum|alt.badge.img+1
  • Author
  • New Member
  • Apr 11, 2023 9:10 AM UTC

Thanks @Haley Pace!


Forum|alt.badge.img+3
  • New Member
  • Apr 8, 2024 7:05 PM UTC

@Florian Hi Florian, were you able to do this? Would appreciate a little guidance.