Project Overview
ConsentAI is a next-generation SaaS platform that transforms traditional consent workflows into automated, engaging, and legally compliant digital experiences. By combining AI-generated scripts, avatar videos, quiz verification, and digital signatures, the platform enables organizations to collect consent faster, smarter, and at scale.
Overview
Key Challenges
Organizations collecting consent relied on static PDFs, manual workflows, and fragmented tools. This resulted in low engagement, compliance risks, poor scalability, and no way to verify whether recipients actually understood consent content before signing.
Our Solution
We engineered a full-stack AI-powered consent platform that transforms PDFs into avatar-led video explanations, automates delivery via email/SMS, verifies comprehension through quizzes, and captures legally traceable digital signatures — all within a scalable multi-tenant SaaS architecture.
Website Performance Metrics
Technical Details
Technical Architecture
Technical Features
Security Measures
- Role-based access control (Spatie RBAC)
- Secure tokenized signing links
- Audit trail with timestamped actions
- Data isolation per tenant
Scalability Features
- Multi-tenant architecture
- Queue-based async processing
- Dual video providers (HeyGen + Runpod)
- Batch processing for large campaigns
Testing Coverage
Detailed Solution
Core systems powering AI consent automation, avatar video generation, multi-tenant workflows, and legally traceable digital signatures.
AI-Powered Consent Automation Pipeline
- •Automated PDF parsing using smalot/pdfparser with fallback extraction systems
- •OpenAI-powered script generation optimized for avatar narration
- •AI-generated explainer videos using HeyGen and Runpod
- •End-to-end consent orchestration from upload → delivery → signature
- •Reduced manual consent preparation from hours to minutes
Background Automation & Queues
- •Laravel queues for async video generation
- •Automated scheduler for polling and expiry handling
- •Background email/SMS processing pipelines
- •Continuous sync for avatar and video status
Analytics & Compliance Infrastructure
- •Real-time dashboard for sent/signed tracking
- •Audit trail for every recipient interaction
- •Status monitoring (viewed, signed, expired)
- •Admin-editable AI prompts without deployments
Avatar Video Generation System
- •HeyGen v2 API integration for AI avatar videos
- •Runpod fallback pipeline using SadTalker & MuseTalk
- •Automatic subtitle generation with VTT captions
- •FFmpeg-powered HLS transcoding for optimized streaming
Multi-Tenant SaaS Architecture
- •Role-based access using Spatie Permission
- •Client-isolated consent and contact management
- •Scoped dashboards for admins, clients, and users
- •Scalable architecture for unlimited organizations
Digital Signature Workflow
- •UUID-based stateless signing links
- •No-login recipient experience
- •Timestamped signature tracking
- •Signed PDF generation and storage
Quiz & Comprehension Verification
- •Mandatory quizzes before signing
- •Stored comprehension records
- •Answer validation and reporting
- •Improved legal defensibility
Multi-Channel Delivery System
- •Email delivery via Brevo
- •SMS notifications through Twilio
- •QR-code based in-person signing
- •Bulk send and resend workflows
Implementation & Infrastructure
A scalable AI-first SaaS architecture combining backend automation, video processing, and multi-channel delivery systems.
AI Consent Pipeline
PDF → text extraction → OpenAI script → avatar video → HLS streaming → recipient delivery.
Core Technical Decisions
- Laravel multi-tenant backend
- Vue 3 frontend SPA
- Queue-based async pipelines
- Dual AI video providers
- Stateless signing links
Layered System Architecture
The system combines AI processing, video generation, and SaaS workflows.
Presentation Layer
- Vue 3 frontend
- Signing interface
- Dashboard UI
Application Layer
- Laravel APIs
- AI pipeline orchestration
- Queue workers
Data & Processing Layer
- MySQL database
- Video processing (FFmpeg)
- AI services (OpenAI, HeyGen)
Core Features
- AI video consent
- Digital signatures
- Bulk sending
- Audit trails
Business Impact
- Reduced manual work
- Improved compliance
- Higher engagement
- Scalable workflows
Gallery
Visual transformation showcasing the dramatic improvements across all interfaces




"ConsentAI transforms static consent into an engaging, automated, and legally traceable experience."
Platform Stakeholders
Product Team
Project Details
Duration
Ongoing
Industry
SaaS / LegalTech / HealthTech / Automation
Team
Full-Stack Engineers, AI/ML Engineers, Frontend Engineers, DevOps Engineer, Product Manager
Technologies Used
Project Goals
- Automate consent workflows end-to-end
- Increase engagement via AI video explanations
- Ensure user comprehension before signing
- Enable bulk sending and tracking
- Provide full legal auditability


