The problem is creating a survey bot: Cannot figure out a way to render questions sequentially in Slack. We are using node to write the API and testing in POSTMAN. When integrating to slack it grabs all questions together rather than one by one.
Currently, the questions are being created using ‘blocks’. It’s one block we with three different sections in it. The slack docs don’t have much about sending them one by one after one question is being answered.
What type of If conditional can we use to gain the sequential format rather than all as one?
blocks: [
{
type: "section",
text: {
type: "plain_text",
text: `${title}`
}
},
{
type: "section",
block_id: "question1",
text: {
type: "plain_text",
text: `${question_1}`
}
},