0-CodeKit icon

0-CodeKit

A toolbox of no-code utilities

Overview

This node provides QR code utilities under the "Generate" resource and "QR Code" operation. It allows you to either encode data into a QR code image or decode an existing QR code image from a URL. This is useful for automating workflows that require generating QR codes for sharing information (like URLs, contact info, etc.) or extracting data from QR codes received via images.

Practical examples:

  • Automatically generate QR codes for event tickets or product links.
  • Decode QR codes from images received in emails or uploaded by users to extract embedded information.

Properties

Name Meaning
Operation Selects the QR code action: "Encode Data to Qr Code" or "Decode a Qr Code".
Data You Want to Encode The text or data string to be encoded into a QR code (used when encoding).
URL to QR Code Image The URL pointing to an image of a QR code to be decoded (used when decoding).

Output

  • When encoding:
    The output will contain a JSON object with details about the generated QR code. Typically, this includes a URL or binary representation of the QR code image.

  • When decoding:
    The output will contain a JSON object with the data extracted from the provided QR code image URL.

Note: If the node outputs binary data (e.g., the QR code image), it will be included as a binary property in the output item.

Dependencies

  • External Service/API Key:
    Requires credentials named codeKitApi to access the external service performing the QR code operations.
  • n8n Configuration:
    Ensure the codeKitApi credential is set up in your n8n instance.

Troubleshooting

  • Missing Credentials:
    Error: No credentials found for codeKitApi
    Resolution: Set up the required API credentials in n8n.

  • Invalid Input:

    • If "Data You Want to Encode" is empty when encoding, or "URL to QR Code Image" is missing when decoding, the node may throw an error or return an error message in the output.
    • Ensure the input fields are correctly filled based on the selected operation.
  • Decoding Failure:
    If the provided image URL does not point to a valid or readable QR code, the node may return an error or an empty result.

Links and References

Discussion