Render QR Code
quickchart.render_qr
ActionBusiness appsconnection required
Calls the QuickChart API with the connection's credentials.
Render a QR code for a URL or any other text and emit it as a base64 file blob.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- QuickChart
- Secret shape
- the API key, or {"api_key": "…"} — optional, since QuickChart's free tier and a self-hosted instance need none
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
10 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
text The content to encode in the QR code — a URL, or any other string. | string | Yes | — | — | https://example.com/order/1234 |
format File format QuickChart should render the QR code in. | string | No | png | one of "png", "svg" | — |
size Width and height of the square QR image in pixels. | number | No | 150 | ≥ 1 | — |
margin Quiet zone of whitespace around the QR code, in modules. | number | No | 4 | ≥ 0 | — |
dark Hex colour of the dark grid cells, without the leading hash. | string | No | — | — | 000000 |
light Hex colour of the light grid cells, without the leading hash. | string | No | — | — | ffffff |
ec_level Error-correction level: L recovers the least data and keeps the code small, H recovers the most and is what a centre logo needs. | string | No | M | one of "L", "M", "Q", "H" | — |
dot_style Shape QuickChart draws each data module with. | string | No | square | one of "square", "dot", "rounded" | — |
caption Text to print underneath the QR code. | string | No | — | — | — |
filename Name to give the rendered file on the wire. Defaults to the node's subject and the chosen format, such as chart.png. | string | No | — | — | chart.png |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"dark": "000000",
"dot_style": "square",
"ec_level": "M",
"filename": "chart.png",
"format": "png",
"light": "ffffff",
"margin": 4,
"size": 150,
"text": "https://example.com/order/1234"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
file_content The file, base64-encoded. | string | — |
content_encoding | string | base64 |
filename | string | app-main.zip |
content_type | string | application/zip |
size Raw size in bytes (before base64). | number | — |
{
"content_encoding": "base64",
"content_type": "application/zip",
"file_content": "",
"filename": "app-main.zip",
"size": 0
}Related QuickChart nodes
See Render QR Code run in a workflow.
In a technical demo we add the QuickChart connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.