Generating a QR-code
You can generate a code in the bot and send it to the client
Last updated
You can generate a code in the bot and send it to the client
Last updated
To generate a code, you need to use the function https://store.salebot.ai/function/qrcode_generator
text_for_qr - text that needs to be coded api_key - API access key from the project’s settings
Change #{api_key} to the token from settings
In the field “URL request" paste: https://store.salebot.ai/function/qrcode_generator
In the field “Stored values” paste the variables you want to save (the required URL is in qr_image_url):
status->status;
qr_image_url->qr_image_url
In “JSON parameters” type
{"text_for_qr":"Text for coding","api_key":"8629fe13ba9efebefd27a7afd701767f"}
The function returns json with parameters status and qr_image_url