Checks a call transcript against your call script
ton.halowerk.com/v1/script-adherence
Checks a call transcript against your call script: which steps the agent covered (fuzzy match with score and excerpt), which required steps are missing, steps out of order or later than allowed, and the coverage ratio.
POST
https://ton.halowerk.com/v1/script-adherenceUptime100% of 3 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://ton.halowerk.com/v1/script-adherence", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"agent_speakers":["Agent"],"script":["Thank you for calling Example Energy","Could I have your customer number","Can I help you with anything else","Thank you for your patience"],"transcript":"Agent: Good morning, thank you for calling Example Energy, my name is Sam.\nCustomer: Hi, my bill is too high.\nAgent: Can I have your customer number please?\nAgent: Is there anything else I can help you w),
});
console.log(await res.json());Example input
{"agent_speakers":["Agent"],"script":["Thank you for calling Example Energy","Could I have your customer number","Can I help you with anything else","Thank you for your patience"],"transcript":"Agent: Good morning, thank you for calling Example Energy, my name is Sam.\nCustomer: Hi, my bill is too high.\nAgent: Can I have your customer number please?\nAgent: Is there anything else I can help you w