Activepieces Barcode Scanner Piece

Use the Scan Image action in Activepieces flows to read 1D and 2D barcodes locally on your worker, keeping leading zeros intact with no API key.

Install as a custom npm piece

Needs Activepieces 0.30.0+ on an edition that permits 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 along with the latest release version from npm, then confirm the install.

  3. 3

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

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

Extract uploaded barcodes inside Activepieces flows

Handle form uploads, email attachments or HTTP downloads 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 required and Fast (800 ms) selected by default.

texts, codes & optional report

Outputs exact barcode strings (leading zeros kept intact) in texts, base64 raw bytes in codes and an optional complete engine report with no external lookups.

Continue on Failure & CE admin

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

Test a barcode image in Activepieces

Generate a known reference image, execute the flow scan and check the decoded output character by character.

barcode-reference.png

Create a Code 128 barcode encoding STOCK-4827 and save it as barcode-reference.png.

Run Scan Image in Activepieces

Text
# Piece: QR Code & Barcode Scanner -> Action: Scan Image
Image:                   barcode-reference.png (form, email or HTTP file)
Profile:                 Fast
Include the full report: true
# Output -> texts: ["STOCK-4827"], count: 1
Expected result · Code 128
STOCK-4827

Activepieces reads the uploaded file inside a local worker thread and returns the exact Code 128 string in texts and codes without any outbound calls.

Sample result for barcode-reference.png.

Activepieces Barcode Scanner piece questions

Custom piece setup, 3-day minimum-release-age policy, CE restrictions, Scan Image outputs and licensing.

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

Activepieces enforces a default three-day minimum release age on piece dependencies. Whenever the scanner engine package was published under three days ago, wait until three full days have elapsed and run the same install again.

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

No. You do not configure any connection, API key or native build step. The piece loads the WebAssembly engine inside a worker thread on your Activepieces worker with zero external network calls.

It accepts PNG, JPEG, WebP and GIF images up to 8 MiB, 4,096 pixels per side and 16 million total pixels. Corrupted or oversized uploads fail with codes such as [QRS-001] or [QRSCAN_INPUT_LIMIT]; switch on Continue on Failure if you want the flow to proceed.

Yes. It reads 16 barcode symbologies (EAN, UPC, Code 128/39/93, ITF, Codabar, GS1 DataBar, Data Matrix, PDF417, Aztec, MaxiCode) alongside QR codes, returning exact digits and leading zeros verbatim with zero external product lookups.

Yes. Both the piece source code and its separate WebAssembly engine dependency are open-source under 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 Barcode Scanner references

Refer to the official package page and README for installation notes, limits and supported symbologies.