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
Compare answers from two Anthropic models
One question goes to two models you pick, and you get both answers plus a third that reconciles them, by email.
See how it worksGet a cited research brief every morning
Each weekday you get a few bullet points on what changed in your topic, each with a source link, and nothing you've already seen.
See how it worksPull details out of PDFs and photos
Send a document link and get back the fields you asked for, with personal ID numbers masked.
See how it worksGet warned when API spend runs high
If yesterday's Anthropic API cost went over your limit, you get an email showing which workspace spent it.
See how it worksGet a weekly token report by model
Every Monday you see how many tokens each model and each API key used, next to the week before.
See how it worksGet a daily digest of your feeds
Each morning, new posts from the sites you follow arrive as one short summary, written by the model you chose.
See how it works Your own logicAny other automation you can describe in words
Your own rules, schedule and AI steps with Anthropic API, plus any other app. Describe it and your assistant builds it.
See how to build your ownBuild your own
Build any Anthropic API automation you can describe
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
Instant
Compare answers from two Anthropic modelsThe moment it happens
On a schedule
Get a cited research brief every morningDaily
Instant
Pull details out of PDFs and photosThe moment it happens
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
- Sign in to the Anthropic Console and open Settings, then API Keys.
- Click Create Key, pick the workspace it belongs to, and set an expiry if you want one.
- For spend or token-usage reports, ask an organisation admin for an Admin API key instead of a normal key.
- 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?
Who pays for the requests?
Can an automation report on our API spending?
What happens if my key expires?
Does the Anthropic API send events to ClickRuntime?
Is this a Anthropic API connector for ChatGPT or Claude?
Related pages
Keep exploring
Tell your assistant what Anthropic API should do
Free plan. No credit card.