QR Code Generation in Directus

How to generate QR codes using TTA in Directus hooks.

QRcode Directus flow operation

Using QRCodes inside of Directus Flows

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

It creates a QRCode that works with:
  • URL`s
  • Plain text
  • Email addresses
  • Phone numbers
  • Ect.

Operation Settings

QRCode Directus flow settings

Inside of the operation you have the following options:

OptionDescription
QRCode content The content of the QRCode.
Light color Used as the background of the QRCode.
Dark color Used for the symbols inside of the QRCode.
Margin The offset around the QRCode.
Width The width of the QRCode.

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.