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 → QR Code Decode
AI-generatedOverview
This node provides a utility to decode QR codes from images. It supports decoding QR codes either from an image URL or from a Base64-encoded image buffer. This functionality is useful in scenarios where you need to extract encoded information from QR codes dynamically within your workflow, such as scanning product codes, URLs, or other data embedded in QR codes.
Practical examples include:
- Automatically reading QR codes from images hosted online to retrieve embedded URLs or text.
- Decoding QR codes received as Base64 buffers from other nodes or external sources without needing to save the image first.
Properties
| Name | Meaning |
|---|---|
| Image Source | Choose whether the QR code image is provided as a "URL" or a Base64 "Buffer". |
| Image URL | The URL pointing to the QR code image (required if Image Source is "URL"). |
| Image Buffer | The QR code image as a Base64-encoded string (required if Image Source is "Buffer"). |
Output
The node outputs JSON data containing the decoded content of the QR code. The exact structure depends on the response from the decoding service but typically includes the decoded text or data extracted from the QR code image.
If the node supports binary data output (not explicitly shown here), it would represent the raw image or related binary content; however, for this operation, the focus is on decoding and returning textual or structured data from the QR code.
Dependencies
- Requires an API key credential for authentication with the external QR code decoding service.
- The node sends a POST request to the endpoint
/generate/qrcode/decodewith either the image URL or Base64 buffer in the request body. - The base URL for the API is
https://prod.0codekit.com.
Troubleshooting
- Invalid Image URL or Buffer: If the provided image URL is inaccessible or the Base64 buffer is malformed, the node may fail to decode the QR code. Ensure the URL is publicly accessible and the buffer is correctly encoded.
- Empty or No QR Code Found: If the image does not contain a valid QR code, the output might be empty or indicate no data found. Verify the image contains a clear QR code.
- Authentication Errors: Missing or invalid API credentials will cause authentication failures. Confirm that the API key credential is properly configured.
- Network Issues: Connectivity problems to the external API endpoint can cause timeouts or errors. Check network access and retry.
Links and References
- QR Code Wikipedia
- Base64 Encoding
- External API documentation is not included in the source but would typically be available from the service provider at https://prod.0codekit.com or their developer portal.