Insert Advanced Dynamic Charts in Google Slides (QuickChart Integration) 📊

When you are automating report generation with Google Slides that include charts, Zenphi provides a native "Google Slides - Insert Chart" action, which works well for the basic chart types in Google Sheets.

However, if you want to insert a different chart type, chart a complex data set, or have better control over the chart layout, the public QuickChart API provides a great alternative.

By using the QuickChart API (which runs on Chart.js), you can generate gorgeous, pixel-perfect, highly customized charts purely on the fly via a single API call, leaving zero clutter in your Drive, running much faster, and unlocking almost infinite chart designs.

First, set up your template slide; see: Dynamically Insert Any Image In Google Slides.

Then add the action HTTP Request to your flow to generate and retrieve the chart image , using this configuration (curl):

curl -X POST https://quickchart.io/chart/create \

-H "Content-Type: application/json" \

-d '{"width": 1600, "height": 1200, "chart": {"type": "bar", "data": {"labels": ["Q1", "Q2"], "datasets": [{"data": [10, 20]}]}}}'

Of course, you need to adapt the configuration for the chart type you need, the data you want to visualize, and other aspects you want to control. See the documentation on quickchart.io

Quickchart will return a URL that lets you access the image without first storing it in Google Drive: {"success": true,"url": "https://quickchart.io/chart/render/f-a1b2c3d4..."}

Use that URL to replace the shape in the template sheets!


As an example, a scatter plot of responses to a questionnaire to determine the best Automation Strategy: