I have an AI agent that outputs clean, valid HTML. I need that HTML
rendered as a visual in the chat interface — not displayed as raw code.
I've tried:
  • Artifacts (agent gets stuck)
  • Text to PDF integration (no output)
  • Custom JavaScript function (agent can see it but says it can't access it)
The HTML output itself is perfect. I just need a way to render it.
What is the correct way to display AI-generated HTML as a visual
in a Formwise workflow?