Add image to text response in virtual agent designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi,
I want to add a little image of a cart for a text response along with the message for one of my designer topic. Is it possible to do, if yes, how can it be achieved?
Thanks in advance!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Yes, it is possible to add a small image (like a cart icon) along with a text response in Virtual Agent Designer. You can achieve this using Rich Text Output or Adaptive Cards:
Rich Text Output (HTML in responses)
In your Virtual Agent topic, instead of plain text, use a rich text response.
Add an <img> tag pointing to the image (uploaded in Images table or accessible via a public link).
Example:
<img src="/images/cart.png" width="20" height="20" style="vertical-align:middle;"/> Your item has been added to cart.
Use ServiceNow Images Table
Navigate to System UI → Images in ServiceNow.
Upload your cart image (e.g., cart.png).
Then reference it in your response using /images/cart.png.
Adaptive Card (if using MS Teams/Slack integrations)
For richer UI, build an Adaptive Card JSON with both an Image and TextBlock.
Virtual Agent supports this for channels like Teams.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
@Vaishali 11 You will need another image type input (file picker in designer ) for this, it will not be possible with text type you are sending for test input.
So after your text input you need to have an image type input in your designer topic which will ask the user to attach the image (the input allows you to only accept image and not all types of files, there is an option in image input). This won't be possible with single text input.
Please mark the answer correct/helpful accordingly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Not possible.
As the type says it's only supporting text and not image.
You can use "HTML bot response" and include the image in that
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader