<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: anusha</title>
    <description>The latest articles on DEV Community by anusha (@botoclock).</description>
    <link>https://dev.to/botoclock</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4004284%2Fc7c15289-9b22-479c-b291-b944235c5687.jpg</url>
      <title>DEV Community: anusha</title>
      <link>https://dev.to/botoclock</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/botoclock"/>
    <language>en</language>
    <item>
      <title>Building Voice AI Workflows with Branches Instead of One Giant Prompt</title>
      <dc:creator>anusha</dc:creator>
      <pubDate>Fri, 26 Jun 2026 16:54:07 +0000</pubDate>
      <link>https://dev.to/botoclock/building-voice-ai-workflows-with-branches-instead-of-one-giant-prompt-384c</link>
      <guid>https://dev.to/botoclock/building-voice-ai-workflows-with-branches-instead-of-one-giant-prompt-384c</guid>
      <description>&lt;p&gt;I built a Telnyx Conversational Workflows example for auto insurance claim intake.&lt;/p&gt;

&lt;p&gt;The main idea is simple: when a voice agent has to do a lot, one big prompt can get hard to manage.&lt;/p&gt;

&lt;p&gt;For intake calls, there are usually a bunch of paths to handle:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;missing information&lt;/li&gt;
&lt;li&gt;safety checks&lt;/li&gt;
&lt;li&gt;fallback paths&lt;/li&gt;
&lt;li&gt;priority follow-up&lt;/li&gt;
&lt;li&gt;backend tool calls&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This example models the call as a workflow instead of putting everything into one prompt.&lt;/p&gt;

&lt;p&gt;The workflow handles the conversation path. A small Node.js/Express backend exposes tool endpoints for structured actions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;POST /tools/create-claim-intake&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;POST /tools/log-claim-intake-fallback&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;POST /tools/flag-priority-follow-up&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;GET /health&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I like this pattern because it makes the flow easier to inspect. You can see the nodes, branches, and tool calls instead of trying to debug everything from prompt behavior.&lt;/p&gt;

&lt;p&gt;Run it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/team-telnyx/telnyx-code-examples.git
&lt;span class="nb"&gt;cd &lt;/span&gt;telnyx-code-examples/build-conversational-workflow-nodejs
&lt;span class="nb"&gt;cp&lt;/span&gt; .env.example .env
npm &lt;span class="nb"&gt;install
&lt;/span&gt;npm &lt;span class="nb"&gt;test
&lt;/span&gt;node server.js
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Code example:&lt;/p&gt;

&lt;p&gt;[&lt;a href="https://github.com/team-telnyx/telnyx-code-examples/tree/main/build-conversational-workflow-nodejs" rel="noopener noreferrer"&gt;https://github.com/team-telnyx/telnyx-code-examples/tree/main/build-conversational-workflow-nodejs&lt;/a&gt;]&lt;/p&gt;

</description>
      <category>voiceai</category>
      <category>ai</category>
      <category>node</category>
      <category>telnyx</category>
    </item>
    <item>
      <title>Building a Reusable Voice Agent with Runtime Configuration</title>
      <dc:creator>anusha</dc:creator>
      <pubDate>Fri, 26 Jun 2026 16:38:56 +0000</pubDate>
      <link>https://dev.to/botoclock/building-a-reusable-voice-agent-with-runtime-configuration-3175</link>
      <guid>https://dev.to/botoclock/building-a-reusable-voice-agent-with-runtime-configuration-3175</guid>
      <description>&lt;p&gt;I built a small Telnyx Voice example around a pattern I keep running into: one voice agent, multiple business contexts.&lt;br&gt;
For appointment scheduling, a dental office, medical clinic, and physical therapy practice often need the same basic call flow. The assistant still answers the call, collects appointment details, and confirms the next step.&lt;/p&gt;

&lt;p&gt;What changes is the business context: name, hours, services, tone, and greeting.&lt;/p&gt;

&lt;p&gt;Instead of creating a separate assistant for every business, this example uses one reusable base assistant and applies runtime instructions when the call starts.&lt;/p&gt;

&lt;p&gt;The flow is:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Caller dials a Telnyx number.&lt;/li&gt;
&lt;li&gt;The webhook checks which number was called.&lt;/li&gt;
&lt;li&gt;The number maps to a business config.&lt;/li&gt;
&lt;li&gt;The server renders the right instructions and greeting.&lt;/li&gt;
&lt;li&gt;Telnyx starts the assistant with that runtime context.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That makes it easier to reuse one assistant pattern across multiple businesses without copying the whole assistant setup.&lt;/p&gt;

&lt;p&gt;Run it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/team-telnyx/telnyx-code-examples.git
&lt;span class="nb"&gt;cd &lt;/span&gt;telnyx-code-examples/provisional-telnyx-voice-api-agents-nodejs
npm &lt;span class="nb"&gt;install
cp&lt;/span&gt; .env.example .env
npm run dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can also preview a generated payload:&lt;br&gt;
&lt;code&gt;npm run preview -- smile-dental&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Code example:&lt;br&gt;
[&lt;a href="https://github.com/team-telnyx/telnyx-code-examples/tree/main/provisional-telnyx-voice-api-agents-nodejs" rel="noopener noreferrer"&gt;https://github.com/team-telnyx/telnyx-code-examples/tree/main/provisional-telnyx-voice-api-agents-nodejs&lt;/a&gt;]&lt;/p&gt;

</description>
      <category>voiceai</category>
      <category>ai</category>
      <category>node</category>
      <category>telnyx</category>
    </item>
    <item>
      <title>Outbound Voice Agent that Drops Out on Hold and Rejoins When a Human Answers</title>
      <dc:creator>anusha</dc:creator>
      <pubDate>Fri, 26 Jun 2026 16:11:34 +0000</pubDate>
      <link>https://dev.to/botoclock/outbound-voice-agent-that-drops-out-on-hold-and-rejoins-when-a-human-answers-4l73</link>
      <guid>https://dev.to/botoclock/outbound-voice-agent-that-drops-out-on-hold-and-rejoins-when-a-human-answers-4l73</guid>
      <description>&lt;p&gt;Outbound hold agent with Telnyx Voice&lt;/p&gt;

&lt;p&gt;This Python example shows how to handle outbound calls where the agent has to wait on hold. It places an outbound call, uses an assistant for IVR/menu navigation, pauses during hold, and resumes when a human representative answers.&lt;/p&gt;

&lt;p&gt;[&lt;a href="https://github.com/team-telnyx/telnyx-code-examples/tree/main/outbound-hold-agent-python" rel="noopener noreferrer"&gt;https://github.com/team-telnyx/telnyx-code-examples/tree/main/outbound-hold-agent-python&lt;/a&gt;]&lt;/p&gt;

&lt;p&gt;Check out the full example here.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>voiceai</category>
      <category>agents</category>
      <category>api</category>
    </item>
  </channel>
</rss>
