Learn how to use a condition splitter in your call flow design that will route callers to different branches depending on different data associated with the caller.
User Role:
Admin
The Condition Splitter
A Condition splitter step allows the use of contact or call information stored in CloudTalk to decide the route a call will take in the call flow. You can set logical conditions to filter incoming calls into different subsequent actions. These filtering conditions can be based on details about a caller's phone number—like a country code—or information stored about a saved contact, such as tags, industry, our custom attributes.
Add Into Call Flow
To add a Condition splitter step to a call flow:
From the dashboard, navigate to the Numbers tab. Select the
blue pencil icon
next to the number you want to edit or design a route for.Select the
+ icon
on the step you want a condition splitter to follow.Choose Condition splitter. Confirm.
Select the
+ icon
on your Condition splitter step to start a new condition branch. You can set one or more optional conditions:Choose the action you want to happen when calls meet this condition.
Set up the action details. Under Condition Splitter settings, select Add new.
Use the Property, Operand and Value fields to create a logical statement. When this statement is
True
for an incoming call, the call will flow into this action branch and any branches following it.
Recommended—Always make a failover branch after you are done making your optional conditions:
Save changes to your call flow. If possible, we recommend running some test calls to see if your condition logic is working as intended.
Condition Splitter Logic
Property
Select the data you want to observe about the call. This can be call data or contact data, if the caller is stored as a contact in CloudTalk.
When setting a Value for each Property type, make sure you enter the data in the right format. Pay attention to letter casing, spaces, and spelling. Ensure phone numbers or prefixes are in E.164 format.
Call data
Call - External number
Call - Internal number
Call - Waiting time (in seconds)
Contact data
Contact - Name
Contact - Title
Contact - Company
Contact - Industry
Contact - Address
Contact - City
Contact - ZIP Code
Contact - State
Contact - Tags
Contact - Custom fields
Contact - Type
Operand
Choosing an appropriate operand is important for your condition to run correctly. Different operands will be available for different property types.
Spaces count! When you tap the space bar, this is included as a character in the match comparison that your operand performs. Take caution, particularly when using ends with and is equal to operands.
Call flow not working for these condition types? Check:
Did you include a space at the end of your Value input?
Is it possible that a space was saved at the end of the contact's data entries being checked?—If this is a concern for you, we recommend switching to a contains operand.
Operand Type | Logic | Match Examples | Use Case Notes |
is equal to | only | Contact - ZIP Code is equal to 10100
✅
❌
|
|
is not equal to |
| Contact - ZIP Code is not equal to 10100
✅
❌
|
|
starts with |
| Call - External number starts with +420
✅
❌
|
|
ends with |
| Contact - ZIP Code ends with 51
✅
❌
|
|
contains |
| Contact - Tags contains (select tag) VIP
✅
❌
|
|
is set |
| Contact - Name is set
✅
❌
|
|
is empty |
| Contact - State is empty
✅
❌
|
|
Have more questions? Contact our Support team. We're always happy to help!