Clinical trial intake automation
Screen inbound trial inquiries against your eligibility criteria, assemble the candidate packet from the referral, and route qualified inquiries to the right coordinator with the criteria that matched. The determination stays with your staff.
Trigger
A referral or patient inquiry arrives for a recruiting study.
Required tools & APIs
FHIR API or EHR export for patient data · Postgres for protocols and criteria · Claude API for packet assembly · Slack or email for coordinator routing
Built for
Healthcare
Time-to-value (typical)
About 1 to 2 weeks
Build size
Project
How the agents hand off work
Each step names the agent, what it does, and where the work goes next.
Intake
Log the inquiry: study, referral source, received time, consent status on file.
Hands the record to the Screener.
Screener
Check the referral against the protocol’s inclusion and exclusion criteria, citing which criteria matched or failed.
Hands the criteria trace to the Packet builder.
Packet builder
Assemble the candidate packet: referral, relevant history, criteria trace, missing items list.
Hands the packet to the Coordinator queue.
Router
Route to the study coordinator with the criteria trace visible; qualified, unclear and excluded each take their own path.
Coordinator makes the enrollment determination; the agent never decides.
Copy the recipe
The SKILL.md runs as-is in Claude Code, OpenCode or Cursor. The workflow JSON is a portable spec that maps onto n8n, Make or Zapier style tools.
---
name: trial-intake-screening
description: Screen trial inquiries against protocol criteria and assemble coordinator packets, citing which criteria matched or failed. Determinations stay with staff.
---
# Clinical Trial Intake Automation
## When to use
- Inquiries arrive faster than coordinators can screen them.
- Packets get assembled inconsistently depending on who picks up the referral.
## Inputs
- Protocol with inclusion and exclusion criteria, structured (required, from the study record).
- Referral document or structured inquiry (required).
- Consent status on file (required; inquiries without consent stop at intake).
## Process
1. Log the inquiry with study, source, timestamp and consent status. No consent means stop here.
2. Check each criterion against the referral, citing the source text for every match and every fail.
3. Classify: qualifies for coordinator review, unclear on one or more criteria, or excluded with the failing criterion named.
4. Assemble the packet: referral, relevant history, criteria trace, and the list of items still missing.
5. Route to the study coordinator with the trace visible. The agent never makes the enrollment determination.
## Outputs
- Coordinator packet with criteria trace and missing-items list.
- Routing: qualified queue, unclear queue, or excluded with reason.
## Tools and integrations
- FHIR API or EHR export: patient data, read-only.
- Postgres: protocol criteria and inquiry log.
- Claude API: criteria comparison with quoted source text.
- Slack or email: coordinator routing.
## Guardrails
- The agent never makes an enrollment or eligibility determination. It prepares; staff decide.
- No inquiry without documented consent proceeds past intake.
- Criteria traces must cite the protocol text for every conclusion; no conclusion without a citation.
- Patient data stays in the packet store; it never appears in Slack message bodies.
## Examples
- "Referral for study X, criteria all met on paper." -> packet in the qualified queue with the trace attached.
- "Referral missing lab values for criterion 4." -> unclear queue with the missing item named.Locked: the deeper blueprint
Architecture, guardrails, metrics worth watching and the failure modes that break first. Unlock it with your email and we will send the blueprint with the recipe link.
One email per unlock. Unsubscribe by replying to any message.
More Operations recipes for Healthcare
Browse all →Prior authorization packet assembly
Assemble prior authorization packets from the chart: required forms per payer, the documentation checklist, and what is still missing before submission. Staff submit; the agent makes sure nothing is missing when they do.
Client onboarding kickoff
From signed contract to first working session: collect the intake answers, provision the shared spaces, draft the kickoff agenda from the scope, and chase the missing pieces. One owner, one checklist, no dropped balls.
Meetings to decisions and action items
Turn each meeting recording into three things people actually use: the decisions made, the action items with owners and dates, and the open questions. Posted where the work happens, not buried in a transcript.
Want this built for real?
This recipe shows the shape of the work. Turning it into a running system with your data, your tools and review gates is what we build. If this bottleneck is one you live with, book a call and we will scope it.