Skip to main content

How do I route calls with custom logic, such as to thousands of reps?

For routing with a very large list or many rules, use the custom code step in a workflow. You do not need to know how to code: tell the AI assistant what you want.

For example, load your reps into a small database with their availability and the states they cover, and have the code output the phone number of the rep who should get the call. Then use that number as a variable on the call forwarding step.

In the code step you choose your runtime and compute and get an editor with terminal access. You can also use the web app builder to make a small back end page to manage the reps, for example to deactivate someone who calls in sick.