Recipes are focused, working examples for the patterns you’ll build most often. Each recipe shows the complete code, explains the key decisions, and flags common mistakes.Documentation Index
Fetch the complete documentation index at: https://docs.poly.ai/llms.txt
Use this file to discover all available pages before exploring further.
Recipes assume you’re comfortable with functions and basic return values. Most Level 2+ learners can use them directly; Level 1 learners should finish the core lessons first.
Available recipes
SMS confirmation
Send an SMS after collecting consent. Handles the full consent → send → confirm loop.
Retry with handoff
Deterministic retry counter that escalates to a live agent after N failures.
Caller ID validation
Collect and verify a caller’s identity before proceeding to sensitive information.
Intent-based routing
Route calls to different destinations based on what the caller says they need.

