Actions132
- AI Actions
- Extract Text From Document
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Extract Entities
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate JavaScript Code
- Generate Python Code
- Detect Language
- Detect Mood
- Extract Text From PDF
- Recognize Objects in Image
- Extract Text From Image
- Redact Sensitive Information From PDF
- Remove Background Image
- Summarize Text
- Transcribe
- Translate Text
- Image Actions
- Business Actions
- Convert Actions
- Generate Actions
- Crypto Actions
- Operator Actions
- Storage Actions
- Scheduler Actions
- Text Actions
- Chart Actions
- Code Actions
- Calculate Actions
- Date and Time Actions
- PDF Actions
- Compress PDF File
- Count PDF Pages
- Create Empty PDF
- Decrypt PDF
- Convert DOCX to PDF
- Draw Image on PDF
- Draw Text on PDF
- Encrypt PDF
- Convert HTML to PDF
- Convert Markdown to PDF
- Manage PDF Metadata
- Merge PDF Files
- Add PDF Pages
- Remove PDF Pages
- Resize PDF Pages
- Rotate PDF Pages
- Convert PDF to Base64
- Convert PDF to Image
- Split PDF File
- Add Image Watermark to PDF
- Add Text Watermark to PDF
- Shortened URL Actions
Generate → Generate QR Code
AI-generatedOverview
The node provides a utility to generate QR codes from input text or data. It is useful in scenarios where you want to create QR codes dynamically within an automation workflow, for example:
- Encoding URLs, contact information, or plain text into QR codes for sharing.
- Generating QR codes with custom styling and embedded images for branding purposes.
- Creating QR codes of specific sizes and error correction levels for printing or digital use.
This node supports advanced customization such as dot styles, corner shapes, embedded center images, margins, and output format options (image buffer or URL).
Properties
| Name | Meaning |
|---|---|
| Data to Encode | The text or data string that will be encoded into the QR code (e.g., a URL or any text). |
| Width | Width of the generated QR code image in pixels. |
| Height | Height of the generated QR code image in pixels. |
| Center Image URL | URL of an image to embed in the center of the QR code (e.g., a logo). |
| Margin | Size in pixels of the space between the QR code and the image border. |
| QR Options | Collection of QR code generation options: • Type Number (1-40) controlling QR code size. • Mode: Alphanumeric, Byte, Numeric. • Error Correction Level: H ( |
| Image Options | Options related to the embedded center image: • Hide Background Dots (boolean): whether dots behind the image are hidden. • Image Margin: empty space around the embedded image in pixels. |
| Dots Options | Styling options for the QR code dots: • Dots Type: classy, classy-rounded, dots, extra-rounded, rounded, square. • Dots Color: hex color code for the dots. |
| Corner Square Options | Styling options for the corner squares: • Corner Square Type: dot, extra-rounded, square. • Corner Square Color: hex color code. |
| Corner Dot Options | Styling options for the corner dots: • Corner Dot Type: dot, square. • Corner Dot Color: hex color code. |
| Get As URL | Boolean flag indicating if the output should be returned as a URL instead of an image buffer. |
| File Name | Optional file name for the resulting QR code image. |
Output
The node outputs the generated QR code image. Depending on the "Get As URL" property:
- If false, the output contains binary image data representing the QR code image.
- If true, the output contains a URL pointing to the generated QR code image.
The output JSON includes the image data or URL, which can be used downstream in workflows for saving, displaying, or further processing.
Dependencies
- Requires an API key credential for authentication with the external 0CodeKit service.
- The node sends a POST request to the
/generate/qrcode/encodeendpoint of the 0CodeKit API to generate the QR code. - No additional local dependencies; relies on the external service for QR code generation.
Troubleshooting
- Invalid or missing data to encode: Ensure the "Data to Encode" field is not empty and contains valid text.
- API authentication errors: Verify that the API key credential is correctly configured and has necessary permissions.
- Unsupported QR code type number: The "Type Number" must be between 1 and 40 or 0 for automatic sizing.
- Image URL issues: If embedding a center image, ensure the URL is accessible and points to a valid image.
- Output format confusion: If expecting a URL but receiving binary data, check the "Get As URL" property setting.
- Color or style rendering problems: Use valid hex color codes and supported style options to avoid unexpected visuals.
Links and References
- QR Code Wikipedia
- 0CodeKit API Documentation (general) (Note: actual docs URL may vary)
- QR Code Error Correction Levels Explained