Skip to main content
Solved

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


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
Did this post help you find an answer to your question?
This post has been closed for comments

3 replies

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 586 replies
  • Answer
  • April 6, 2023

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
  • 1 reply
  • April 11, 2023

Thanks @Haley Pace!


Forum|alt.badge.img+1
  • New Member
  • 4 replies
  • April 8, 2024

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings