setAppState function of the xApp flow API with an app template URL set to generic-html and app template data that contain the generated HTML code.
After you implement the node, the generated HTML appears within the app screen, similar to the xApp: Show HTML node. This approach lets you edit a specific part of the page through node fields instead of modifying the entire page content. This streamlined process focuses on the changes that the dialog needs.