Back to Work

Alegra Agency • Healthcare

Browser Automation Cuts Onboarding to 45 Seconds

Elemra built a HIPAA-compliant browser automation pipeline that eliminates manual data entry for Alegra Agency — turning a 15-step onboarding process into a 45-second automated workflow.

JotForm to Therap browser-automation pipeline architecture diagram.
Alegra Agency website
Alegra Agency logo

About Alegra Agency

Healthcare

Alegra Agency provides massage therapy for individuals with disabilities focuses on gentle, adaptive techniques designed to relax muscles, improve mobility, and promote overall well-being. As a Program Approved Service Provider (PASA), we specialize in massage therapy for individuals on the SLS or CES waivers through Therap, a Medicaid (U.S.) compliant patient onboarding portal.

Visit Alegra Agency

A 15-Step Manual Process Standing Between Every Intake and Billing

Every new client onboarding at Alegra Agency required staff to manually work through a 15-step process in a complex healthcare onboarding portal used by U.S. Medicaid service providers.

Alonso was evaluating whether to hire a full-time administrative assistant specifically to handle Therap data entry. The bottleneck wasn't capacity — it was repetition. Every onboarding was the same set of steps, in the same order, with the same data.

A single intake involved navigating six distinct Therap surfaces, filling dozens of fields from scratch on data that had already been collected on the intake form
The process was slow, error-prone, and created no machine-readable audit trail — a meaningful risk in a HIPAA-regulated environment.

What we built

Elemra built a fully automated, HIPAA-compliant pipeline that turns a JotForm intake submission into a complete Therap client record.

End-to-end wall time per intake:

37–45 seconds from webhook receipt to all six Therap surfaces confirmed complete.

The architecture runs entirely within Alegra Agency's own AWS account, covered by the AWS Business Associate Agreement. A Business Associate Agreement between Elemra and Alegra Agency was in place before any real protected health information entered the system.

Split-screen view: Therap onboarding form fields being driven by the Elemra browser-automation agent, with the live action log on the right.

  • JotForm (HIPAA Gold tier) fires a webhook to AWS API Gateway on form submission. HMAC signature verification rejects forged deliveries before anything else executes.
  • AWS Lambda parses the multipart webhook payload and dispatches to Step Functions, which sequences the onboarding workflow, manages retries, and triggers SNS failure alerts.
  • AWS Bedrock AgentCore runs a Playwright-driven cloud browser in Fargate, navigating all six Therap surfaces in sequence: Individual Demographic Form, Admit, Program Enrollment, Diagnostics, Contact List, and Priority List. Browser Profiles persist the Therap session between runs, eliminating login overhead on every intake.
  • Input normalisation handles the failure modes that broke the manual process — phone format variants, state name to abbreviation conversion, ICD-10 multi-code extraction from the live JotForm payload shape.
  • CloudWatch audit logging captures every Therap write with a correlation ID linking each action back to the originating JotForm submission. S3 stores browser screenshots per run for compliance review.
  • Terraform defines the full AWS infrastructure as code. The completed codebase (70 files) was handed over via a private GitHub repository with full redeploy documentation.

CloudWatch audit-log trail of a Therap onboarding run, with correlation IDs linking each Therap write back to the originating JotForm submission.

Tools We Integrated

JotForm
JotForm
AWS
AWS
Playwright
Playwright
Python
Python
Terraform
Terraform
GitHub
GitHub

Results

A process that took significant staff time per client now completes in 37–45 seconds from form submission.

Alegra Agency avoided a full-time administrative hire — the recurring labour cost that would have covered ongoing Therap data entry has been replaced by a pay-per-execution AWS cost measured in pennies per run.

Every Therap write is now logged in CloudWatch with a correlation ID, giving Alegra Agency a machine-readable record of what was entered, when, and under which JotForm submission, ensuring HIPAA compliance and billing dispute resolution.

under 0seconds

Onboarding Time

End-to-end wall time from JotForm webhook receipt to all six Therap surfaces confirmed complete. Previously a multi-step manual process.

0

Therap Surfaces Automated

Individual Demographic Form, Admit, Program Enrollment, Diagnostics, Contact List, and Priority List — all driven in sequence with no manual intervention.

0FTE

Admin Hire Avoided

Alonso was actively evaluating a full-time hire to manage Therap data entry. The automation eliminated that cost before the hire was made.