Explore Plans
Browse AI

Robot finished a task

This trigger fires when your Browse AI robot finishes a task, whether a monitor, the dashboard, or the API started it. Choose successful tasks, failed tasks, or both.

Developer info

API endpoint slug
browse_ai.robot_finished_task

Trigger fields

Robot Dropdown list

Label
Which robot?
Helper text
Pick a robot you've trained in your Browse AI dashboard.
Slug
robot_id
Required
true
Can have default value
false

Outcome Dropdown list

Label
Which tasks?
Helper text
Browse AI's Double Check setting (on by default) retries failed tasks, so a failed first attempt can fire this even if its retry succeeds.
Slug
outcome
Required
true
Can have default value
true

Ingredients

Robot name

Slug
robot_name
Filter
BrowseAi.robotFinishedTask.RobotName
Type
String
Example
Water restrictions monitor

Status successful or failed.

Slug
status
Filter
BrowseAi.robotFinishedTask.Status
Type
String
Example
successful

Error message Browse AI's explanation when a task fails, if it gives one. Empty for successful tasks.

Slug
error_message
Filter
BrowseAi.robotFinishedTask.ErrorMessage
Type
String
Example
The page took too long to load.

Captured text Every text and list row the robot captured on this run, one per line.

Slug
captured_text
Filter
BrowseAi.robotFinishedTask.CapturedText
Type
String
Example
Banner: Water restrictions: Level 1. Watering allowed three days a week.

Captured data json The captured texts and lists as JSON, for filter code or webhooks.

Slug
captured_data_json
Filter
BrowseAi.robotFinishedTask.CapturedDataJson
Type
String
Example
{"texts":{"Banner":"Water restrictions: Level 1. Watering allowed three days a week."},"lists":{}}

Page url The page the robot ran on.

Slug
page_url
Filter
BrowseAi.robotFinishedTask.PageUrl
Type
Web URL
Example
https://www.sandiego.gov/public-utilities/sustainability/water-conservation/water-use-restrictions

Data url When the captured data is over 100 KB, Browse AI moves it to this link, which expires after 7 days. Empty otherwise.

Slug
data_url
Filter
BrowseAi.robotFinishedTask.DataUrl
Type
Web URL
Example
https://prod-browseai-captured-data.s3.amazonaws.com/example/captured-data.json

Run source What started the task: Monitor, Dashboard, API, or Bulk run.

Slug
run_source
Filter
BrowseAi.robotFinishedTask.RunSource
Type
String
Example
Monitor

Finished at

Slug
finished_at
Filter
BrowseAi.robotFinishedTask.FinishedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00

Task

Slug
task_id
Filter
BrowseAi.robotFinishedTask.TaskId
Type
String
Example
01a08db5-ccb9-7374-b705-2359ee440f5a