The moment it happens
Pull details out of PDFs and photos
Send a document link and get back the fields you asked for, with personal ID numbers masked.
- Runs
- The moment it happens
- Apps
- Anthropic API
- AI
- Not needed
- Access
- API key
Send this to your assistant
Create a ClickRuntime automation: when I post a PDF link to this webhook, extract the applicant's name, income and employer, score their loan eligibility from 1 to 5, mask any ID numbers, and email me the result.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Teams receive documents that need reading before anything else can happen: supplier invoices, signed forms, receipts, ID photos, damaged-goods pictures sent by a customer. Typing the contents into a system is slow and error-prone, and traditional OCR struggles with varied layouts, handwriting and photos taken at an angle. A claims handler or an accounts clerk spends part of every day squinting at attachments and copying numbers into a spreadsheet, and mistakes are only found when a payment goes to the wrong amount.
When a file link arrives, the automation downloads the file and sends it to the Anthropic API as a document or image content block along with your instructions. Claude reads it and returns the fields you asked for, such as vendor, total and due date, or a verdict like undamaged or damaged. The result is emailed to you.
Finance teams, claims and support staff, and anyone who handles incoming paperwork or photos can use the same pattern with different instructions.
What you get out of it
Data entry from documents falls sharply
Reading an invoice or a form and extracting the fields takes seconds, so staff check the result instead of typing it, and a day's backlog clears in minutes. A person still reviews the result, but the typing is gone.
Varied layouts are handled
Claude reads documents by understanding them, not by matching fixed positions. Invoices from new suppliers or handwritten notes do not need a new template before they can be processed. New suppliers do not slow you down.
Photos can be assessed on the spot
A customer's picture of a damaged parcel can be checked against your criteria straight away, so the claim is categorized and answered in minutes, not the next working day. Customers get a quicker answer.
Structured output feeds other tools
Because the answer comes back as clear fields, it can go straight into a spreadsheet, accounting tool or database with no retyping, and mistakes from manual entry disappear. It also shortens the path from paperwork to payment.
A consistent standard for every document
The same instructions are applied to every file, so a verdict does not depend on who was on shift. That helps with audits and with explaining decisions to customers. That makes outcomes easier to defend.
How it works
What happens, step by step
When you send a document link, such as a loan application PDF, to your personal ClickRuntime link, the automation starts straight away.
Claude reads the document and pulls out the applicant's name, income and employer.
Claude also scores loan eligibility from 1 to 5 and explains why.
Long ID numbers are masked so only the last four digits show, and the results are emailed to you.
Before it runs live
- Connect Anthropic API
- Paste your automation's link into the other app's webhook settings
What you get
Build your own
Need it to work differently?
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.
Changes you can ask for
- Act only on the items that match your own rules, and skip the rest
- Add an AI step, for example to summarize, sort or draft a reply
- Add another app, for example also send it to Slack
- Combine it with other Anthropic API steps into one automation
Under the hood
The code that runs this automation
import json, re
from clickruntime import on_event, credentials, notify, http
def claude(model, prompt, **extra):
resp = http.post("https://api.anthropic.com/v1/messages",
headers={"x-api-key": credentials.secret("ANTHROPIC_API_KEY"), "anthropic-version": "2023-06-01"},
json={"model": model, "max_tokens": 1024, "messages": [{"role": "user", "content": prompt}], **extra},
timeout=120)
resp.raise_for_status()
return resp.json()
@on_event
def handle(event):
url = (event.json or {})["url"]
msg = claude("claude-sonnet-5-5", [
{"type": "document", "source": {"type": "url", "url": url}},
{"type": "text", "text": "Extract the applicant's name, income and employer, and score loan eligibility "
"1-5. Reply with JSON only: {\"name\", \"income\", \"employer\", \"score\", \"reason\"}."},
])
result = json.loads(msg["content"][0]["text"])
body = re.sub(r"\b\d{6,}\b", lambda m: "*" * (len(m[0]) - 4) + m[0][-4:], json.dumps(result, indent=2))
notify.email_me(f"Loan application: {result['name']} scored {result['score']}/5", body)
return {"score": result["score"]}FAQ
Common questions
Which file types can it read?
Does this need my own Anthropic API key?
How do I know the extracted figures are right?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
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 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 worksKeep exploring
Set up “Pull details out of PDFs and photos” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.