I tried running one of the demos using slacks apis, specifically for interactive messages.
I want to do the following:
- ask the user question 1
- ask the user question 2
- ask the user question 3
What I don't understand is how do I know when the user is responding to a particular question?
Say in my database I have a questions table, where I store question #1, #2 and #3 etc.
When I get a response from a user, depending on the question_id I will then trigger the next question.
How do I know exactly which question the interactive message originated from? is there a way for me to get the question_id in the payload?