Customer Support

Five9 after-hours and overflow call routing to an AI voice agent

In Five9, an IVR time check (DAY, TIME, DATE) and a queue check send after-hours and overflow calls to the AI voice agent's number, and the agent returns each call with the route Five9 acts on.

Synthflow runs this through Five9's AI Agent Connect, where Five9 documents it as an accredited third-party AI provider.

Synthflow's AI voice agents answer the calls your Five9 script sends them when you are closed, on a holiday or when the queue is full: they resolve routine requests, take the details for a callback and hand every other call back to a Five9 skill, voicemail box or on-call number. Callers dial the numbers they dial today, and routing, queues and reports stay in Five9. Buyers on Five9 also weigh Five9's own Voice AI Agents, Regal and Decagon.

Synthflow on Five9

Synthflow on Five9: what is said of Synthflow, and who says it
What is said of SynthflowWho says it
"an accredited third-party AI provider"Five9's Synthflow Implementation Guide
"Best enterprise-scale voice AI for after-hours automation", live transfer scored 5 out of 5CloudTalk's review of after-hours AI receptionists
4.5 out of 5, from 1,000+ reviewsG2
"now Five9-accredited for seamless integration with the Five9 Intelligent CX platform", "A G2 Grid Leader for AI Agents"Five9 CX Marketplace
One of only two Pioneering providers for Voicebot/Conversational IVR, of 27 vendors evaluatedCustomer Management Practice (the report)
Five9 is a Tier 1 integration, "Actively tested and supported"Synthflow docs
1M+ calls daily for 100+ enterprise customers, 99.99% uptimeSynthflow facts

Enterprises run Synthflow on the calls nobody is free to take. Across Freshworks deployments, Synthflow's voice AI automates up to 65% of routine voice requests, "from routing and verification to FAQs and after-hours ticket creation", with a 75% reduction in wait times: "Calls are answered instantly - even outside business hours or during peak load" (Freshworks x Synthflow). Batteries Plus runs Edison, "an AI voice assistant developed with Synthflow that answers store calls in both English and Spanish" (PYMNTS), across more than 700 stores, and "customers who prefer not to speak to an AI can be routed to a person" (AIM Media House).

Thryv turned a directory assistance line into a 24/7 channel with Synthflow, with complex or edge-case requests escalating to human agents. A $230M BPO runs 600K+ calls a month across 40+ AI agents (Synthflow security), and companies using Synthflow for overflow and after-hours coverage report 80%+ of missed calls answered by AI and a reduction in voicemail volume by 60% (AI call routing).

Book a demo to map your Five9 after-hours and overflow calls with Synthflow's team.

The call path on Five9

Five9's implementation team builds the IVR from the Synthflow IVR Transfer Template v1 (Five9's guide). The after-hours and overflow branches sit ahead of its transfer:

  1. Holiday check.

    A Case module on DATE sends each holiday date to the agent; its No Match branch goes on.

  2. Hours check.

    If/Else modules on DAY and TIME send calls outside your hours to the agent.

  3. Queue check.

    A System Info module reads the skill's statistics, and an If/Else sends the call to the agent when nobody is ready or the queue is long.

  4. Queue timeout.

    A caller who waits past the Skill Transfer module's Max Queue Time leaves by its error branch to the agent.

  5. The agent.

    A Third Party Transfer sends the call to the agent's AI phone number with Five9's call variables on the SIP INVITE, among them call.ANI, call.campaign_name and call.start_timestamp (Synthflow's Five9 guide).

  6. The return.

    The agent's Five9 Handoff action sends X-RouteType, X-RouteValue and X-RouteReason on the SIP BYE; Five9 writes them into the Synthflow call variables and routes the call to a skill, an agent or a number, or ends it.

  7. Early hang-ups.

    If the caller hangs up first, the Query module fetches what the agent collected from the Synthflow API.

Every setup step for the integration itself, from the activation to the handoff headers: Synthflow's Five9 integration.

Business hours and holiday routing in the IVR

Five9 gives two places for the hours rule:

Two places for the hours rule in Five9
Where the rule sitsHow it worksFits
The campaign's IVR scheduleThe IVR tab schedules scripts "by days of week, holidays, time ranges, and date ranges"; outside them the default script runs (Five9)An after-hours script of its own that transfers to the agent
Inside one scriptThe script is scheduled all day long, with If/Else modules on TIME and DAY and a Case module on DATE (Five9)Many campaigns, with hours changed in one place

Five9 sets DATE, DAY and TIME "in the time zone of the campaign that contains the IVR", and DAY runs from 1 for Sunday to 7 for Saturday (Five9). Monday to Friday, 8:00 to 17:00, is DAY 2 to 6 and TIME 08:00 to 17:00. For holidays, Five9's own article starts the script with a Case module on DATE, one branch per holiday date (Five9); point each holiday branch at the agent in place of a recorded prompt. For callers across time zones, Five9 looks up the caller's zone from the area code before the hours check (Five9).

Overflow when the queue is full

Two overflow triggers in Five9, their modules and how Five9's reports count them
Overflow triggerFive9 modulesIn Five9's reports
Nobody ready, or a long queue, before the caller queuesSystem Info on Statistics: Skills (Agents Ready for Calls, Calls In Queue, Longest Queue Time), then If/ElseNot tagged abandoned, since the call never enters the Skill Transfer module (Five9)
The caller waited past the Max Queue TimeSkill Transfer with voicemail off; its error branch takes "an unresolved queue timeout" (Five9)Counted as abandoned on that module (Five9); the Synthflow call variables show the agent took it

Use both: the check before the queue for spikes, the timeout for callers already waiting when the answer rate drops. Five9's own example of this check routes the call to a Third Party Transfer module.

Worked example: where to draw the line

Five9 estimates a caller's wait as their place in the queue divided by the skill's answer rate over the last 15 minutes: 45 calls answered in 15 minutes is 3 a minute, so the 6th caller waits 2 minutes and the 9th waits 3 (Five9). To keep every wait at 2 minutes or less at that rate:

Worked example: the overflow settings that keep every wait at 2 minutes or less
SettingValueWhy
If/Else on Calls In QueueMore than 5: to the agentThe 7th caller would wait 2 minutes 20
If/Else on Agents Logged In0: to the agentNobody is on the skill at all
Skill Transfer, Max Queue Time2:00, voicemail offCatches callers when the rate drops
Concurrency with SynthflowOverflow calls in your busiest hour x minutes per call / 60, with room above it90 calls of 4 minutes is 6 calls at once on average

For an enterprise deployment, Synthflow scopes concurrency to your expected volume and queueing before launch (Synthflow docs).

Closed-hours call or overflow call

The agent greets a 2 a.m. caller differently from one who waited through a Monday peak, so it needs to know which branch sent the call:

  • One agent, one header. Five9's team adds a variable in the SetHeaders module, such as the branch name (Five9's guide). Synthflow turns each X-header on the INVITE into a variable the prompt reads from the first turn (Synthflow docs).
  • One agent per branch. Each branch's Third Party Transfer dials its own AI phone number: two of the ten.

