curl --request GET \
--url https://api.orbit.devotel.io/api/v1/insights/automation-opportunities \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.orbit.devotel.io/api/v1/insights/automation-opportunities"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.orbit.devotel.io/api/v1/insights/automation-opportunities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/insights/automation-opportunities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/insights/automation-opportunities"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.orbit.devotel.io/api/v1/insights/automation-opportunities")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/insights/automation-opportunities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"from": "2026-07-08T00:00:00.000Z",
"to": "2026-08-07T00:00:00.000Z",
"window_days": 30,
"currency": "USD",
"config": {
"agent_cost_per_hour_cents": 3000,
"automation_cost_per_contact_cents": 5,
"target_deflection_rate": 0.6,
"default_aht_seconds": 300,
"min_volume": 5
},
"totals": {
"opportunity_count": 8,
"shown_count": 8,
"truncated": false,
"total_automatable_volume": 410,
"total_projected_monthly_deflections": 390,
"total_projected_monthly_savings_cents": 975000
},
"opportunities": [
{
"topic": "password_reset",
"volume": 180,
"previous_volume": 150,
"trend": "rising",
"change_pct": 20,
"channels": {
"voice": 40,
"sms": 10,
"whatsapp": 0,
"email": 0,
"web_chat": 130
},
"primary_channel": "web_chat",
"current_deflection_rate": 0.1,
"avg_aht_seconds": 240,
"target_deflection_rate": 0.6,
"automatable_volume": 90,
"projected_monthly_deflections": 90,
"handle_cost_per_contact_cents": 200,
"automation_cost_per_contact_cents": 5,
"net_savings_per_deflection_cents": 195,
"projected_monthly_savings_cents": 17550,
"opportunity_score": 100,
"scaffold": {
"kind": "flow",
"title": "Automate 'password reset' with a self-serve automation flow",
"description": "Deflect 'password reset' contacts (web_chat is the busiest channel) by scaffolding a self-serve automation flow.",
"primary_channel": "web_chat",
"source_topic": "password_reset"
}
}
]
},
"meta": {
"request_id": "req_01J8Z9K3P4Q5R6S7T8U9V0W1X2",
"timestamp": "2026-08-07T12:00:00.000Z"
}
}Get ranked automation opportunities
Mines the cross-channel conversation corpus into ranked ‘what to automate next’ contact reasons, each with measured volume/trend, an incremental automatable volume, a projected monthly deflection count and savings (priced via the automation-opportunities config), and a scaffold suggestion (AI agent, flow, or help article) to build the automation. Read-only, tenant-scoped, defaults to a trailing 30-day window.
curl --request GET \
--url https://api.orbit.devotel.io/api/v1/insights/automation-opportunities \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.orbit.devotel.io/api/v1/insights/automation-opportunities"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.orbit.devotel.io/api/v1/insights/automation-opportunities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/insights/automation-opportunities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/insights/automation-opportunities"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.orbit.devotel.io/api/v1/insights/automation-opportunities")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/insights/automation-opportunities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"from": "2026-07-08T00:00:00.000Z",
"to": "2026-08-07T00:00:00.000Z",
"window_days": 30,
"currency": "USD",
"config": {
"agent_cost_per_hour_cents": 3000,
"automation_cost_per_contact_cents": 5,
"target_deflection_rate": 0.6,
"default_aht_seconds": 300,
"min_volume": 5
},
"totals": {
"opportunity_count": 8,
"shown_count": 8,
"truncated": false,
"total_automatable_volume": 410,
"total_projected_monthly_deflections": 390,
"total_projected_monthly_savings_cents": 975000
},
"opportunities": [
{
"topic": "password_reset",
"volume": 180,
"previous_volume": 150,
"trend": "rising",
"change_pct": 20,
"channels": {
"voice": 40,
"sms": 10,
"whatsapp": 0,
"email": 0,
"web_chat": 130
},
"primary_channel": "web_chat",
"current_deflection_rate": 0.1,
"avg_aht_seconds": 240,
"target_deflection_rate": 0.6,
"automatable_volume": 90,
"projected_monthly_deflections": 90,
"handle_cost_per_contact_cents": 200,
"automation_cost_per_contact_cents": 5,
"net_savings_per_deflection_cents": 195,
"projected_monthly_savings_cents": 17550,
"opportunity_score": 100,
"scaffold": {
"kind": "flow",
"title": "Automate 'password reset' with a self-serve automation flow",
"description": "Deflect 'password reset' contacts (web_chat is the busiest channel) by scaffolding a self-serve automation flow.",
"primary_channel": "web_chat",
"source_topic": "password_reset"
}
}
]
},
"meta": {
"request_id": "req_01J8Z9K3P4Q5R6S7T8U9V0W1X2",
"timestamp": "2026-08-07T12:00:00.000Z"
}
}Authorizations
Dashboard JWT token from Clerk
Query Parameters
Window start, ISO-8601 with offset. Defaults to 30 days before to. Range is capped at 365 days.
Window end, ISO-8601 with offset. Defaults to now.
Max opportunities returned (1-50, default 50), ranked biggest-win first.
Response
Ranked automation opportunities (volume, trend, projected deflections/savings, scaffold suggestion) plus the ROI-assumption config and window totals.
The response is of type object.