Quick overview
Quick overview This workflow receives medical information questions via webhook, uses Anthropic Claude to classify topic/urgency/complexity and detect potential safety signals, retrieves content from an approved knowledge base to draft sourced replies, then either emails a response or escalates via case creation and Slack, while logging outcomes for compliance. How it works Receives an incoming medical information request via a POST webhook with the question, requester details, and product name. Uses Anthropic Claude to classify the request’s topic, urgency, and complexity and to flag any potential adverse event or safety signal. If a safety signal is flagged (or classification parsing fails), creates an urgent Pharmacovigilance case via an HTTP API and sends an immediate alert to the Drug Safety Slack channel. Otherwise, searches an approved medical-information knowledge base via HTTP, evaluates source coverage, and uses Anthropic Claude to draft a response strictly from the retrieved sources with citations. Determines whether the request can be auto-answered (Standard complexity, Routine urgency, sufficient coverage, and a complete draft) and selects the appropriate Medical Information team/channel based on the topic. Emails the sourced answer to the requester for auto-answerable requests, or creates an escalated Medical Information case via HTTP and posts an alert to the routed team’s Slack channel. Logs the request, classification, routing outcome, and related data to a compliance log via an HTTP API. Setup Add an Anthropic credential for the Claude chat model used for classification and response drafting. Configure HTTP header authentication credentials for your approved knowledge base API, safety/pharmacovigilance case system API, medical-information case system API, and compliance log API. Add Slack credentials and ensure the configured channels exist (for example #drug-safety and your Medical Information team channels). Add SMTP/email credentials and set the sender address, then update the default config values (API URLs, routing map JSON, and channels) in the configuration step. Copy the webhook URL from n8n and configure your intake form or upstream system to send POST requests to the webhook path with the expected fields (question, requesterName, requesterEmail, requesterType, productName). An n8n automation workflow template by Oneclick AI Squad.
Oneclick AI Squad
web
free
Others in the same category, ranked by how often they are opened.