Barcode Generation in Directus

How to generate barcodes using TTA in Directus.

Barcode Directus flow operation

Using barcodes inside of Directus Flows

Use TTA's Barcode operation to integrate barcode generation into Directus Flows.

It supports a variety of types:
  • Code 39
  • Code 128
  • EAN-13
  • QR Code
  • PDF417
  • Ect.

Operation Settings

Barcode Directus flow settings

Inside of the operation you have the following options:

OptionDescription
Content The data to encode in the barcode.
Type The type of barcode to generate.
Height The height of the barcode in pixels.
Scale The scale of the barcode.
Include text Toggle if the barcode needs to include the content at the bottom.

Output

The output of the operation is a file ID. The file will be placed on the root folder. You can use this ID to update the image with the correct folder/name ect or you can use it in any image field in Directus.