# If/Else is two ways. Case is more

- If/Else has two branches. The modules chapter includes both If/Else and Case. When you need three or more outcomes, Case is the block that exists for that. Nesting If/Else until the drawing looks like a hedge is how scripts become unreviewable.
- The condition is your expression: open hours, a variable, a lookup result. The module does not know your business. It evaluates what you typed.
- Match branch count to the module
- Keep conditions readable

## Sources and go deeper

- [If/Else module](https://documentation.five9.com/bundle/ivr-admin/page/ivr-admin/modules/ifelse-module.htm). vendor. last checked 2026-10.
- [IVR modules](https://documentation.five9.com/bundle/ivr-admin/page/ivr-admin/modules/_ch-modules.htm). vendor. last checked 2026-10.
- [Interactive voice response](https://en.wikipedia.org/wiki/Interactive_voice_response). wikipedia. last checked 2026-10.
