Describe the problem/error/question
I’m trying to use N8N to mock up a web site user interface. Intuitively it feels like this should be easy with N8N and I’ve been able to achieve something close to what I’m looking for using a form trigger node, an if node, and two form nodes after that (one for each branch of the if node). I can do that using one of the native form node elements but when I try to have buttons or links - like you would see on a navigation bar on a website - I can’t figure out how to do that. I’m here asking because I’m trying to cut down the learning curve to achieving a simple example so I can get on with mocking up different configuration of systems to use for the site I’m planning. I thought N8N would make that super easy so that I could iterate fast on different system designs.
Right now all I want to do is simple two choices based on links as element to interact with so if you click one you go to one form and if you click the other you go the other form. I’ve tried using a custom html element in a trigger node to get buttons instead of what’s otherwise natively available in that node but have failed miserably and for a long time.
Here’s the last code I tried. The node executes and the buttons are displayed but they aren’t clickable and there is no corresponding output that could be useful in a following node (eg: an if or switch node). Ultimately, I’ll eventually want to mock up a menu sidebar that uses links to navigate. I understand programming concepts and can write some simple code and html but its been a long time and I didn’t want to get bogged down before being able to do this. Can anyone show me understand without using jargon how to do this?
HTML I Used:
Choose which form you want:
Button A Button BInformation on your n8n setup
- n8n version: 2.0.2 (locally installed)
- Database (default: SQLite): Default
- n8n EXECUTIONS_PROCESS setting (default: own, main): Don’t know
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Ubuntu 24.04