Hey @ryanck,
Here’s what you need to do:
-
Go to Settings > API > Turn on POST workflows
-
Go to your page selection dropdown and at the bottom you’ll now see “API Workflows”
-
Create a new endpoint. Name it “change_status”. Add a key: Subscriber = User. “Subscriber” is just a label you’re giving your key and “User” is the data type for this key. We’ll use this to be able to schedule the workflow for a particular user. Create the workflow: Make a change to thing, thing to change = Subscriber > status = no.
-
Then, go to the workflow where the user subscribes. Add an action “Custom Events > Schedule API workflow” > Subscriber = Current User > Scheduled Date = Current Date/Time (+days) 14
Now, when a user subscribes, the API workflow will be scheduled to change the status to “no” after 14 days. Hope this helps!
Gaby | Coaching Bubble