Skip to main content
In this quickstart, you’ll use Intuned Agent to build an RPA that automates patient management on an OpenEMR demo instance. By the end, you’ll have a working automation that can list patients and add new ones—all generated from a simple prompt.

What is Intuned Agent?

Intuned Agent is an AI agent that builds, edits, and maintains browser automation Projects. It runs inside the Intuned platform with a real browser, full access to the platform via the Intuned CLI, and works in the background as long as needed. Learn more about Intuned Agent’s full capabilities in the overview.

Prerequisites

  • An active Intuned account (sign up here). No credit card required—Intuned has a free plan.

What you’ll build

You’ll instruct Intuned Agent to build an RPA that automates OpenEMR’s demo instance. The agent will build:
  • AuthSessions for secure login to the OpenEMR portal
  • An API to retrieve the list of existing patients
  • An API to add a new patient

Create your first RPA

Enter your prompt

  1. Go to app.intuned.io/agent.
  2. Paste the prompt below into the input and send it.
Prompt
I want to automate the following website: https://demo.openemr.io/openemr/interface/login/login.php?site=default
- I want to get the list of patients.
- I want to be able to add a new patient.
Intuned Agent session starting
Expected result: The agent starts a session and begins exploring the target website.

Choose your language

The agent asks which language you’d like to use for the project. Select TypeScript or Python.
Agent asking which language to use

Enter credentials

The agent detects that the site requires login and asks for credentials. Values are saved securely and never shared with the AI agent.
  1. Username: admin
  2. Password: pass
  3. Select Save Credentials.
Enter credentials dialog
Credentials are encrypted on disk and invisible to the agent. For production use, configure credentials as environment variables or use Intuned’s auth sessions.

Answer the agent's questions

The agent explores the site — navigating pages, inspecting forms, and analyzing the data structure. It then asks clarifying questions to finalize the design, such as whether the “get patients” API should support filtering or return all patients. Answer each question as it appears.
Agent asking clarifying questions

Approve the plan

Once the agent has finished exploring, it presents a full plan including configuration (start URL, auth, language, template), discovered URLs, and the API structure. Review it and select Approve Plan to proceed, or Suggest Changes to adjust.
Agent plan ready for approval
Expected result: The agent begins building your automation.

Wait for the agent to build

The agent writes the code, runs local and E2E platform tests, and validates the output. This typically takes 30–60 minutes.

Review results and deploy

When the agent finishes, it shows a work summary describing what was built and the test results. In this case, the agent built two APIs (get-patients and add-patient), both with auth session support and passing E2E tests.Select View Code to inspect the generated code, or Merge Branch to deploy.
Agent work summary with merge and view code options
When you’re satisfied, select Merge Branch. In the dialog, choose Merge & Deploy to create an Intuned project and deploy it immediately, or Merge only to merge the code without deploying.
Merge and deploy dialog
Expected result: Your automation is deployed and ready to run via API or direct triggers.

Run your automation

Once deployed, navigate to your project and select the Runs tab. Select Start Run to trigger your automation.
Project runs page with Start Run button
Expected result: The run completes successfully. You can see the input parameters, output result, auth session validation, and the full attempts timeline.
Successful add-patient run with parameters and result

(Optional) Iterate on your automation

Start a new conversation and select Pick project to load your automation. You can then ask the agent to add new APIs, adjust form fields, handle edge cases, or update the login flow.Example prompt:
Add a new API called "get-appointments" that takes a date and returns
all appointments scheduled for that day.

What’s next?

  • Intuned Agent — Learn more about Intuned Agent’s capabilities, including editing existing projects and fixing failed runs.
  • Authentication — For automations that require login, Intuned provides built-in authentication support. You define how to log in and how to verify a session, and Intuned handles the rest—validating sessions before runs, reusing them when possible, and recreating them when expired.
  • Monitoring and traces — Every run generates detailed logs, browser traces, and session recordings. Use these tools to debug failures, verify your automation is working correctly, and understand what happened during execution.
  • Online IDE — Learn more about the Intuned IDE, which you can use to manually edit the automation you just created.