Course creation and management system

I work for a non-profit that offers online classes. These classes all follow the same development process and I’m customizing the “Content Planning” template to meet our needs. I plan to use this thread to appeal to Monday.com experts (that’s you) as I proceed because I’m bound to run into problems.

So here is my first question.

Our organization offers come classes that meet only once and others which meet on a recurring basis for, say, four weeks. If each item is a class, then the others in a series can be sub-items. I have a field which includes the number of meetings for each class; it defaults to 1 but, for multi-class programs, I enter the total number of meetings.

I would like to automate the creation of the sub-items. So that, for example, when I create a class called “History” with a #Session value of 4, I want an automation to run.

The trigger would be #Session>1 and I understand how to create the automation. But, how do I make it run the right number of times? And, further, how do I make it modify the name of each subsequent session to include a number (“History 2/4”, " History 3/4" etc)?