Skip to content
TriedDocs
Conversation flow

Press digit node

Navigate a phone menu at a fixed step of a flow: the LLM picks the digits from your instruction and the conversation, then the node presses them.


title: Press digit node description: Navigate a phone menu at a fixed step of a flow: the LLM picks the digits from your instruction and the conversation, then the node presses them. order: 11#

The Press Digit node (type: "press_digit") presses keypad digits when the flow reaches it. Use it in outbound flows that call businesses with phone menus.

Configure#

  1. Add a Press Digit node.
  2. Write the Instruction. New nodes start with the prompt "Navigate the phone menu to reach a human."
  3. Add transitions for what comes next, for example a prompt transition "A person answered" and another "The menu asks for an account number".

How it runs#

  1. One LLM call reads the conversation (including the menu prompts the agent has heard) and your instruction, and returns a digit string.
  2. Characters other than 0-9, * and # are dropped.
  3. If delay_ms is set, the node waits that long.
  4. The digits are sent as DTMF.
  5. Transitions are evaluated: equations, then prompt transitions and global nodes (separate LLM call), then stay.

Staying in the node means the agent replies with the node's instruction on the next turn; the press digit step itself runs again only when the flow enters the node again. For multi-level menus, chain one press digit node per level.

Fields#

Field Type Description
type "press_digit"
instruction {type, text} Required. Guides which digits to press
delay_ms integer, 0 to 5,000 API only. Pause before pressing. No default: unset presses immediately
edges array of edges
{
  "id": "node_menu",
  "type": "press_digit",
  "name": "Phone menu",
  "instruction": { "type": "prompt", "text": "Choose the option for accounts payable. If there is none, press 0." },
  "delay_ms": 1000,
  "edges": [
    { "id": "edge_human", "destination_node_id": "node_pitch", "transition_condition": { "type": "prompt", "prompt": "A person has answered" } }
  ]
}

Node vs function#

The Press Digit function lets the LLM press digits whenever it hears a menu during a normal conversation, with a default 1,000 ms delay. The node presses once, at a fixed step, with no default delay.