Create an API workflow that will accomplish what you want to do for each item. As an example, let’s say I want to make changes to every User in the database. I have their First Name and Last Name, but not their Full Name. I would create an API workflow that would contain a User. The action within this would be to make a change to that User.
Create a blank test page. Add a button. Attach a “schedule API workflow on a list” action to that button when it’s clicked. Continuing my example above, I’d select the API workflow I just created and search for the List of Users I want to change.
IMPORTANT STEPS
When scheduling an API Workflow on a list, make sure you start it about 5 minutes after the current date. This way, your 10,000 items can be scheduled before workflows actually begin
Depending on how extensive your actions are in the API Workflow, set an interval of at least 5 seconds. This means in 1 minute, 12 items will be updated. This means all of your items will be complete in approx. 10,000/12/60 = 14 hours. This step is important. You don’t want your site to crash so spacing out your workflows is the best solution.
The piece I am missing here is that i want to perform a different action for each item.
In my case, I want to add the UPC of each 10,000 item based on their item ID that is already in the database.
And what I have right now is an excel with items IDs and corresponding UPCs.
It is a different ID i created but i could use the unique id as well.
Basically I have an excel with 3 colums: unique id / item id / upc
And in the database the upc is empty and i want to populate it with each unique value from the excel.
Create a new database table we will call “New Item”. The 3 fields should be “Unique ID”, “Item ID”, and “UPC”. Download your excel into a csv file. Then upload this into “New Item”. *We’ll refer to the Unique ID’s type as “Old Item”.
Create an API workflow that holds “New Item”. The action should be to make changes to “New Item’s Old Item”. Now, Old Item’s UPC should be changes to “New Item’s UPC”.
Create a blank test page. Add a button. Attach a “schedule API workflow on a list” action to that button when it’s clicked. The list to be scheduled is the entire list of “New Items”
Click the button. Make sure you’re in the development site if your database items are in the development database or in the live site if your database items are in the live database.
This is the best I can explain it. Lmk if you have questions.
Please make sure you set the interval to at least 5 seconds and just for safety, schedule the start of the API workflow to the current time + 10 minutes or something like that. 10,000 items is a lot!