Ah, ok… now it makes more sense…
As I suspected, you definitely don’t want to schedule this workflow on a list from the front-end…
When you schedule a workflow to run on a list, you set that list at the time you schedule it, and that list will never change…
So you’ll need to run two backend workflows here - 1 to set the list to run on (from the API data) and the second one to create the Properties for each item on the list.
Although it is possible to use ‘Schedule API Workflow on a List’ for this, depending on the amount of data it might be more reliable to run a recursive workflow instead.
So I’d recommend you look into running a recursive workflow (there are plenty of posts about recursive workflow here in the forum for you to get some understanding from).
You’ll also probably want to use the List Popper plugin to handle this as well…
But basically, here’s a brief outline of what you’ll need to look into doing…
You’ll ned to have 2 backend workflows The first one will simply trigger the second one to run on the required data (i.e. the API data), and then schedule itself to run again 24 hours later.
The second one will need to be set up to receive all the data you need as lists from the first one, then it will create a new Property in the DB with the first item from each list, then schedule itself to run again, passing on the same lists minus the first item from each (this is where you’ll want the list-popper plugin), and continue to run until the lists are empty (you’ll need to set a conditional to manage this).
Then you’ll need to set the whole thing off initially by scheduling the first workflow from the front end to run at the desired time (i.e. midnight) (you can create a temporary system/admin page for this).
It can take a bit of time getting to grips with understanding recursive workflows and how to use them correctly, so it’s worth spending some time making sure you understand the basics to ensure you’re doing it correctly and don’t tun into problems.
As I mentioned above, you could also try this with Schedule API Workflow on a list, and run the second workflow on the list from the first one - but it might not be so reliable, especially if the list you’re running it on is very large (if not then it might work fine).