> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://poly-ai.ferndocs.com/advanced/code-driven-flows/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://poly-ai.ferndocs.com/_mcp/server. # Code-driven flows ## Docs - [Transition functions](https://poly-ai.ferndocs.com/advanced/code-driven-flows/transition-functions.md): Use transition functions to control how your agent moves between steps and flows - [Flow object](https://poly-ai.ferndocs.com/advanced/code-driven-flows/object.md): The Flow object controls step transitions and exposes the current step name in a flow. - [ASR biasing](https://poly-ai.ferndocs.com/advanced/code-driven-flows/asr-biasing.md): Configure flow steps to improve speech recognition accuracy for structured inputs like codes and names. - [DTMF](https://poly-ai.ferndocs.com/advanced/code-driven-flows/dtmf.md): Collect keypad input in flow steps with configurable digit limits, timeouts, and optional recording opt-out. - [Few-shot prompting](https://poly-ai.ferndocs.com/advanced/code-driven-flows/few-shot-prompting.md): Guide the LLM with example user inputs and expected agent responses to improve accuracy in flows and topics.