@eenerellehcim I know of few ways. If you know groovy , you can try
writing scripts using groovy .. In cloud I have never tried running
groovy , but I saw few post which might help you with that incase you
get stuck
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/groovy-console-in-aem-as-a-cloud/m-p/402675You
can also write a dummy servlet . (When I say script don't confuse it
with Javascript, these can be plain Java code too, just to run some
onetime chore) . In the se...