<aside> 💡 Note: This feature is available in all messengers:

To get the file that the user sent, follow these steps:

  1. Add a new bot-message element or use an existing one as the file receiving point. You can specify a request message text or notify a user, that you are going to get their account photo.

    <aside> 📢 Attention: You can not use the message element with the active ‘Not expect the response’ function.

    </aside>

    <aside> 📢 Attention: For Viber and Facebook Messenger you can get a profile photo only using the Getting user’s personal data function.

    </aside>

  2. Turn on the ‘Upload profile photo’ function in the bot-message element.

  3. Add the [Add data] element.

  4. Select the object where you want to save the file you get. For example, save the file data to the image:

    Parameter Value
    Which object to add data to? Image (SysImage)
    What is the mode of adding data? Add one entry
    What column values to set?
    Name Map to the File Name parameter value of the [Bot Message] element.
  5. Add the [Execute process action] and complete the following parameters:

    Parameter Value
    What user action to perform? Bot Helper. Update File
    Schema name Enter the object schema name where the received file will be stored. For example, SysImage.
    Schema data column Map to the Id of the created record parameter value of the [Add data] element.
    Data Map to the Answer_File parameter value of the [Bot Message] element where the file is received.
  6. Add the [Modify data] element.

  7. Select the object where you want to insert the saved image. For example, save the image to the contact photo:

    Parameter Value
    Which object to add data to? Contact
    What is the mode of adding data? Modify entry
    What column values to set?
    Contact The contact of the user, who is conducting the dialogue. Map to one of the business process parameters.