Leave Limit agent to business hours off on this agent: "While the toggle is off, the agent takes calls at any time on any day" (Synthflow docs), and the Five9 script decides which calls reach it.

What the agent does, and where each call goes

Each row is one Five9 Handoff action in Synthflow, with its condition in plain words (Synthflow's Five9 guide). Agree the route types and values with your Five9 team.

What the agent does with each after-hours and overflow call, and the route it returns to Five9
CallThe agentX-RouteTypeX-RouteValueX-RouteReason
Closed, routine questionAnswers from the knowledge base or your systemshangupnoneResolved after hours
Closed, needs a personTakes name, number and reason, writes the callback requesthangupnoneCallback requested
Closed, urgentGathers the facts, hands back at onceexternalthe on-call numberExtracted: what is urgent
Closed, wants voicemailHands backskillAfterHours_VMMessage asked
Overflow, resolvedResolves the requesthangupnoneResolved in overflow
Overflow, needs the teamVerifies the caller, gathers detailsskillthe original skillExtracted: call reason

A callback request goes where your morning team works: a custom action writes it to your CRM or help desk during the call, and X-CustomMetaData can carry a short summary back to Five9. For the voicemail row, a Skill Transfer to that skill with "Queue calls when no agents in queue" unchecked and "On queue timeout expiration" checked sends the caller to its voicemail box (Five9's Skill Transfer module), as Five9's support sets up after-hours voicemail (Five9 community). Five9's reports then show route_reason for every call the agent handed back.

Early hang-ups

A caller who hangs up mid-call never reaches the Five9 Handoff, so no route headers come back. Five9's template then runs the Query module, which "calls the Synthflow API with your bearer token to retrieve the data collected up to that point" (Synthflow's Five9 guide), so a half-taken callback request still reaches your reports.

Ten AI phone numbers

Five9 provides "a range of 10 AI phone numbers" for each customer, and "each AI agent is assigned a phone number" (Five9's guide).

How many of the ten AI phone numbers each setup takes
SetupAI phone numbers
One agent for after hours and overflow, told apart by a header1
One agent per branch2
One agent per brand or language, each for both branches1 each
Several Five9 domains sending calls to the same agentShared: the domains "use the same phone number range and call routing"

Brief for your Five9 team

Five9's implementation team configures the IVR (Five9's guide). Bring them:

Run the agent through Synthflow's Test Center before the first Five9 test call.

FAQ

How do I route calls after hours in Five9?

Five9 routes after-hours calls in the IVR. Either the campaign's IVR tab schedules an after-hours script, or one script that runs all day checks DAY and TIME with If/Else modules. The closed branch can play a prompt, go to a voicemail skill or, through AI Agent Connect, transfer to an AI voice agent such as Synthflow's that answers the call.

How do I set up holiday routing in Five9?

Start the IVR script with a Case module on DATE, one branch per holiday date, as Five9's own article does. The No Match branch goes on to the regular hours check, and each holiday branch can play a prompt or transfer the call to the AI agent's phone number.

How do I send Five9 overflow calls to an AI agent?

Check the skill before the caller queues with a System Info module (Agents Ready for Calls, Calls In Queue) and an If/Else that sends the call to the Third Party Transfer, or connect the Skill Transfer module's error branch, which a queue timeout takes, to the transfer. Five9 notes that the first way keeps the call from being tagged abandoned.

Which AI voice agents handle after-hours calls on Five9?

Synthflow's AI voice agents take Five9 after-hours and overflow calls through AI Agent Connect, where Five9 documents Synthflow as an accredited third-party AI provider, and CloudTalk's review names Synthflow the best enterprise-scale voice AI for after-hours automation. Five9 also sells its own Voice AI Agents, and buyers weigh Regal and Decagon too.

Can the AI agent put an urgent caller through to the on-call person?

Yes, through Five9. The agent ends with a Five9 Handoff action that returns X-RouteType external and the on-call number in X-RouteValue, and Five9 makes the transfer from your workflow. X-RouteReason tells your reports why the call went there.

What happens if the caller hangs up before the agent finishes?

Five9's Query module calls the Synthflow API and retrieves the data the agent collected up to that point. The call's details still reach your Five9 reports and your morning team.

Next steps

Share this article

Ready to scope enterprise voice AI?

Talk with our experts about call volume, integrations, security, and launch support for your enterprise voice AI rollout.