Skip to main content
This tutorial builds a provider search tool for Grow Therapy — a therapy marketplace that handles insurance credentialing for providers. We combine structured output with saved scripts to build a fast, repeatable search pipeline.

What you’ll build

A script that:
  1. Searches Grow Therapy’s provider directory with filters (location, insurance, specialty)
  2. Extracts therapist profiles with ratings and availability
  3. Caches the search so you can sweep across geographies or specialties instantly

Setup

1. Define the output schema

2. Create a workspace

3. Search for providers

4. Sweep across locations and specialties

After the first run caches the search flow, sweep across different parameters at $0 LLM cost:

Summary

Therapy platforms have dynamic UIs that can change frequently. A later agent run can repair and retest the saved script when the site changes.

Next steps

  • Structured output — Learn more about extracting typed data with Pydantic and Zod schemas.
  • Human in the loop — Let a human review or interact with the browser mid-task, useful for auth flows or approving results before continuing.
  • Scripts — Save, reuse, and repair browser workflows.