We are currently building a subscription payment function.
I am using an external service API without using Stripe.
What I want to do is batch process the list of subscribed records in the database at the beginning of every month, but I can’t specify the list in the set a recurring event workflow thing.
You can not …using only the recurring event action…you can create a recursive workflow with the recurring event action to iterate over your list or if your list is not very big you can schedule an api workflow on a list but also in this case you need to create an api backend workflow using the recurring event action…hope it helps…have a great day:)
Step 1: Setup credit card payment API (for batch processing) as Endpoint
Step 2: Using Step 1, place a ScheduleAPI action in the leaking event to process the list of payments to be made at the beginning of each month using the API.
Step 3: Schedule the recurring event from Step 2 with a day one month after the current date when the button element placed on the administrator screen is clicked
The problem is that the API processing for the recurring event can be set up successfully for single data, but not for list data. (We think that if we specify the first item, etc. as a single format, we can set it up, but list processing is not possible.)
I am not sure if this is a problem with the Bubble plan or if the settings themselves need to be changed.
I think what you want to do might be achieved in a bit different way
Create a datatype for batch processing that has (scheduling date, and running date)
Create a database trigger in the backend when a new batch processing item is created (when before change was empty, and now is not empty) – in this database trigger you schedule your custom batch workflow
In the custom batch workflow, you can then update the batch item in the database with the actual run date (maybe you can save as well the number of items and other meta-data), and create a new batch scheduling after a month [[which will trigger the schedule api]]