Skip to content
Doppelganger logo

Running Your First Agent Task

This guide shows how to create and run your first task in Doppelganger using Agent mode.


Step 1: Create a New Task#

  1. Open the Doppelganger dashboard
  2. Click New Task

Step 2: Set Task Type to Agent#

  1. In the task panel, select Agent as the mode
  2. This sets the task to run in agent mode

Step 3: Set Wait Time#

  1. Locate the Wait input
  2. Set it to 1

This tells Doppelganger to wait 1 seconds after page load.


Step 4: Set the URL#

In the URL field, enter https://example.com


Step 5: Add a Click Block#

  1. Click Add Block and select Click
  2. Enter the selector for the element you want to click, e.g., a for the first link
  3. This will click the “Learn More” link on the page

Step 6: Add a Wait Block#

  1. Click Add Block and select Wait
  2. Set duration to 2 seconds
  3. This ensures the page has time to load after the click

Step 7: (Optional) Add More Blocks#

You can add additional blocks such as Type, Scroll, or Hover depending on your workflow. Agent mode supports many block types beyond click and wait.


Step 8: Run the Task#

  1. Click Execute Task
  2. Monitor the run to confirm that the agent clicked the link and waited 2 seconds successfully

Your agent task is now complete, demonstrating a basic automated interaction in Doppelganger.