Cloudflare offers many unrelated products, so begin by naming the one you need. For automation, the usual choices are the account and zone API (DNS records, cache purges, firewall rules, analytics) and Browser Run (formerly called Browser Rendering). Browser Run runs a headless browser on Cloudflare's network and returns the result. Its Quick Actions are single HTTP requests for common jobs: fetching rendered HTML, taking a screenshot, generating a PDF, converting a page to Markdown, scraping elements, extracting structured data, listing links, and crawling a site. A brief that just says "use Cloudflare" is too vague.
Browser Run is useful when an ordinary HTTP request is not enough because the page builds its content with JavaScript. A weekly PDF of a public pricing page, a screenshot of your own status page after each deploy, or a Markdown copy of a competitor's changelog for review all fit. Each call uses browser time on your account. On Workers Free, the allowance is 10 minutes of browser time a day and one Quick Action request every 10 seconds. Workers Paid has no daily cap and allows far more requests per second, and browser time is billed. Check the limits page before scheduling hundreds of captures.
Use an API token. Cloudflare calls the Global API Key legacy and says it has limitations that make it less secure. A token is given Read or Edit permissions per group and is limited to the resources you select, so a DNS token for one zone gets errors on every other zone. You can also restrict it by client IP and give it a time to live. Account API tokens are service tokens that are not tied to a person. Calls are addressed by account ID or zone ID, so record those in setup.
Treat changes to infrastructure with care. A workflow that creates DNS records should check whether the record already exists, because adding the same name twice gives a different result from updating it. When rendering other people's sites, follow their terms. On the free plan, the 429 error "Browser time limit exceeded for today" lasts until the next UTC day, so a failed capture late in the day will not succeed if retried straight away.