Dograh

How to Build a Synthflow-Like Voice Agent With Open Source Tools

How to Build a Synthflow-Like Voice Agent With Open Source Tools
TutorialDecember 4, 2026·11 min read

How to Build a Synthflow-Like Voice Agent With Open Source Tools

Pritesh Kumar
Pritesh Kumar·Co-founder, Dograh AI

Building Dograh, the open-source alternative to Vapi. OSS and Voice AI. Exit founder and YC alum.

To build a Synthflow-like voice agent with open source tools, describe the agent to an AI builder, refine it on a visual canvas, add tools and a transfer to your team, then call lists through campaigns. For that no-code route on open code, use Dograh, the open-source AI voice agent platform, and self-host it or run it on Dograh Cloud.

Key Takeaways

  • Describe the agent in plain words, approve its requirements, then refine the canvas.
  • Dograh's Agent Builder also works on self-hosted installs linked to a free account.
  • Campaigns retry busy and unanswered calls by the settings you choose.

Synthflow's appeal is that nobody on the team has to write code to get an agent on the phone, from the first prompt to the first outbound list. This walkthrough builds the same no-code agent in Dograh, our open-source AI voice agent platform, through to testing and the first campaign.

What you need before you start

These steps follow the published Dograh and Synthflow docs. Run them on a trial server before production, with a test number and a short list of your own phones, so the first real contact never meets a half-built agent.

You need a server or a Dograh Cloud account, a phone number on a carrier such as Twilio, Telnyx or Plivo, and the systems the agent should reach, such as your calendar or CRM. For the transfer step, keep the number or SIP address of the team that takes escalated calls. A contact list as a CSV file comes in at Step 6.

How Synthflow's building blocks map to Dograh

Synthflow's docs describe the product as Aurora, an AI builder, plus agents, Actions, a Knowledge Base, Campaigns and phone numbers. Each one has a home in this build, shown at product level below, and our guide to migrating from Synthflow covers the node-by-node mapping and number moves for an existing account.

SynthflowWhere it lives in this build
Aurora, the AI builderAgent Builder, which shows Your agent requirements for approval before it builds
Prompt Builder agentOne Agent Node with one prompt
Flow DesignerThe visual canvas, with Start Call, Agent Nodes, pathways, a Global Node and End Call
Actions that call your APIs or book meetingsExternal HTTP API tool and MCP Server tool
Actions that transfer callsTransfer Call tool
Knowledge BaseKnowledge Base Files attached per node
MemoryPre-Call Data Fetch, which looks the caller up in your systems before the greeting
CampaignsCampaigns from a CSV upload, with time slots, retries and a traffic split
Phone numbersTwilio, Telnyx, Plivo, Vonage, Vobiz, Exotel, Cloudonix and Asterisk ARI
Chat agents and the voice widgetAdd to Website, with a Voice Agent or Chat Agent widget
WebhooksWebhook node
Test CenterTest Audio, Test Chat and the QA Analysis node

Step 1: Choose where your agent runs

Open code is the starting point, since it decides who owns the platform. Dograh's code is published under the BSD 2-Clause license, so a no-code team still owns the platform it builds on. A single server with 8 GB of RAM and 4 vCPUs or more runs it through the Docker Compose setup, on-prem deployment comes with Enterprise plans, and Dograh Cloud hosts the same product for teams that skip the server.

Self-hosted Dograh comes with no per-minute platform fee. Servers, model keys and phone minutes still cost money, and your team looks after the database and upgrades. The open-source version is backed by community support, and Enterprise plans include custom SLAs. Dograh Cloud runs everything for a 1¢-a-minute platform fee and includes 10 concurrent calls. Synthflow sells annual Enterprise agreements instead, which our Synthflow pricing breakdown explains.

One setting matters for a no-code build on your own server. The Agent Builder runs on Dograh's hosted models, so a self-hosted install connects to a free Dograh account to use it, with trial credits and no API keys to copy.

