AI & images · Step
Draw a chart
Draw a bar, line or pie chart from some numbers, and give its picture's address for an embed.
image.chart
In a flow
“When a button is clicked, draw a chart.”
Messages per day → Split text → Draw a chart → Send message with the Picture in an embed.
What it does
Draw a bar, line or pie chart from some numbers, and give its picture's address for an embed. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 1 value later steps can use. Find it under AI & images in the palette.
When to use it
Use it when the AI should do the work: draw a bar, line or pie chart from some numbers, and give its picture's address for an embed.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Numbers List
-
The numbers to draw, like the Parts from Split text, or a list of counts.
What goes there: Type it in the side panel, or wire in a list. e.g. Hello there, and more like it
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromAI check the answersAlarms that are dueBest by a fieldChange list atCheck for a lineClear a leaderboardCollect messages until doneColour gradientand 177 more
- Labels List
-
A name for each number, like Mon, Tue, Wed. Optional.
What goes there: Type it in the side panel, or wire in a list. e.g. Hello there, and more like it
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromAI check the answersAlarms that are dueBest by a fieldChange list atCheck for a lineClear a leaderboardCollect messages until doneColour gradientand 177 more
- Title Text
-
The heading on the picture. Variables allowed.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
- Colour Text
-
The bars' or line's colour, like #5865F2.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, it uses #5865F2.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
Values it gives
- Picture Text
-
The chart's web address. e.g. https://.../chart.png
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 577 more