Prerequisites
- An active Cyberdesk subscription (if you’re not on a paid plan, book a demo)
- A Cyberdesk account (sign up here)
- Node.js 14+ or Python 3.8+ for SDK usage
- Windows machine for desktop automation
Step 1: Create a workflow in the dashboard
Workflows define the tasks you want to automate. Let’s create your first one.1
Navigate to Workflows
Go to the Cyberdesk Dashboard and click on Workflows in the sidebar.
2
Create a new workflow
Click the New Workflow button to open the workflow editor.
3
Define your workflow
Fill in the workflow details:
- Name (optional): Give your workflow a descriptive name like “Extract Patient Data”
- Main Prompt: This is the instruction that tells AI what to do. For example:
You can also add images to the prompt from the dashboard editor (click Add Image). Images help the agent understand tricky icons and UI elements in legacy apps.
- Output Schema (optional): Define the structure of data you want back using JSON Schema
AI Assist Feature: Instead of writing prompts manually, you can use our AI assist feature:
- Type a natural language description of what you want to automate
- Click the Generate button
- AI will create a detailed prompt for you
- You can send follow-up instructions to refine the prompt - the AI maintains context
4
Save your workflow
Click Create to save. You’ll be redirected to the workflow details page where you can find your workflow ID.
Step 2: Install Cyberdriver
Cyberdriver connects your desktop to Cyberdesk, enabling remote automation.Cyberdriver will automatically request administrator privileges when it runs. Make sure you have the necessary permissions or administrator password available, as this is required for automating certain desktop applications.
1
Run the installer in PowerShell
2
Restart PowerShell
Close and reopen your PowerShell terminal for the PATH changes to take effect.
3
Connect to Cyberdesk
YOUR_API_KEY with your actual API key from the Cyberdesk Dashboard.Step 3: Create a run via SDK
Now let’s execute your workflow programmatically using the SDK.- TypeScript
- Python
1
Install the SDK
2
Create and run your workflow
Step 4: View results in the dashboard
After your run completes, you can view detailed information in the dashboard.1
Navigate to Runs
Go to the Runs page in your dashboard.
2
View run details
Click on your run to see:
- Status: Current state of the run
- Output Data: The extracted/processed data based on your output schema
- Message History: Complete conversation between AI and your desktop
3
Approve workflow trajectories
Navigate to your workflow and click on the Trajectories tab to see:
- Recorded action sequences from your run
- Step-by-step actions with screenshots
- Approve trajectories to enable fast cached execution on future runs
Trajectories are Cyberdesk’s intelligent caching system. After approving a trajectory, future runs can replay the same actions in seconds instead of minutes. Learn more in Trajectories 101.
What’s next?
SDK Guides
Deep dive into SDK features and advanced usage patterns
Workflow Prompting
Master workflow prompting with specialized tools and best practices
Trajectories 101
Learn how trajectories speed up workflows by caching successful executions
API Reference
Explore all available API endpoints