Skip to content

Latest commit

 

History

History

README.md

rpa-forms-example (Python)

Insurance form filler using Stagehand in Intuned.

Run on Intuned

APIs

API Description
insurance-form-filler Fills out a multi-step auto insurance quote form using Stagehand AI, given applicant, address, and vehicle details

Getting Started

Install dependencies

uv sync

If the intuned CLI is not installed, install it globally:

npm install -g @intuned/cli

After installing dependencies, intuned command should be available in your environment.

Prepare the project

Before running any API, provision and deploy the project first.

intuned dev provision
intuned dev deploy

Run an API

intuned dev run api insurance-form-filler .parameters/api/insurance-form-filler/default.json
intuned dev run api insurance-form-filler .parameters/api/insurance-form-filler/honda.json

Project Structure

rpa-forms-example/
├── api/
│   └── insurance-form-filler.py       # Fills multi-step insurance quote form using Stagehand AI
├── hooks/
│   └── setup_context.py               # Stores CDP URL in attempt_store before each API call
├── utils/
│   └── types_and_schemas.py           # Pydantic models for request parameter validation
├── intuned-resources/
│   └── jobs/
│       └── insurance-form-filler.job.jsonc  # Job definition for insurance-form-filler API
├── .parameters/
│   └── api/
│       └── insurance-form-filler/
├── Intuned.jsonc
├── pyproject.toml
└── README.md

Related