Check: You can sign in to the dashboard, and Create Agent under Voice Agents offers Use Agent Builder.

Step 2: Describe the agent to the Agent Builder

The fastest start is a plain-language description of the job, which the Agent Builder turns into a flow once you approve the requirements. You can also start from a blank canvas.

Under Voice Agents, select Create Agent, then Use Agent Builder. The page asks "What should your agent do?", so describe who the agent speaks with and what it must get done, for example "Build me an outbound agent that calls new solar leads, asks about roof type and monthly bill, and books a site visit".

The builder may ask a few questions, then shows Your agent requirements. It lists the information to collect, the business rules, the successful outcome and any assumptions to confirm, so you can catch a wrong guess before anything is built. Select Approve & build, or Request changes and say what to fix. Our post on the AI agent builder for voice walks through every screen.

This is the step Synthflow covers with Aurora, which Synthflow says is available only on its Enterprise plan. Here the builder is open to every Dograh Cloud account and to connected self-hosted installs, and it keeps working after launch. In the Builder tab you describe a change, such as "ask for the ZIP code before booking", and it edits the agent as a draft while the published version keeps taking calls.

Check: After Approve & build, the canvas holds a Start Call node and a step for each part of your requirements.

Step 3: Refine the flow on the visual canvas

The canvas does the job of Synthflow's Flow Designer, and every node the builder made is there to read and edit by hand. Open the Canvas tab and check the Start Call node first, since its Greeting Text is spoken word for word. Then read each Agent Node's prompt.

Pathways join the nodes, and each one carries a condition in plain words that the model reads to choose the next step, such as "the caller agrees to a site visit". Shared rules, such as the persona and when to hand over, go in the Global Node, which is added to every step with Add Global Prompt switched on. An End Call node closes each branch.

To keep answers from the call, turn on Enable Variable Extraction on a node and list the Variables to Extract, such as roof type and preferred visit day. The values land in the call's record, ready for a Webhook node to send on. For a simple line, one Agent Node with one prompt is enough, much like a Synthflow prompt agent.

Check: Each pathway names a clear event, the Global Node carries the persona, and no branch ends without an End Call node.

Dograh

Open Source Alternative to Vapi / Retell

Self-hosted voice agent platform — no per-minute fees

dograh-hq/dograh

Star on GitHub

Step 4: Turn Synthflow Actions into tools

Synthflow's Actions become tools, created under Tools in the sidebar and attached to the nodes that use them. An External HTTP API tool calls your booking system or CRM with the method, endpoint, credential and parameters you set, and an MCP Server tool connects every tool on an MCP server at once. Neither needs code on the agent side, only an API to call.

Write each tool's Description as a rule, such as "Book only after the caller confirms the day and time." The tool waits 5 seconds by default and does not retry, so the prompt should say what to do when a booking fails. Lines set in the tool's Messages card, one When the tool starts and one While the tool is running, fill the pause on a slow request.

Caller details that Synthflow keeps in Memory come from your own systems here. Pre-Call Data Fetch, at the bottom of the Start Call node, sends a POST with the caller's details to an endpoint you run, which returns what the agent should know, such as the caller's name and last visit. Answers from documents come from files uploaded under Files and picked on each node under Knowledge Base Documents, as our post on knowledge-base grounding explains.

Check: In a browser test, asking to book a visit calls the booking tool only after the day and time are confirmed.

Step 5: Hand calls to your team with Transfer Call

Some calls need a person, and the handoff should feel planned, with the rules written before the first call. Write the handoff rules in the Global Node, such as a request for a person or a question about a contract, so every step follows them.

Then create a Transfer Call tool with your team's number or SIP address and attach it where the rules apply. Transfer Call works on Twilio, Telnyx, Plivo, Cloudonix and Asterisk ARI. Dograh calls the destination first and connects the caller only when someone answers.

