WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation converts a given string into a QR code in various image formats. It supports multiple output formats such as Base64, SVG, PNG, JPG, JPEG, and WEBP. Users can specify the string to convert and customize QR code options like encoding and output type. This node is useful for generating QR codes for URLs, text, or any data that needs to be shared or scanned easily, for example, creating QR codes for event tickets, product information, or contact details.

Use Case Examples

  1. Convert a URL string to a PNG QR code to embed in a website.
  2. Generate a Base64 encoded QR code from a text string to send via email.
  3. Create an SVG QR code from a product ID string for printing on labels.

Properties

Name Meaning
Target Format The image format for the generated QR code output, such as PNG, JPG, SVG, or Base64 string.
String to Convert The input string that will be converted into a QR code.
Additional Fields Optional advanced settings for QR code generation, media output, image processing, cryptographic options, UUID/ULID generation, poll decryption, and validation helpers.

Output

JSON

  • json - The generated QR code data in the specified format, which may be a string, Base64, URL, or file depending on options.

Dependencies

  • Requires an API key credential for the WARest WhatsApp REST API and a base URL for the API endpoint.

Troubleshooting

  • Ensure the input string is not empty as the QR code cannot be generated without data.
  • Verify that the target format is supported and correctly specified.
  • If outputting as a file, ensure the system has write permissions and sufficient storage.
  • Check API credentials and base URL configuration to avoid authentication or connection errors.
  • If using additional fields, validate that the options are correctly set to avoid unexpected output formats or errors.

Links

Discussion