In the project page, open Add a demo script. Give the script a name, then paste the YAML into the large Script (YAML) field.
You can write it yourself, or ask Claude, Codex, ChatGPT, or another AI coding tool to create a detailed AISVY YAML script. Give the AI the product URL, the exact role/account, the workflow, the actions to perform, what should be narrated, and reliable selectors or visible labels. Ask it to return only a valid AISVY script and to keep it dimension-agnostic. One script is reused for every platform format.
name: Invite a teammate
baseUrl: https://app.example.com
# Authentication comes from the connected browser session.
# Do not put real passwords or cookies in this file.
auth:
check:
selector: "[data-testid=app-shell]"
urlNotMatching: "/sign-in"
ttsProvider: openai
voice: nova
voiceInstructions: Warm, confident product walkthrough. Clear and unhurried.
# Optional: keep narrated numbers aligned with the live product.
bindings:
workspace_name:
selector: "[data-testid=workspace-name]"
transform: trim
fallback: "Acme"
steps:
- action: navigate
url: /dashboard
narration: Welcome to the workspace.
- action: wait
selector: "[data-testid=app-shell]"
minDurationMs: 900
- action: highlight
selector: "[data-testid=workspace-name]"
bubble: Your workspace, in one place.
narration: This is the main workspace for {{workspace_name}}.
minDurationMs: 1800
- action: click
selector: "button:has-text('Invite teammate')"
narration: I start by inviting a teammate.
- action: wait
selector: "[role=dialog]"
- action: fill
selector: "input[name=email]"
text: teammate@example.com
narration: I add the teammate's email address.
- action: select
selector: "select[name=role]"
value: member
narration: Then I choose the member role.
- action: click
selector: "button:has-text('Send invite')"
narration: One click sends the invitation.
- action: wait
selector: "text=Invitation sent"
minDurationMs: 1200
- action: scroll
y: 500
narration: The activity history keeps the whole team in the loop.
- action: pause
narration: That is the complete workflow, from workspace to invitation.
minDurationMs: 1600
Paste the complete YAML directly into the Script (YAML) textarea, then choose Save script. Replace the example URL, selectors, labels, and values with the ones from your product. The AI-generated script must describe the UI that the connected role can actually see.