title: Dialogflow: Respond based on values and other conditional responses
body: <p>I have <code>$dinetype</code> variable obtained from the user.</p>
  
  <p><a href="https://i.stack.imgur.com/X5aRe.png" rel="noreferrer"><img src="https://i.stack.imgur.com/X5aRe.png" alt="enter image description here"></a></p>
  
  <p>But I would like to give response based on what value has been set in <code>$dinetype</code> variable. In addition to giving responses, I also need to set relevant context. How do I do this in DialogFlow?</p>
  
  <p><a href="https://i.stack.imgur.com/bAaIG.png" rel="noreferrer"><img src="https://i.stack.imgur.com/bAaIG.png" alt="enter image description here"></a></p>
  
  <pre><code>if($Dinetype=='dineout') 
        ask ('which restaurant would you like to go to?')
        set_context ('awaiting-restaurant')
  if($Dinetype=='takeaway') 
        ask ('When would you like to take away?')
        set_context ('awaiting-takeaway-time')
  </code></pre>
  
  <p>Is it programmable at all? Or is it possible to achieve something equivalent to the above in the UI?</p>