I have a script for license removal that I validate the last seen of the user, when the user has no activity for more than x days I make a rest api request to remove the user from a group (default group of licenses, for example confluence-users).
But when I'm going to run this script, I need to export the CSV manually, put it in my specific folder and trigg my script manually.
My desire/project is to create a service for this automation to run once, twice a week without manual intervention.