Is there a way to automate canva?

Ah, I think you’re talking about using the Canva Brand Templates and Autofill capability.

Canva has restricted this in the API to the Canva Enterprise plan only. It’s not available on lower plans.

There’s more details on this (including workarounds) in an earlier post of mine.