How to upload files from a Telegram group to Google Drive without wasting too many operations on each message

Hello I have a problem with my scenario ( I’m a beginner at automation).
I want to be able to upload all files sent in a Telegram group directly to Google Drive without wasting operations. I’ve built the scenario, and it works, but the issue is that it triggers each time a new message arrives, consuming operations even if there are no files in the message (this is a group with a lot of discussion). So, I’ll quickly run out of operations. Is there a way for it to trigger only when a photo or video arrives? I tried setting it to run at regular intervals, but in that case, the scenario only processes one photo or video at a time, so if 50 photos come in needing upload, it creates a bottleneck. I hope I was clear, but I’d be happy to provide any additional details if needed. Thanks in advance!