# Question: How to get and set the URL when outputting Watson Assistant's response image and option in Node-RED

**URL:** <https://discourse.nodered.org/t/question-how-to-get-and-set-the-url-when-outputting-watson-assistants-response-image-and-option-in-node-red/8428>\
**Category:** General\
**Created:** [27 February 2019 07:29 UTC](https://discourse.nodered.org/t/question-how-to-get-and-set-the-url-when-outputting-watson-assistants-response-image-and-option-in-node-red/8428 "2019-02-27T07:29:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![az-toFu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/az-tofu/32/6345_2.png) [@az-toFu](https://discourse.nodered.org/u/az-toFu)\
**Post date:** [27 February 2019 07:29 UTC](https://discourse.nodered.org/t/question-how-to-get-and-set-the-url-when-outputting-watson-assistants-response-image-and-option-in-node-red/8428/1 "2019-02-27T07:29:12Z")

</div>

I want to make web chatbot using Watson Assistant

1. Watson Assistant's Try it works normally
2. For flows created with Node-RED, text only exchanges are normally done
3. I can not understand how to set response type option and image set in Watson Assistant Dialog and it is stopped.

Output options of "Option" and "Image" do not correspond to Assistant nodes alone How can I set Opiton and Image of Response with Node - RED? Does the node use Function or Templete (mustache format)? ↑ How should I write?

Thank you for your consideration.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [27 February 2019 13:48 UTC](https://discourse.nodered.org/t/question-how-to-get-and-set-the-url-when-outputting-watson-assistants-response-image-and-option-in-node-red/8428/2 "2019-02-27T13:48:41Z")

</div>

Which node are you using? Possibly node-red-contrib-something.

---

<div class="post-metadata">

**Author:** ![az-toFu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/az-tofu/32/6345_2.png) [@az-toFu](https://discourse.nodered.org/u/az-toFu)\
**Post date:** [28 February 2019 00:27 UTC](https://discourse.nodered.org/t/question-how-to-get-and-set-the-url-when-outputting-watson-assistants-response-image-and-option-in-node-red/8428/4 "2019-02-28T00:27:44Z")

</div>

Dear Colin,

Thank you for your comment.

I am using Node-RED provided by IBM Watson.

After sending a question, Assistant can now get the URL of the image, but I do not know how to put out the display with the chat bot.  
Do you know how to set the GET URL using which node tag?

---

<div class="post-metadata">

**Author:** ![az-toFu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/az-tofu/32/6345_2.png) [@az-toFu](https://discourse.nodered.org/u/az-toFu)\
**Post date:** [28 February 2019 01:34 UTC](https://discourse.nodered.org/t/question-how-to-get-and-set-the-url-when-outputting-watson-assistants-response-image-and-option-in-node-red/8428/5 "2019-02-28T01:34:03Z")

</div>

Dear @Colin,  
Ignore my first reply.  
(I do not understand English, I made a mistake in interpretation, I made an incorrect reply.) I am sorry

Current status;

1. Specify image on Assistant node
2. You can get the URL of image on Funciton node.

> It seems that there is no problem so far

1. Display image on chat bot using template node  
The part of the template node No. 3 is not well formed.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [28 February 2019 08:44 UTC](https://discourse.nodered.org/t/question-how-to-get-and-set-the-url-when-outputting-watson-assistants-response-image-and-option-in-node-red/8428/6 "2019-02-28T08:44:21Z")

</div>

> [@az-toFu](#):
>
> Display image on chat bot using template node  
> The part of the template node No. 3 is not well formed.

I think you need to give more details of exactly what the problem is. Perhaps show us a small part of your flow and explain what is not working.

---

<div class="post-metadata">

**Author:** ![az-toFu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/az-tofu/32/6345_2.png) [@az-toFu](https://discourse.nodered.org/u/az-toFu)\
**Post date:** [5 March 2019 03:21 UTC](https://discourse.nodered.org/t/question-how-to-get-and-set-the-url-when-outputting-watson-assistants-response-image-and-option-in-node-red/8428/7 "2019-03-05T03:21:07Z")

</div>

Dear @Colin  
Hello  
Thank you for always answering.  
I am suspended because it is in another work.  
I'm sorry I can not reply soon
