title: How to keep track of what question user is responding to?
body: <p>Some questions my messenger chatbot is asking require textual input. In the <a href="https://developers.facebook.com/docs/messenger-platform/send-messages/template/button/" rel="nofollow noreferrer">button template</a> I can set the <strong>payload</strong> so I know what exactly user chosen and handle it based on that. But with textual responses I need to filter if user answer is somehow related to "Change address, Billing, Returns, etc." <strong>For example:</strong></p>
  
  <pre><code>bot-question: What is your new phone number?
  user-answer: +123 123 12345
  </code></pre>
  
  <p>And now in the back-end I'm doing this:</p>
  
  <pre><code>if(user-answer in_array('billing keywords') {
      // code
  } elseif (user-answer in_array('delivery keywords')) {
      // code
  } elseif (user-answer in_array('payments keywords')) {
      // code
  } elseif (user-answer in_array('change-phone-number keywords')) {
      // Finally got where I wanted 
  }
  </code></pre>
  
  <p>Isn't it possible to somehow add some tag to bot-question, so I would already know that the answer will be related to <code>change-phone-number keywords</code>? For example like this:</p>
  
  <pre><code>  "template_type" =&gt; "text",
    "text" =&gt; "What is your new phone number?",
    "payload" =&gt; "changing_phone_number"
  </code></pre>