I want to know how to return an HTML interface through a webhook. I want to use the n8n webhook node and HTML node to access the pages of several remaining apps. Is this possible?
I cannot share my workflow here by pasting it。
I also want to use the vue.js framework to render this HTML. I’m not sure if this is possible. Is there any expert who can help me answer this question? Thank you very much.
Yeah that works, but by default the response will be JSON. You can change that to ‘text’ and return HTML:
Thank you very much, but I have encountered another problem. I referenced Vue and element ui as the basic HTML framework.
But it’s not optimistic. I saw a prompt saying ‘Type ctrl+space for completion. Use {{}} for expressions andtags for CSS. JS intags are included but not executed in n8n.’ Does this mean that vue.js cannot run here?
Hey @jiangzai,
As vue typically needs to be complied you would need to return each of your built files as webhooks, Making simple web interfaces with plain html / javascript is possible and you can include things like jQuery or bootstrap if needed but I wouldn’t try or recommend returning a full web app.
Are you able to share a bit more about what you are actually trying to do?