When you decide to integrate a bot in an experience, you can use the feature send proof of purchase
.
This feature allows you to retrieve media uploaded by participants such as a proof of purchase ticket that allow them to participate at a contest.
First of all, you can learn the basics of the creation of a bot, read this detailed article
1. Settings of the bot
You can ask to your users to send a photo thanks to the feature “send proof of your purchase"
- Click on
Add a message
- In the scrolling menu, select
Media upload
![Notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F076f7395-d3d6-4cd0-b342-d35a9c16f7d4%2F-_(57).png?table=block&id=9deecee1-c618-4a7b-a01d-b21c810e8341&cache=v2)
- Then, you can personalize the displayed message and the instant response to the user like the others messages in the bot.
![Notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F3fc47a4e-adc6-4f63-9404-9b08170d9960%2F-_(58).png?table=block&id=e4c3f21b-2e7a-4a7d-8eb2-e88969dfa5b6&cache=v2)
2. How does it appear in the bot ?
When the user will reach the Media Upload
question, he would be able to upload it like this :
- Click on the
Photo
button
![Notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F80647828-74c7-4ded-86a6-3e01156da76a%2F-_(59).png?table=block&id=444b743c-3c89-4b24-bccd-46230e0ba245&cache=v2)
- Then, he can :
- Take a photo with his smartphone by clicking on the left button;
- Upload a photo from his gallery by clicking on the right button
![Notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fb353ae20-73ef-4555-bb46-13adc4556a94%2F-_(42).png?table=block&id=2e98d442-da72-421e-b00d-4f1fa7643608&cache=v2)
Quels types de médias sont autorisés ?
- images en JPEG, PNG, GIF animé
- vidéos mp4, webm
- audios mp3, wav, x-wave, mpeg
Les formats zip ne sont pas autorisés.
Quel poids et taille maximum doit faire les médias ?
- images : 8 MB et 2000 px de largeur et de hauteur
- vidéo : 25 MB
- audios : 25 MB
3. How can I collect uploaded media in the bot?
Information: your experience must be published. The status "Publish" will allow you to have access to the different attributes collected.
- From your workspace, go to the
audience
page
- Select the bot in the
Bots
filter
- Then click on
Export
![Notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fd81b5863-add4-4d83-a45d-81e3c19894e7%2FUntitled.png?table=block&id=01527e79-373c-4ca8-b4b7-008ce87692a4&cache=v2)
- Export the CSV file
![Notion image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F50b1fb6e-7cc6-46b4-88c3-0605412995b6%2FUntitled.png?table=block&id=702b4e4d-910f-42f2-a9e1-d67160a5ae12&cache=v2)
Once the export is done, you will be able to view the uploaded media in your CSV file.