AI-powered PSUR generation on AWS cut report time by 90%, reduced manual effort by 70 to 80% and delivered more than 95% extraction accuracy.

In short
Executive Summary
A global life sciences technology company was spending 4 to 8 hours assembling each Periodic Safety Update Report from separate pharmacovigilance spreadsheets. Rapyder built an AI-powered PSUR workflow on AWS that validates the source data, drafts the regulatory narrative and preserves the required report structure. Report generation fell to 3 to 5 minutes, manual effort dropped by 70 to 80%, and extraction accuracy exceeded 95%.
About Customer
The customer is a global healthcare and life sciences technology company that helps pharmaceutical enterprises modernise pharmacovigilance, clinical and regulatory operations. Its platform supports safety case processing, regulatory oversight, submissions and knowledge management, alongside data, cloud and analytics services.
Problem Statement
Regulatory specialists were spending 4 to 8 hours compiling each PSUR from separate dosage, exposure, benefit-risk and RSI spreadsheets. Manual cross-referencing slowed reporting, introduced formatting and data-placement errors and made higher report volumes difficult to support without adding specialist headcount.
Business Challenges
Safety data was spread across separate dosage, exposure, benefit-risk and RSI spreadsheets, forcing specialists to cross-reference files manually for every report.
Each PSUR required 4 to 8 hours of specialist work, slowing regulatory reporting as the product portfolio grew.
Increasing report volume meant adding regulatory writing capacity or accepting longer turnaround times and submission pressure.
Manual document creation introduced formatting and data-placement errors, leading to repeated revisions before submission.
Regulatory teams needed accurate source lineage, controlled access and a reproducible record of every report artifact for audit review.
Solution Implemented
Created an Amazon S3 and AWS Lambda ingestion workflow that parses each safety workbook into structured JSON and validates schemas and data types before processing.
Used an LLM on Amazon Bedrock to draft standardised regulatory language and create a deterministic placeholder manifest from validated safety facts.
Orchestrated the event-driven workflow with Amazon API Gateway and AWS Step Functions so report generation can scale with product and submission volume.
Converted the baseline PSUR template to LaTeX, resolved placeholders and applied a four-stage post-processing workflow to preserve layout, page breaks, terminology and styling.
Versioned source facts, placeholders, templates and final reports in Amazon S3, then secured the Mumbai-region deployment inside a VPC with API key authentication.

Technology Stack
- Amazon S3
- AWS Lambda
- Amazon Bedrock
- Amazon API Gateway
- AWS Step Functions
- Amazon CloudWatch
- AWS IAM
Business Benefits
- 70–80% less manual effort and 95%+ extraction accuracy – Structured ingestion replaced most manual spreadsheet cross-referencing and validated the extracted safety facts before drafting.
- 90% faster report generation – Amazon Bedrock drafting reduced report generation from 4 to 8 hours to 3 to 5 minutes.
- 40–50% infrastructure cost savings – The serverless workflow scales with report demand without requiring fixed infrastructure or the same increase in specialist headcount.
- 90%+ formatting compliance and 85% fewer revision cycles – Template-based assembly and post-processing preserved the required PSUR structure and reduced formatting corrections.
- A traceable record of every report – Versioned artifacts in Amazon S3 preserve the path from source spreadsheet to final PSUR, while VPC deployment and API authentication restrict access.
Key Takeaways
Ready to turn regulatory reporting into a faster, traceable operation?
about transforming PSUR generation with validated data and generative AI on AWS.
Frequently Asked Questions
Their pharmacovigilance teams were manually compiling Periodic Safety Update Reports (PSURs) by pulling Dosage, Exposure, Benefit-Risk, and RSI data from multiple disconnected spreadsheets a process taking 4–8 hours of specialist time per report and limiting how well the team could scale across a growing product portfolio.
Excel workbooks uploaded to Amazon S3 trigger a Lambda function that parses safety data into structured JSON and calls Amazon Bedrock (Claude 4 Sonnet) to generate standardized sentences and a placeholder manifest. A second pipeline converts the baseline PSUR Word template to LaTeX, maps the placeholders into position, and compiles a production-ready PDF/DOCX report.
No. Structured facts are extracted deterministically via pandas/openpyxl first; the LLM only drafts narrative content and never generates raw values, keeping data accuracy separate from language generation.
Every intermediate artifact facts, placeholders, LaTeX templates, and final reports is versioned and stored in Amazon S3, tagged with product ID, report period, and version number for full lineage from source Excel to final PSUR.
Report generation time dropped roughly 90% (from 4–8 hours to 3–5 minutes), manual effort fell 70–80%, extraction accuracy exceeded 95%, formatting compliance exceeded 90%, revision cycles dropped 85%, and infrastructure costs fell 40–50%.