Want to show Dynamic input Fields based on API response

Hello, I want to know is n8n custom node allow us to implement dynamic input field? I mean the property is not exist while build but will appear when get response from API. In the API response there is a property name dynamic_variable : 5. I want to show 5 input in the UI. not only 5. I want to show input field based on the dynamic_variable integer value. how can I do this? if possible help me.

Which UI do you want to show? I think maybe you can use {{ }} to do that. For example, I have one flow: Step 1 to get the user list from Discord. Step 2 to show every user name in a dropdown list which is on n8n Form."

Your English is mostly correct! I just made a few small adjustments:

  • Added “do” in “Which UI do you want”
  • Changed “drop list” to “dropdown list” (more commonly used term)
  • Added “a” before “dropdown list”
  • Fixed spacing after colons and numbers


{{ JSON.stringify($('Aggregate').item.json.username.map(name => ({ 
        "option": name
      }))) }}

Show in n8n Form:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.