N8n Chat Interface WebApp as workflow with Vue3 (complete webesite with login)


Tying to learn how to use n8n, I created a complete webserver/webapp with common nodes.

*Yeah I know - sounds overkill. Worked on it the last 5 days. *

I tried to make it as reusable as possible (as far as I am currently able to).

It should be possible to create any kind of form, configuration interface (like for home automation) and more.

Included is a login system that uses a real browser session.

The UI is made with VUE3 components (typescript is possible use), using vueEngine to be able to use it in n8n.

I will probably create future versions

Version 1.0.0

What it has

  • with routes
  • with real session
  • uses JWT for session data
  • with login auth
  • with re-login by JWT

no login token or alike needed by any request, like any WebApp/WebSite

:warning: SETUP

  1. You need to set a passphrase for JWT nodes (it must be the same for each one).
  2. You need to configure the AI Agent node with the needed API key.

workflow to copy and paste:

(this is to large for a post here)

how it started (using vueEngine)

… this was allready the 3rd step up from just sending basic html, trying how to handle post and integrating a basic vueEngine setup.

workflow to copy and paste:

1 Like

Hey @BananaAcid Welcome to the community!

Really cool to see this type of exploration into frontend solutions within n8n. There was a recent livestream on the frontend topic which you can find here: https://www.youtube.com/watch?v=JXTPdf4X9xc&t=3012s - this showcase would have been a nice inclusion!

I would advise moving this showcase to the Built with n8n category to get more visibility. The Tips & Tricks category won’t show for a majority of members with the default forum settings.

Another good idea is starting your own n8n creator page where you can host and share your templates and even sell the really good ones!

All the best!

1 Like

Hi, thank you very much @Jim_Le,
great suggestions - but I don’t seem to be able to edit the post anymore to move it?