Skip to content
Fourohtwo

Turns transcribed IVR announcements into a menu tree

ton.halowerk.com/v1/ivr-menu-map

Turns transcribed IVR announcements into a menu tree: keys (DTMF digits, star, hash) with option labels, actions (repeat, back, agent), voice options, sub-menus by path, unreached options and inconsistencies.

BaseAnswering
POSThttps://ton.halowerk.com/v1/ivr-menu-map

Uptime100% of 4 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/ivr-menu-map", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"prompts":[{"path":"","text":"Welcome to Example Bank. For card services press 1. For loans press 2. To speak to an agent, press 0."},{"path":"1","text":"To block a card press 1, for a new PIN press 2, to return to the main menu press star."}]}),
});
console.log(await res.json());

Example input

{
  "prompts": [
    {
      "path": "",
      "text": "Welcome to Example Bank. For card services press 1. For loans press 2. To speak to an agent, press 0."
    },
    {
      "path": "1",
      "text": "To block a card press 1, for a new PIN press 2, to return to the main menu press star."
    }
  ]
}