When creating an Enroll user action in Zapier, you have the option to include an expiry date. Course expiry dates are important for any fixed time access or subscription renewals.
For fixed access, the expiry date can be set in terms of days. The student will be enrolled for the duration of the time specified. If you leave this section blank, students will have forever access. There are certain situations where you might enter ‘today’ as the date - particularly in cases where you are expiring a student’s enrollment immediately; for example: if you were to set up a Zap that triggered unenrollment upon refunds/cancellations or failed payments.
When it comes to subscription renewals, Zapier has a great feature for adjusting the date and time (Modifying Dates and Times). You can input human-readable text like "one month from today", or "two hours from now":
Or you can use combinations like getting the time of the order date:
and adding two hours:
This will take the date and time that the charge went through and add two hours (or whatever amount of time you want).
For subscription payments, you will want to set the expiry date for the intervals specified by payment, for example monthly or annually. When Zapier pulls the proceeding payments, the enrollment will be extended for the next payment period.