You are helping me build the following AI agent workflow. ## Goal Clinical Trial E-Consent Compliance: Automates clinical trial e-consent by validating submissions against ICH guidelines via Claude. ## Specification - What it does: You receive immediate confirmation emails when your clinical trial e-consent submissions pass validation against ICH guidelines via Claude. The system automatically stores these records in Google Sheets with a full audit trail while running daily checks to alert you of any expiring consents. - Trigger: Triggered by an event (Webhook · on new consent submission; Scheduled · daily expiry check) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - Anthropic Chat Model: Compliance review against ICH E6 GCP guidelines - Google Sheets: Storing immutable consent records and audit trails - Send Email: Notifying investigators and participants ## Known pitfalls, handle each one explicitly in your implementation 1. PII leakage is a critical risk so ensure all patient identifiers are masked or tokenized before sending data to the LLM provider. 2. Google Sheets has row limits and API quotas so archive older records to a data warehouse rather than keeping everything in the active sheet. ## Reference implementation https://n8n.io/workflows/10492 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/automate-clinical-trial-e-consent-compliance/ via usecasesforagents.com