Automatically creating number of subitems based on a number column of the item

I have a customer who has a SFDC integration setup. The data is populating to the item, but they have a number of products for each item they’d like to add as subitems. SFDC can push the # of Products data into the item, but from there, how could I create an automation to create the number of subitems that are represented in the “# of Products” column of the item?