The Generate Chart Block creates a chart image based on JSON-formatted data, allowing you to dynamically generate visualizations in your workflows. The resulting image URL can be saved as a variable for further use in the workflow.
Configurations
Chart Data
Provide the data for the chart in valid JSON format. This must follow the data
object structure as used in Chart.js.
Width and Height
Specify the dimensions of the chart in pixels:
Width: The horizontal size of the chart.
Height: The vertical size of the chart.
Default dimensions are 500x300.
Output Variable
Creates a new variable and saves the chart image URL to it. Enter a variable_name
****to store the image URL for later use in the workflow.
How to Generate Chart Data
1. Select a Chart Template
2. Copy the data
Object
data
ObjectOnly copy the portion labeled as data
from the chart’s JSON.
3. Convert to JSON
Some chart examples are provided in plain JavaScript objects instead of JSON. To ensure compatibility:
Review the output on the right side to confirm proper JSON formatting.
Copy to Clipboard.
Example JSON Data for a Bar Chart:
4. Paste JSON
into the Chart Data Configuration
JSON
into the Chart Data ConfigurationOpen the Manual Input field for the corresponding chart type inside the app.
Paste the converted JSON data into the Chart Data configuration.
Last updated