Image bot response control

  • Release version: Xanadu
  • Updated August 1, 2024
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Image bot response control

    The Image bot response control in ServiceNow's Virtual Agent allows you to upload and display images from a URL link within bot conversations. This control enhances user interaction by embedding images directly into chat bubbles, with image sizing determined by the aspect ratio.

    Show full answer Show less

    Key Features

    • Node Name: Identifies the Image bot response control node in the topic flow for easy management.
    • Image URL Link: Enables specifying the image source via a URL, data pill, or script. You can also upload images directly, which are stored in the Images [sysdbimage] table and update sets. This ensures the image is available across production and non-production instances.
    • Image Alt Text: Provides alternative text for accessibility, which can be added through text fields, data pills, or scripts.
    • Advanced Options: Allows conditional display of the image node based on no-code conditions or low-code scripts, enhancing conversation flow control.

    Channel Support

    The Image bot response control is supported across multiple channels with certain constraints:

    • Web UI and Mobile UI: Supported, with image size limits governed by the com.glide.attachment.maxsize system property (default 1024 MB).
    • Microsoft Teams, Slack, Workplace, Facebook Messenger, SMS Twilio, LINE, WhatsApp, Apple Messages for Business: Supported with file size limits depending on each platform's guidelines.
    • Now Assist panel: Not supported.
    • Alexa (Voice): Partial support on devices with screens; nonscreen devices receive a message indicating an image is present.

    Practical Considerations

    • Uploaded images remain stored on the server even if their URL link is deleted from the control, allowing reuse.
    • Dynamic URL generation includes the instance name, ensuring proper referencing across environments.
    • Image display may vary by channel, so testing across supported platforms is recommended.

    What You Can Expect

    By using the Image bot response control, ServiceNow customers can enrich Virtual Agent conversations with visual content, improving user engagement and communication clarity. The control’s flexibility in image sourcing and conditional display enables tailored, accessible chat experiences across multiple channels.

    Use the Image bot response control in a Virtual Agent topic to upload and display an image from a URL link. The image aspect ratio determines how the image is sized in the bot chat bubble.

    Image bot response control properties

    Property Description
    Node name Name that identifies this Image bot response control node in the topic flow.
    Image URL link The URL link to an image file you want to include in the conversation. To set a value, do one of the following:
    • Specify the image URL by using the text field, data pill, or script.
    • Upload an image by clicking Upload Image.

    If you upload an image, then the selected image is uploaded to the server and is stored in the Images [sys_db_image] table and in the update sets. When the image is stored in the Images table and the update sets, then you can use the image in a production or non-production instance, as needed.

    After the image is uploaded, the URL link is included in theResponse Properties sheet:

    Uploaded link shown in the property sheet.

    Click the link to view the image.

    The URL is generated dynamically. The name of the instance is inserted at the front of the URL path.

    You can change or delete the link to the image. If you delete the link on this property sheet, only the reference to the URL is deleted. The image remains on the server for future use.

    Image alt text Alternative, screen-readable text included for accessibility. This text is used along with the image. Enter the text using the text field, data pill, or script. For more information about using data pills or scripts, see Virtual Agent Designer controls.
    Advanced
    Hide this node
    Conditionally show this node if

    No-code condition statement or low-code script that specifies a condition for presenting this node in the conversation. The condition must evaluate to true.

    Channel support

    Table 1. Channel support for the Image bot response control
    Channel Support Constraints
    Web UI Supported The maximum image size is determined by the com.glide.attachment.max_size system property. The default value is 1024 MB.
    Mobile UI Supported The maximum image size is determined by the com.glide.attachment.max_size system property. The default value is 1024 MB.
    Now Assist panel Not supported Not applicable
    Microsoft Teams Supported None
    Slack Supported For details about the maximum image size allowed, check the Slack documentation.
    Workplace Supported For details about the maximum image size allowed, check the Workplace documentation.
    Facebook Messenger Supported For details about the maximum image size allowed, check the Facebook Messenger documentation.
    SMS Twilio Supported File size limits may vary. For Twilio limitations, check their Accepted Content Types for Media.
    LINE Supported File size limits may vary. For details, see the LINE documentation.
    WhatsApp Supported File size limits may vary. For details, see the WhatsApp documentation.
    Apple Messages for Business Supported None
    Alexa (Voice) Partial support Supported on devices with screens. For nonscreen devices, the user receives a message: We found an image. For details, see Fine-tune Virtual Agent settings and topics for the best Alexa voice chat experience.

    Example Image bot response control

    Note:
    Virtual Agent Designer controls may display and function differently in other channels.
    Response properties Image bot response output
    Figure 1. Image bot response control basic properties
    Basic properties include node name, the URL link to the image, and image alt text.
    Figure 2. Web UI Image bot response output
    A chat window shows a picture of a computer.
    Figure 3. ServiceNow mobile Image bot response output
    A chat window shows a picture of a computer.