The tool rings for 30 seconds by default, and you can change the time. If nobody answers, the agent gets "transfer_failed" and keeps the caller, so the prompt should offer a callback and log it through an HTTP API tool. No summary travels with the call, so have a tool write the caller's details to your CRM first. On Twilio, an optional spoken introduction, off by default, is heard by both the caller and the person answering, so keep it to details both may hear.

Check: On a real phone call, asking for a person rings your team's line, and an unanswered transfer comes back to the agent.

Join the Dograh Community

Dograh is an OSS alternative to Vapi. Join our Slack community for queries, releases, best practices & community interactions.

Step 6: Call a contact list with Campaigns

Campaigns are the outbound engine, and they start from a CSV upload in the dashboard. Put each number in a phone_number column. The other columns travel with the call as variables, so a first_name column turns into {{initial_context.first_name}} in the prompt and each call opens with the right name. The Campaigns page lists every field.

Each campaign runs its Call Schedule in one Timezone. It starts on your browser's time zone, or your last scheduled campaign's, so set it to your callers' zone. Then set the retry numbers yourself under Enable Retries, choosing Max Retries, Retry Delay and which results to retry under Retry On, to match your own calling policy.

Max Concurrent Calls caps how many calls run at once, and Agents & traffic split shares one list between two agents or two versions, so you can compare openings on real calls. For outbound calls on agents with separate speech and language models, switch on Enable voicemail and screening handling in the agent's Settings and choose Disconnect the call or Leave a message. Our outbound campaigns guide covers the checks before a full launch.

A spreadsheet of solar leads feeds one campaign, which splits the list between two versions of the voice agent, each opening its calls with a different line. Both versions call homeowners over the phone line, and the finished calls are laid out in two columns on a board so the openings can be compared.
Two versions of the agent can work through the same lead list side by side, each starting its calls its own way. Comparing those finished calls shows which opening to keep for the next campaign.

Check: A one-row campaign to your own phone calls inside the schedule and greets you by the name in the CSV.

Step 7: Test the agent before the first campaign

Test in the browser first, then on a real phone line. Test Audio runs a spoken call in the editor and Test Chat a typed one, and sample values on the Variables tab stand in for the CSV columns your prompt expects. Browser tests count as inbound calls, so add a variable named direction with the value outbound to test the outbound path.

Then use Phone Call in the editor. Transfer Call needs a real phone line. Phone audio differs too, since most calls still arrive as 8 kHz audio while a browser demo runs at 16 kHz. Roof types and street names heard clearly in the browser can come through wrong on a call.

Add a QA Analysis node to score each step of a call, and a Webhook node to send each result to your CRM. The Webhook node adds a call_disposition key, retries temporary failures up to five attempts in all, and also fires on every unanswered try, so your CRM hears about each number on the list.

Check: A phone test reaches the booking step, one transfer connects, and your CRM receives one record per call with its call_disposition.

Before you ship it

Launch on a small slice of the list, read the transcripts, then grow the campaign. Our field view is that QA on a random 5 to 10% of live calls is enough to spot an agent drifting off script without drowning anyone in reviews.

Expect the flow to change after the first real calls, since people talk to an agent differently than to a person. Make those changes in the Builder tab, where they stay a draft until you publish, and run the next campaign on the new version.

Glossary

Agent Builder
Dograh's chat-based builder. You describe the agent, approve the requirements it lists, and it builds the flow on the canvas.
Max Concurrent Calls
A campaign setting that caps how many of its calls run at the same time.
Pre-Call Data Fetch
A Start Call setting that sends a POST with the caller's details to an endpoint you run and hands the reply to the agent before the greeting.
Traffic split
A campaign setting, Agents & traffic split, that shares one contact list between two agents or versions so you can compare them.

Frequently Asked Questions

Get started with Dograh

Build, deploy, and scale AI agents with Dograh. Join the community of developers building the future.