Activepieces QR Code Scanner Piece

Wire the Scan Image action into Activepieces flows to decode QR codes locally on your worker inside a worker thread, requiring no connection and zero outbound network calls.

Install as a custom npm piece

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

Open on npm
  1. 1

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

  2. 2

    Type @qrcode-ai-com/piece-qrcode-barcode-scanner and the latest npm release version, then install.

  3. 3

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

Executes WebAssembly inside a worker thread with no connection to set up. Activepieces enforces a 3-day minimum-release-age check on dependencies.

Decode uploaded QR codes inside Activepieces flows

Handle form uploads, email attachments or HTTP files locally on your worker and get clean 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 app connection and Fast (800 ms) as default profile.

texts, codes & optional report

Outputs texts, codes (symbology, text, base64 raw, payload), count, profile, file metadata and a full report when Include the full report is switched on.

Continue on Failure & CE admin

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

Test a QR image in Activepieces

Create a known reference image, run Scan Image and check the decoded output character by character.

qr-reference.png

Create a text QR code holding 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 reads the image inside a local worker thread and returns the exact QR URL in texts and codes with zero outbound calls.

Sample output for qr-reference.png.

Activepieces QR Code Scanner piece questions

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

No. It ships on npm as @qrcode-ai-com/piece-qrcode-barcode-scanner and is added 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 for piece dependencies. If the scanner engine package was published less than three days ago, wait until three days pass and run the exact same install again.

No. Community Edition turns off Packed Archive (.tgz) uploads and only installs custom pieces from the npm registry. Uploading private .tgz archives requires a plan that includes private pieces.

No. You do not configure a connection, API key or native build toolchain. The piece executes the WebAssembly scanner inside a worker thread on your Activepieces worker with zero network calls.

PNG, JPEG, WebP and GIF images 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]; switch on Continue on Failure if you want the flow to carry on.

Fast (default, 800 ms budget) handles crisp uploads cleanly and provides a reduced quality score. Pick Full (4,000 ms) for stylised or damaged QR images, or Frame (80 ms) when skipping scoring (report.score stays null).

Yes. Both the piece source and its separate WebAssembly engine dependency carry the MIT licence (including 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

Check the official npm listing and README for installation steps, caps and supported formats.