title: Actions on Google - handling carousel responses from dialogflow
body: <p>I've created a simple Google Assistant interface using DialogFlow with several Carousels that I want to be able to chain together.  Whenever I touch a carousel option though, it always goes to the first Intent that has the actions_intent_OPTION event specified.  I can get to all of my screens using voice commands, but I'm not sure how to process the touch commands to send the user to right Intent.</p>
  
  <p>Current code in webhook:</p>
  
  <pre><code>const party = 'party';
  const cocktail = 'cocktail';
  const SELECTED_ITEM_RESPONSES = {
    [party]: 'You selected party',
    [cocktail]: 'You selected cocktail',
  };
  
  function carousel(agent) {
      //agent.add(`Item selected`);
      app.intent('actions.intent.OPTION', (conv, params, option) =&gt; {
        let response = 'You did not select any item from the list or carousel';
        if (option &amp;&amp; SELECTED_ITEM_RESPONSES.hasOwnProperty(option)) {
          response = SELECTED_ITEM_RESPONSES[option];
        } else {
          response = 'You selected an unknown item from the list or carousel';
        }
        conv.ask(response);
      });
  }
  </code></pre>
  
  <p>If I leave the agent.add() line in, then I get "Item selected"... but if I try to use the app.intent code, it says I'm just getting an empty speech response.</p>
  
  <p>I was trying to create 1 intent called CarouselHandler to process all the menu selections.  I used the sample code to call the carousel() function when that intent gets hit by the event.</p>
  
  <pre><code>  let intentMap = new Map();
    intentMap.set('Default Welcome Intent', welcome);
    intentMap.set('Default Fallback Intent', fallback);
    intentMap.set('CarouselHandler', carousel);
    agent.handleRequest(intentMap);
  </code></pre>