Skip to content

Automate Anthropic API

Call the Anthropic API from automations that need a particular model or a feature of its own: side-by-side answers from two models, web-searched research briefs with citations, reading PDFs and photos, and daily checks on what your organisation spends. Requests go out under your own key, so they use your Anthropic credits and your rate limits. Tell your AI assistant what you want, review the plan it shows you, and it keeps running on schedule.

Try asking

Create a ClickRuntime automation: give me a link I can post questions to. Send each question to two Anthropic models using my Anthropic API key, have the larger model reconcile the two answers, and email me all three with the token cost of each.

Paste it into your assistant. It tells you what it will send or change before it runs live.

Ideas

What you can automate in Anthropic API

Research briefs with sources, fields pulled out of scanned documents, model answers compared on one question, and a warning when API spend runs higher than you planned. These are ready-made starting points. Anything else you can describe works too.

Build your own

Build any Anthropic API automation you can describe

The ideas above are ready-made starting points, not a fixed list. Describe what Anthropic API should do in your own words, with your conditions, other apps or an AI step, and your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

For example, ask your assistant

Every morning, pull the top stories from a few RSS feeds and use the Anthropic API to write me a one-paragraph briefing on each.

When a new row is added to my Google Sheet, use the Anthropic API to write a product description and fill it into the next column.

When a support email arrives in Gmail, have the Anthropic API classify it and draft a reply, then log both in Airtable.

Beyond chat

Have Anthropic API work when you're not in the chat

Connecting Anthropic API to ChatGPT or Claude lets you ask about it while you chat. ClickRuntime handles the part that should happen on its own: checks on a schedule and actions on each new event, set up from the same chat and running after you close it.

Setup

Connect Anthropic API

ClickRuntime talks to the Anthropic API with a key you create in the Anthropic Console. Cost and usage reports need an Admin API key, which only an organisation admin can create.

Anthropic API

AI / LLM

  1. Sign in to the Anthropic Console and open Settings, then API Keys.
  2. Click Create Key, pick the workspace it belongs to, and set an expiry if you want one.
  3. For spend or token-usage reports, ask an organisation admin for an Admin API key instead of a normal key.
  4. In the ClickRuntime dashboard, open Connections & secrets and save the key as a secret.

Good to know

Anthropic API limits that affect automations

  • Your usage tier sets both the rate limit and the spend limit, so a busy automation can hit either one.
  • Each key belongs to a single workspace. Keys that cover several workspaces also need a workspace ID sent with each request.
  • Keys can be given an expiry date. When a key expires, automations using it stop until you save a new one.
  • Cost and usage reports only accept an Admin API key, and cost data is daily, so checking more than once a day adds nothing.
  • Web search is charged per search, on top of the tokens the request uses.

FAQ

Questions about automating Anthropic API

Why bring my own Anthropic key when ClickRuntime already includes AI?
For most summaries and drafts you don't need one: AI comes with every ClickRuntime plan and needs no key. Add your Anthropic API key when you want to choose specific models, use web search, or send PDFs and images, which the built-in AI does not do.
Who pays for the requests?
You do, through your Anthropic account. Every call made with your key counts against your credits and your usage tier's limits.
Can an automation report on our API spending?
Yes, with an Admin API key from an organisation admin. It can read the daily cost report and token usage by model and by key, then email you a summary or a warning.
What happens if my key expires?
Calls start failing with an authentication error. Create a new key in the Anthropic Console and replace the secret in Connections & secrets; the automations pick it up on their next run.
Does the Anthropic API send events to ClickRuntime?
No. Automations either run on a schedule or start when something posts to a link ClickRuntime gives you, then call the API from there.
Is this a Anthropic API connector for ChatGPT or Claude?
Not for chatting with Anthropic API data. A chat connector lets your assistant read and change Anthropic API while you're in the conversation. ClickRuntime is for the work that should happen without you: you set up an automation from the chat once, and it keeps running on a schedule or on each Anthropic API event.

Tell your assistant what Anthropic API should do

Free plan. No credit card.