Actions & Sequences
Record, build, and replay deterministic action sequences — saved actions your agent can perform exactly as you defined them.
Tip: Actions are your automation building blocks. Record once, replay forever — perfect for deterministic workflows where you need the agent to follow exact steps.
Overview
The Actions tab lets you build, save, and replay sequences of actions — clicks, keystrokes, bash commands, AI messages, and more. Unlike chat-based interactions where the AI decides what to do, saved actions are deterministic: they execute exactly as you defined them, every time.
This makes actions ideal for:
- Repeatable workflows — Login sequences, form submissions, data entry routines
- Multi-step automations — Navigate to a page, extract data, process results
- Consistency — Ensure the same steps run the same way across multiple runs
- Data-driven processing — Run the same sequence across many rows of captured data
The Actions Tab
The Actions tab sits alongside the Chat, Queue, and other tabs on your agent page. It shows:
- Toolbar — Add New button, Record toggle, filter dropdown, Play All with delay controls
- Action List — A drag-and-drop list of all saved actions
- Bulk Operations Bar — Appears when you select multiple actions
How Actions Get Saved
Actions can be saved to your sequence in two ways, controlled by the Auto-Save setting in Action Settings:
Auto-Save Enabled (Default)
When auto-save is on, every action the AI performs during a chat session is automatically saved to your action history. As the agent clicks, types, runs commands, and navigates — each action appears in the Actions tab in real time.
This is great for building sequences organically: tell the agent what to do via chat, and the actions are captured automatically.
Auto-Save Disabled
When auto-save is off, AI actions still appear in the chat as tool-call blocks, but they include an "Add" button. You manually choose which actions to save to your sequence. This gives you selective control — keep only the actions you need and skip the rest.
Recording Actions Manually
Beyond capturing AI actions, you can record actions directly by interacting with the live sandbox preview.
How to Record
- Open the Actions tab
- Click the Record button (next to "Add New") — it requires an active sandbox
- The button turns red and shows a pulsing REC indicator
- Click, scroll, and type on the live sandbox preview — each interaction is captured as an action
- Click REC again to stop recording
What Gets Captured
| Interaction | Captured As |
|---|---|
| Single click | left_click at coordinates |
| Double click | double_click at coordinates |
| Triple click | triple_click at coordinates |
| Right click | right_click at coordinates |
| Middle click | middle_click at coordinates |
| Scroll up/down | scroll with direction and amount (rapid scrolls are batched) |
| Typing | type with the text (characters are buffered into a single action) |
| Enter key | key press or appended to typed text |
Info: The recorder automatically detects click types — you don't need to tell it you're double-clicking. It waits 300ms after a click to determine if it's a single, double, or triple click before recording.
The Action Editor
Click Add New to open the Action Editor, or click any existing action to edit it. The editor provides a full-featured interface for creating and configuring actions.
Action Categories
The editor organizes actions into four categories:
Mouse Actions
| Action | Description |
|---|---|
| Left Click | Click at specific coordinates |
| Right Click | Right-click at coordinates |
| Double Click | Double-click at coordinates |
| Triple Click | Triple-click (select entire line/paragraph) |
| Middle Click | Middle mouse button click |
| Drag | Click and drag from start to end coordinates |
| Move Mouse | Move cursor to coordinates without clicking |
Input Actions
| Action | Description |
|---|---|
| Type Text | Type a string of text (supports {{field}} placeholders) |
| Press Key | Press a single key (Enter, Tab, Escape, etc.) |
| Hold Key | Hold a key for a specified duration (Shift, Ctrl, Alt) |
Navigation Actions
| Action | Description |
|---|---|
| Scroll | Scroll in any direction (up, down, left, right) with configurable amount |
| Wait | Pause for a specified duration (useful between actions) |
| Screenshot | Capture a screenshot of the current screen |
Advanced Actions
| Action | Description |
|---|---|
| AI Message | Send a message to the AI agent (with optional "wait for completion") |
| Bash Command | Execute a terminal command (or restart the bash session) |
| Data Capture | Extract structured data from the screen, clipboard, or a file |
| Use Credential | Securely enter a stored credential value (type or paste) |
Custom Titles and Notes
Every action supports:
- Custom Title — A descriptive name (e.g., "Click Login Button", "Enter Search Query"). This replaces the auto-generated label in the action list.
- Note — Additional context (e.g., "Use the test account credentials", "Wait for page to load first").
Placeholder Syntax
For Type Text and AI Message actions, you can use placeholder syntax to inject data from captured datasets:
{{field_name}}— Replaced with the field value from the current data row{{field_name | default_value}}— Uses the default if the field is empty
This powers data-driven playback, where the same action sequence runs across many rows of data.
Replaying Actions
The Actions tab provides several ways to replay your saved actions:
Play Single Action
Click the Play button (▶) on any action card to execute just that one action immediately on the sandbox.
Play All Actions
Click Play All Actions at the top of the Actions tab to execute the entire sequence from start to finish. The agent runs each action in order with a configurable delay between them.
Play From Here
Open the play dropdown (▶ ▾) on any action card and select Play from here. This starts playback from that specific action and continues through the rest of the sequence.
Play Selected
When you have actions selected (via checkboxes), a Play button appears in the bulk operations bar. This runs only the selected actions in their original order.
Auto-Play Delay
Use the delay dropdown next to the Play All button to configure the wait time between actions:
| Delay | Best For |
|---|---|
| 0s | Fast execution, no visual feedback needed |
| 1-2s | Watching the agent work, light debugging |
| 3-5s | Step-by-step observation, demos |
Playback Progress
During playback, a progress indicator appears showing:
- Standard playback: "Playing action 3 of 12"
- Data-driven playback: "Row 2 of 10 • Action 3 of 5"
Click Stop at any time to halt playback immediately.
Data-Driven Playback
When your agent has captured structured data (via the Data Capture action), you can run your action sequence across every row of that data.
How It Works
- Build an action sequence that uses
{{field}}placeholders (e.g., type{{company_name}}into a search box) - Ensure you have captured data with matching field names
- Click Play All — the system detects placeholders and offers data-driven mode
- Each row in your dataset runs the full sequence independently
- Placeholders are substituted with the actual values from each row
This is powerful for tasks like: "For each company in my list, search for it on LinkedIn, capture the company page, and save the results."
Organizing Actions
Drag-and-Drop Reorder
Grab the grip handle (⠿) on any action card and drag it to a new position. The sequence order updates immediately and persists to the database.
Duplicate Actions
Hover over an action and click the duplicate icon (⧉) to create a copy. Useful for repeating similar steps with slight modifications.
Delete Actions
Hover over an action and click the trash icon. Click again to confirm. Deletions are permanent.
Filter by Type
Use the filter dropdown in the toolbar to show only specific action types:
- All — Show everything
- Bash — Only bash commands
- Click types — left_click, double_click, etc.
- Type — Only text input actions
- Any other action type present in your sequence
Bulk Operations
Selecting Actions
- Hover over an action to reveal its checkbox
- Click the checkbox to select/deselect
- Shift+Click to select a range (from last selected to current)
- Select All toggle in the bulk bar selects all visible (filtered) actions
Bulk Actions
When one or more actions are selected, a bulk operations bar appears at the bottom:
| Action | Description |
|---|---|
| Play (N) | Play only the selected actions in order |
| Delete | Delete all selected actions (with confirmation dialog) |
| Clear | Deselect all |
Action Settings
Open the settings drawer (gear icon) from the Actions tab to configure:
Auto-Save Actions
Toggle whether AI actions are automatically saved to your action history. When disabled, actions appear in chat with an "Add" button for manual selection.
Clear Action History
Permanently delete all saved actions from this agent. This shows a confirmation dialog with warnings — cleared actions cannot be recovered.
Tips & Best Practices
- Start with auto-save on — Let the AI build your initial sequence, then refine by editing, reordering, and removing actions
- Use custom titles — Name your actions descriptively so the sequence reads like a script: "Navigate to Login", "Enter Username", "Click Submit"
- Add Wait actions — Insert waits between actions that trigger page loads or animations
- Test incrementally — Use "Play from here" to test specific parts of your sequence without running everything
- Use AI Message actions — For steps that need intelligence (like "find the right button" or "summarize this page"), use an AI Message action instead of hardcoded clicks
- Combine recording and editing — Record a rough sequence by clicking through the sandbox, then refine coordinates and add advanced actions in the editor
- Keep sequences focused — Build multiple short sequences rather than one massive one. You can run them separately or combine later
What's Next?
- Chat & Sandbox — Learn about the chat interface and live desktop preview
- Datasets — Understand captured data that powers data-driven playback
- Runs & Scheduling — Schedule your action sequences to run automatically
- Credentials — Store credentials securely for Use Credential actions