QR Codes
This activity allows to create QR code images from the user-defined text fields. 5 types are currently supported:
-
URL
encode a single URL, very useful to overcome a media gap e.g. from a laptop to a smartphone.
-
VCard
allows to create name, address, phone and other contact data
-
E-Mail
Prepares an E-Mail for sending including recipient, subject and text
-
Phone
A phone number
-
Geolocation
Latitude and longitude corrdinates
Functional overview​
Prerequisites: The Python installation that you use needs the qrcode package with the python image library (pil):
pip install "qrcode[pil]"
- Configuration:
You can choose one of the aforementioned types and then configure the code to be created
by filling out the corresponding fields.
- Parameters:
The functionality has configurable foreground and background color, the type of binary image to be created and its size in pixels.
For every field in the code one can use variables from the previous steps in the workflow.
Even in a combined manner, e.g. ${variable.forename} ${variable.surname}.
Usage​
You can click the 'Create' button to test the QR code and see it in the editor.
The activity will create a variable "qrcode" containing the binary image data,
it can be used in further workflow steps.