Render HTML
operations:
- name: render
operation: html
config:
template: dashboard
data:
user: ${fetch-user.output}
stats: ${fetch-stats.output}
config:
template: string # Template name
data: object # Template data
html: string # Or raw HTML
operations:
- name: render
operation: html
config:
template: report
data:
title: Monthly Report
revenue: ${calculate.output.revenue}
expenses: ${calculate.output.expenses}
operations:
- name: render
operation: html
config:
html: |
<html>
<body>
<h1>Hello ${input.name}</h1>
</body>
</html>