Overview
Batch Medication Inquiry simplifies the process of researching multiple medications by automatically extracting drug names from a single input and processing them in batch. Instead of searching each medication individually, the workflow validates user intent, retrieves reliable information via search API, and generates clear, easy-to-understand summaries using AI—saving time while improving efficiency and user experience.
Who This Is For
- Patients & caregivers who want to quickly understand the purpose of multiple prescribed medications.
- Pharmacy students & pharmacists who need fast reference and comparison of drug uses
- Healthcare professionals seeking quick summaries during consultations
- Health information seekers researching common medications
How It Works
- Intelligent Input Analysis
- An LLM analyzes the user’s input to determine whether it’s related to medication effects and extracts all drug names into a standardized list.
- Intent Validation
- If the input is unrelated to medication queries, the workflow returns a predefined response and stops. Otherwise, it proceeds.
- Batch Processing with Loop Node
- The workflow iterates through each medication in the extracted list automatically.
- Search & Data Extraction
- For each drug, it sends an HTTP request to the Tavily Search API and extracts key fields such as title and content.
- AI-Powered Summarization
- The retrieved information is passed to an LLM, which generates a clear, natural-language summary of each medication’s uses and effects.
What You'll Need
Before using this template, make sure you have:
- Access to GoInsight.AI
- Azure GPT-4o mini (or equivalent LLM) configured
- Tavily Search API key connected
- HTTP request node properly configured
How to Use
- Step 1.Enter Medication Names
Input one or multiple medication names in a single request. You can separate names with commas or spaces, such as: Aspirin, Ibuprofen, Acetaminophen.
You can also ask naturally: “I want to know what Penicillin and Streptomycin are used for.”
- Step 2.Submit the Query
The workflow automatically detects all medication names and validates the intent.
- Step 3.Automatic Batch Processing
Each medication is searched and summarized individually within the loop.
- Step 4.Review Results
Receive structured, easy-to-understand summaries of each medication’s uses and effects.