Update n8n form trigger node to enable getting a query param

The idea is:

The “n8n Form Trigger” node does not give me the query params as input.

My use case:

I’m making a bot for Telegram with n8n. The idea is that when the user chats with the bot, it consults a local bank and if the chatId is not associated with a user ID from a third-party system in the internal bank, it displays a message from Telegram with a button to “log in”.

The idea is there, when the user clicks on the link I would redirect him to a n8n form asking him for a username and password. However, to complete this connection I would need to know the Telegram “chatId”. I have this when I generate the first message, but in the form I can’t validate this because I can’t start the form by passing a predefined value. I thought I could retrieve a query param and complete my flow.

I think it would be beneficial to add this because:

I would be able to validate the user without having to create an interface for it.

Any resources to support this?

There is no documentation for this.

Are you willing to work on this?

I’ve never edited the original n8n source code, but I can try.

@hiagosilvas Hey!
I have suggested the same thing. Maybe someone will check this and implement it :slight_smile: