Are you looking to automate a backup from iCloud directory to GDrive? If so you have a host of options based on your level of comfort and budget.
I use a cron to fire a shell script that runs a rsync job I’ve configured.
There are apps that can do this for as well like ChronoSync if you have GDrive mounted.
Wouldn’t be surprised if you could do it Automator but haven’t tried since rsync is pretty bulletproof.