Build the workflow

Our browser agent executes workflows. You can think of a workflow as a container for all the necessary context our agent needs to automate a business process reliably. Here’s how you can build your first workflow:
  1. Navigate to your workflows page and hit “New Workflow”.
  2. Build the workflow by chatting with our builder agent. The agent will suggest variables to parameterize your workflow and make it reusable.
  3. Test the workflow using our playground. Make edits with our workflow editor.
Check out this video for a quick walkthrough:

Run the browser agent

Now that you have built the initial context, you can trigger the browser agent over our API. Note that the run_input_variables were automatically generated by the builder agent including a full JSON schema. Check our API spec for more info.
curl --request POST \
  --url https://api.cloudcruise.com/run \
  --header 'Content-Type: application/json' \
  --header 'cc-key: <your-api-key>' \
  --data '{
  "workflow_id": "<string>",
  "run_input_variables": {
    "first_name": "John",
    "last_name": "Doe"
  },
  "dry_run": {
    "enabled": true,
    "add_to_output": {}
  }
}'