1. Home
  2. Knowledge Base
  3. Bots
  4. Add files to Bot topics

How can I add files to a Bot topic?

Relay allows users to add images, gifs, videos, and other files to Bot topics. Here’s how:

  1. Go to System →Bots. Find your Bot and click on pencil icon` (Pencil) to edit it.
  2. On the left navigation bar of the Bot’s modal, go to  Bot Topics button (Topics).
  3. Open the topic you wish to add files to by double-clicking on it or clicking pencil icon` (Pencil). You may also add buttona new topic.
  4. Scroll down to the Text field in the Bots Topics modal. Click on Attach button (Attach).

Relay Add Bot Files 1

  1. Click Select File(s) and choose the file you wish to attach to the topic. You may choose images, PDFs, gifs, videos etc.
  2. File Type: select Bot Asset (for Avatar, read here).
  3. Click Upload File(s).

Relay Add Bot Files 2

A token with the file name will be added to the end of the Text field for the topic. Do not delete this token as without it, the image/file will not appear in the bot response.

NOTE: You can only add one Bot Asset token per Bot message. To add multiple Bot Asset tokens to a single Bot topic, break the Bot topic into multiple messages using the {{NEXT}} token (learn more about Text field tokens here).

Relay Add Bot Files

Relay Add Bot Files 4

 

Was this article helpful?

Related Articles