shared_render_tabbed_report
Render multi-section HTML reports with sidebar navigation, icons, and badges from JSON data. Includes mobile-responsive tabs and scroll-to-section highlighting.
Instructions
Renders a multi-section HTML report with sidebar navigation, section icons, and badges. Accepts a JSON payload with title, subtitle, and sections array. Each section has a key, title, optional icon/badge, and HTML content. The report includes a sticky sidebar (desktop) that becomes horizontal tabs on mobile, with scroll-to-section navigation and active-section highlighting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Main heading displayed in the sidebar and page title. | |
| subtitle | No | Secondary text shown below the title in the sidebar. | |
| report_data | No | JSON with optional "title", "subtitle", and required "sections" array. Each section: {"key": "overview", "title": "Overview", "icon": "📊", "badge": "3 items", "html": "<p>Content</p>"}. You can also pass sections from a prior action variable, e.g. {{report_sections}}. | |
| output_variable_name | Yes | Variable name for the rendered HTML. Use {{results_html}} in a subsequent Show User Output action. | results_html |