Skip to content
silverpoint
Documentation menu

Hosts

silverpoint in n8n

A community node that draws a chart from workflow items, as SVG or HTML. It needs no credential and calls no service: the chart is drawn inside the node by silverpoint's own engine, bundled into the package. It also works as an AI-agent tool: a model passes rows and, per role, a field name.

At a glance

IntegrationPackageRegistryKindThroughStatus
n8nn8n-nodes-silverpointnpmworkflowembedreleased

Draws with @silverpoint/embed 0.11.1.

Requirement
n8na self-hosted instance that allows community nodes
Credentialsnone

Watch it built

A workflow built from an empty canvas in n8n 2.31: the community node installed, six months of sales drawn as an SVG bar chart, options from the catalog, an area chart as HTML on cyanotype, a donut from a field, an error explained, and a webhook serving the interactive chart. 1 min 42 s, captioned. Download the MP4. Narration: AI-generated voice (Kokoro, run locally).
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

ParameterWhat it does
ChartAny of the 56 charts a table can feed, grouped by family (Bars: Bar Chart, …).
Role fieldsOne per role of the chosen chart: the name of the field holding it (team, wins). Several roles take comma-separated names; expressions are allowed.
OptionsThe chart's own options (curve, orientation, …) and the common ones (title, …).
RowsFrom 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, SizeThe paper, its tone, ink or precision mode, the palette, width and height.
OutputSVG (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 FontsEmbeds 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 property data attached.
  • A chart into a file. HTTP Request returning { "rows": [...] } → Silverpoint (Rows From a Field rows, 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 }} as text/html.

The node as it appears in a workflow's JSON: a bar chart from items, as SVG with the markup also in svg.

json
{
  "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:

json
{
  "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