Activepieces QR Code Scanner Piece

Add the Scan Image action to Activepieces flows to decode QR codes locally inside a worker thread on your worker, with no connection and no network calls.

Install as a custom npm piece

Requires Activepieces 0.30.0+ on an edition supporting custom npm pieces. Not listed in the official catalogue.

Open on npm
  1. 1

    Open Platform Admin → Catalogue → Pieces → Install Piece and select npm registry.

  2. 2

    Enter @qrcode-ai-com/piece-qrcode-barcode-scanner alongside the current release version from npm, then install.

  3. 3

    In a flow, add QR Code & Barcode Scanner → Scan Image and map a PNG, JPEG, WebP or GIF file from a previous step.

Runs WebAssembly in a worker thread with no connection to configure. Activepieces applies a 3-day minimum-release-age rule to dependencies.

Decode uploaded QR codes inside Activepieces flows

Process form uploads, email attachments or HTTP files locally on your worker and receive structured JSON outputs.

Scan Image with zero credentials

Accepts PNG, JPEG, WebP or GIF files up to 8 MiB, 4,096 px per side and 16 MP with no connection setup and Fast (800 ms) as the default profile.

texts, codes & optional report

Returns texts, codes (symbology, text, base64 raw, payload), count, profile, file metadata and the full report when Include the full report is enabled.

Continue on Failure & CE admin

Corrupt or oversized files emit [QRS-001] or [QRSCAN_INPUT_LIMIT]; enable Continue on Failure to keep flows running. CE removes pieces via /api/v1/pieces.

Try a QR image in Activepieces

Prepare a known test image, run the scan and check the returned value character for character.

qr-reference.png

Create a text QR code containing https://qrcode-ai.com/ and save it as qr-reference.png.

Run Scan Image in Activepieces

Text
# Piece: QR Code & Barcode Scanner -> Action: Scan Image
Image:                   qr-reference.png (form, email or HTTP file)
Profile:                 Fast
Include the full report: true
# Output -> texts: ["https://qrcode-ai.com/"], count: 1
Expected result · QR code
https://qrcode-ai.com/

Activepieces decodes the file inside a local worker thread and returns the exact QR URL in texts and codes without making network calls.

Example output for qr-reference.png.

Activepieces QR Code Scanner piece questions

Custom piece installation, 3-day minimum-release-age rule, CE limits, Scan Image outputs and licensing.

No. It is published on npm as @qrcode-ai-com/piece-qrcode-barcode-scanner and installed by a platform admin as a custom piece via Platform Admin → Catalogue → Pieces → Install Piece (npm registry).

Activepieces enforces a built-in three-day minimum release age on piece dependencies. If the scanner engine package was published fewer than three days ago, wait until three days have passed and retry the same installation.

No. Community Edition disables Packed Archive (.tgz) uploads and installs custom pieces from the npm registry only. Private .tgz uploads require an edition that supports private pieces.

No. There is no connection to configure, no API key and no native compilation on the worker. The piece runs the WebAssembly engine inside a worker thread on your Activepieces worker with no network calls.

PNG, JPEG, WebP and GIF files up to 8 MiB, 4,096 pixels per side and 16 million total pixels. Corrupt or oversized files fail with codes such as [QRS-001] or [QRSCAN_INPUT_LIMIT]; enable Continue on Failure if your flow should keep running.

Fast (the default, 800 ms budget) decodes cleanly and returns a reduced quality score. Switch to Full (4,000 ms) for artistic or damaged QR images, or Frame (80 ms) to skip scoring (report.score is null).

Yes. Both the piece source and its separate WebAssembly engine dependency are open-source under the MIT licence (carrying THIRD-PARTY-NOTICES.txt and retained Apache-2.0 engine notices), separate from QR Code AI generation credits or paid plans.

Activepieces setup and QR Code Scanner references

Consult the official listing and README for installation steps, limits and supported formats.