Help needed: How to get three input sequentially from Telegram trigger?

I want to ask within the Telegram bot three questions sequentially.

  1. What’s the name of the product?
    User answered
  2. What’s the description of the product?
    User answered
  3. Upload a photo.
    User answered

But how can I do that? Cause if you do it step-by-step, when user answers the second questions, the first question will come up too.

Like I want to get three variables here, for example “productName”, “productDescript” “photo_file”. So I can use them in next following nodes.

I am new with n8n and programming. Can u help me out?

you can make states inside n8n with step like 1 2 3 etc, and then excute them in order with loop
But honestly i think it will be way better if you just make a node script with a switch statement

1 Like

How can I know which questions they answering? within the switch.