I think I have it working but will need several days to pass to verify it is properly rescheduling itself each day.
I found this very unintuitive and confusing, but you need 3 distinct pieces:
- Create a “API workflow” Backend Workflow
- Create a “Recurring Event” Backend Workflow
- Create a normal button (on any page) that will eventually trigger the start/end of the scheduling
1) “API workflow” Backend Workflow
This will contain whatever “action” steps you would have if you were triggering the API one item at a time with one change: the “Thing to change” in each step will come from the “Workflow Data Sources” section at the top of the dropdown selector boxes.
You have to set this up in the API Workflow’s options.
When you create the API Workflow, the default should have “Manual definition” selected from the “Parameter definition” dropdown. Below that you can “Add a new parameter”. This just creates the variable your list of Things will get passed to.
Add a “Key” name that meaningful to you (in my case, I used “transaction”) and associate it to the correct “Type” of Thing you are going to tack action on.
For each action you take in this workflow, you want to reference this variable. Ex: “transaction’s Payment Amount” as a value I’m sending to Stripe, where “transaction” is the variable name/Key from above.
2) Once you workflow is done, create a “Recurring Event” Backend Workflow
Use the same “Type of thing” you used for the Key’s Type in the API Workflow (Transaction for me)
This workflow has a single action: “Schedule API Workflow on a list”
Here again, you specify a “Type of thing” (same as before)
Then you define the logic for putting together the actual list that will run through your scheduled actions via the “List to run on” field. I defined a search here the same way I’d do so in cases where I might run this sequence of events on a single Thing.
Set the API workflow to the one you created in step 1.
This should reveal the Key you setup in that workflow (“transaction” for me) with a field where you just select the top entry (which should say something like “This Transaction”.
Set the “Scheduled date” as the current date/time. I’m not sure what changing this actually impacts, as we are going to schedule this to run at a specific day/time in the next step.
3) Create a normal button (on any page) that will eventually trigger the start/end of the scheduling
Now, create a button anywhere in your app that will run a one item workflow.
In the workflow just add the “Set/cancel a recurring event” action.
Select your recurring event from the dropdown.
For “Workflow thing” you can allegedly put anything, as the actual ‘Thing’ your API Workflow will run on is defined elsewhere. However, you have to define something or it won’t work. So I just ‘did a search for’ all Transactions and added “:random item” to the end.
“Frequency” is where you actually set how often your Backend Workflow will run. I selected “Daily”. This is where you can fine-tune the timing (for example, if you only want to run it at 2am, you’d set “current date/time change hours to 2” (or something similar).
NOTE: this is also how you cancel a previously scheduled Backend Workflow. To cancel one, you set the frequency to “None”. So I have two buttons that run nearly identical workflows: one with the frequency set to “daily” and another with it set to “none” so I have the ability to cancel things if there is some sort of issue.
I’ll update this is I learn things aren’t working as expected with this setup.
Hope it helps someone else.






