Intro

Remember the problem we ran into in the exercises towards the end of the lesson on entities and parameters? We always gave the same order summary output independently of whether the user ordered fries or not. This could lead to an output like We've got a Hamburger together with $session.params.fries-size and $session.params.condiment-type and a medium Coke. at the end of the conversation. In this bonus lesson I’ll show you several ways to use parameters and conditions to circumvent this problem. That way we dive a bit deeper into what you can do with parameters and conditions.

<aside> 💡 About the timing of this bonus lesson: Since the lesson on parameters was already quite long, I decided to cover this in a separate bonus lesson. This is a bit of an advanced topic and you can also skip over it for now if it doesn’t seem super relevant to you and come back later.

</aside>


Adding multiple conditions

The rest of this chapter is hidden. You can buy the full course here.