# QR Code Action

This action will generate a dynamic QR Code, based on the supplied data, to be displayed in the user chat. You can show the QR Code as an external URL or as an image.

<figure><img src="/files/BFmzanVPDuz2uPHvj6Rx" alt=""><figcaption></figcaption></figure>

### Settings

According to the selected **Type** the required settings above change.

The action uses the following settings:

<table data-header-hidden><thead><tr><th>Setting</th><th>Description</th><th></th><th width="100">Parsed</th></tr></thead><tbody><tr><td>Setting</td><td>Description</td><td>Type</td><td><a href="/pages/-Le8vEouV0XgPtjjlFts">Parsed</a></td></tr><tr><td>Type</td><td>Determines what kind of data the QR code contains and how that data should be interpreted or acted upon by the scanning device</td><td></td><td><span data-gb-custom-inline data-tag="emoji" data-code="26d4">⛔</span> </td></tr><tr><td>Generate Image Content</td><td>If allowed by channel, Xenioo will try to embed the image in the chat. Otherwise Xenioo will store the URL into the variable "qr_image_url"</td><td></td><td><span data-gb-custom-inline data-tag="emoji" data-code="26d4">⛔</span> </td></tr><tr><td>Text</td><td>Maxlength: 1000</td><td>Text, Event</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td></tr><tr><td>Name</td><td>Maxlength: 100</td><td>vCard</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td></tr><tr><td>Telephone Number</td><td>Maxlength: 20</td><td>vCard, SMS, Whatsapp</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td></tr><tr><td>Email</td><td>Maxlength: 254</td><td>vCard, Email</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td></tr><tr><td>SSID</td><td>Maxlength: 32</td><td>Wifi</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td></tr><tr><td>Password</td><td>Maxlength: 100</td><td>Wifi</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td></tr><tr><td>Message</td><td>Maxlength: 100</td><td>Whatsapp</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td></tr><tr><td>Summary</td><td>Maxlength: 75</td><td>Event</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td></tr><tr><td>Start Date and Time</td><td></td><td>Event</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td></tr><tr><td>End Date and Time</td><td></td><td>Event</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td></tr><tr><td>Location</td><td>Maxlength: 75</td><td>Event</td><td><span data-gb-custom-inline data-tag="emoji" data-code="2705">✅</span></td></tr></tbody></table>

### Remarks

According on the selected Type the other settings are going to have different **length limits** in order to fit the QR Code, the length is limited by the form.

### Trigger

This action has no triggers.

### Variables

This action produces the following variables after being triggered:

| Variable       | Description                                                                                     |
| -------------- | ----------------------------------------------------------------------------------------------- |
| qr\_image\_url | If "Generate Image Content" setting is checked the external URL will be saved in this variable. |

### Availability

Channel specific availability follows the table below:

| Channel          | Availability                                                                                            |
| ---------------- | ------------------------------------------------------------------------------------------------------- |
| Facebook         | Images will be by default embedded as attachments. Facebook 25MB limit will apply.                      |
| WhatsApp         | Provider Dependant. Please see [relevant information](/basic-concepts/publishing/channels/whatsapp.md). |
| Telegram         | Fully Available                                                                                         |
| Web              | Fully Available                                                                                         |
| Alexa            | Available only on Screen enabled devices. Other devices will ignore the content.                        |
| Google Assistant | Available only on Screen enabled devices. Other devices will ignore the content.                        |
| Slack            | Fully Available                                                                                         |
| API              | Fully Available                                                                                         |

This action can also be used as child of other actions. (Operation)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mylinkconnect.com/actions-and-operations/content/qr-code-action.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
