Hosts
silverpoint in n8n
At a glance
| Integration | Package | Registry | Kind | Through | Status |
|---|---|---|---|---|---|
| n8n | n8n-nodes-silverpoint | npm | workflow | embed | released |
Draws with @silverpoint/embed 0.11.1.
| Requirement | |
|---|---|
| n8n | a self-hosted instance that allows community nodes |
| Credentials | none |
Watch it built
Transcript
0:00This chart is served by an n8n workflow. Let's build it, starting from an empty canvas.
0:06First, install the community node. In Settings, Community nodes, type n8n-nodes-silverpoint, and install.
0:14Our data: six months of sales. One item per month, with revenue and cost.
0:19Add the Silverpoint node. Its Chart list holds fifty-six charts, grouped by family.
0:25Pick Bar Chart. Each chart asks for its roles: month on X, revenue as the value, and cost as a second series.
0:33Execute, and the chart arrives as an SVG file: a binary, ready to email or save.
0:40Options come from the same catalog: a title, a unit, a sepia palette, an exact width.
0:46A second node draws an area chart on cyanotype paper, as a complete HTML document.
0:53Rows can also come from a field. Aggregate the items into one list, and draw a donut from it.
0:59Mistakes are explained. Ask for a field that isn't there, and the message names the parameter to fix.
1:06With On Error set to continue, that message becomes the item's error, and the workflow keeps going.
1:12Last, a webhook branch: the same rows, drawn as interactive HTML, and sent back by Respond to Webhook.
1:21Open the URL. The chart follows the pointer, and the keyboard.
1:26Silverpoint turns the rows in any workflow into a finished chart. No service, no credential, and agents can call it as a tool.
1:35n8n-nodes-silverpoint. On npm, and on GitHub.
Install
In n8n: Settings → Community Nodes → Install, package n8n-nodes-silverpoint.
The node
| Parameter | What it does |
|---|---|
| Chart | Any of the 56 charts a table can feed, grouped by family (Bars: Bar Chart, …). |
| Role fields | One per role of the chosen chart: the name of the field holding it (team, wins). Several roles take comma-separated names; expressions are allowed. |
| Options | The chart's own options (curve, orientation, …) and the common ones (title, …). |
| Rows | From Items: each input item's JSON is one row, one chart for all items. From a Field: an array of rows at a field of each item, one chart per item. |
| Ground, Substrate, Appearance, Size | The paper, its tone, ink or precision mode, the palette, width and height. |
| Output | SVG (a binary property, image/svg+xml, and optionally the markup in svg), HTML (a static page in html) or Interactive HTML (the page with the script inlined: keyboard, pointer, resizing). |
| Embed Fonts | Embeds EB Garamond, so the output draws the same anywhere. |
Each output item carries chart, id and the render's warnings under diagnostics. A missing role, an unknown field or an unknown option stops the node with a message naming the parameter to fix; with Continue On Fail the message becomes the item's error.
Three workflows
- A chart in an email. Postgres (one row per team) → Silverpoint (Bar chart,
x=team,value=wins, Output SVG, Embed Fonts on) → Send Email with the binary propertydataattached. - A chart into a file. HTTP Request returning
{ "rows": [...] }→ Silverpoint (Rows From a Fieldrows, Line chart) → Write Binary File/data/charts/{{ $json.id }}.svg. - An HTML report. Google Sheets → Silverpoint (Output Interactive HTML) → Respond to Webhook with
{{ $json.html }}astext/html.
The node as it appears in a workflow's JSON: a bar chart from items, as SVG with the markup also in svg.
{
"name": "Chart SVG",
"type": "n8n-nodes-silverpoint.silverpoint",
"typeVersion": 1,
"parameters": {
"chart": "bar-chart",
"barChartX": "team",
"barChartValue": "wins",
"barChartOptions": { "title": "Wins" },
"output": "svg",
"alsoAsText": true,
"chartId": "wins"
}
}One chart per item, from the array at rows:
{
"name": "Chart From Field",
"type": "n8n-nodes-silverpoint.silverpoint",
"typeVersion": 1,
"parameters": {
"chart": "line-chart",
"source": "field",
"field": "rows",
"lineChartX": "team",
"lineChartValue": "wins",
"output": "svg"
}
}The repository's examples/local-run.workflow.json holds every output (SVG, HTML, Interactive HTML, rows from a field, and an error under Continue On Fail): import it with Workflow → Import from File.
See also
- n8n: the repository and its README
- Embed in any page: the spec, the host catalog and
specFromTable, the conformance kit every integration runs - Every host integration