Adding multiple domains via automation


I’m trying to use this guide:

I cannot get either method to work for me. I get a malformed json error with the first method and I can’t even get flarectl installed for the second method. Using Ubuntu. Trying to add 38 domains to cloudflare.

Please help!