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.

FieldTypeRequiredDefaultConstraintsExample
text
The content to encode in the QR code — a URL, or any other string.
stringYes——https://example.com/order/1234
format
File format QuickChart should render the QR code in.
stringNopngone of "png", "svg"—
size
Width and height of the square QR image in pixels.
numberNo150≥ 1—
margin
Quiet zone of whitespace around the QR code, in modules.
numberNo4≥ 0—
dark
Hex colour of the dark grid cells, without the leading hash.
stringNo——000000
light
Hex colour of the light grid cells, without the leading hash.
stringNo——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.
stringNoMone of "L", "M", "Q", "H"—
dot_style
Shape QuickChart draws each data module with.
stringNosquareone of "square", "dot", "rounded"—
caption
Text to print underneath the QR code.
stringNo———
filename
Name to give the rendered file on the wire. Defaults to the node's subject and the chosen format, such as chart.png.
stringNo——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

FieldTypeExample
file_content
The file, base64-encoded.
string—
content_encoding
stringbase64
filename
stringapp-main.zip
content_type
stringapplication/zip
size
Raw size in bytes (before base64).
number—
{
  "content_encoding": "base64",
  "content_type": "application/zip",
  "file_content": "",
  "filename": "app-main.zip",
  "size": 0
}

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.