Skip to main content

Schedule and subscriptions

Run flows on a recurring schedule, or when a subscription to your application is created, changed or deleted.

Schedule​

Runs on a recurring schedule (cron), in the bot's timezone.

Settings

NameTypeRequiredDetails
Cron expressionTextYesStandard cron expression (5 fields, e.g. "0 9 * * 1"). A schedule may not run more often than every 5 minutes. Length: 9 to 100 characters. Default: 0 9 * * 1.
TimezoneTextNoNo longer used: schedules always run in the bot's timezone.

Provided values

NameTypeDetails
Fired atDate and timeWhen the schedule fired.

Subscription created​

Triggered when a user starts a new subscription to one of the application's SKUs.

Outputs

NameTypeDetails
SubscriptionSubscriptionThe newly created subscription.

Subscription updated​

Triggered when a subscription changes (e.g. status, period, renewal SKUs).

Outputs

NameTypeDetails
Previous SubscriptionSubscriptionThe subscription as it was before the update. May be empty.
Current SubscriptionSubscriptionThe subscription after the update.

Subscription deleted​

Triggered when a subscription is deleted.

Outputs

NameTypeDetails
SubscriptionSubscriptionThe deleted subscription.
Need more help?
Can't find what you're looking for? Our team is happy to help.