# Watson Assistant "context variable"

**URL:** <https://discourse.nodered.org/t/watson-assistant-context-variable/28751>\
**Category:** General\
**Created:** [22 June 2020 19:08 UTC](https://discourse.nodered.org/t/watson-assistant-context-variable/28751 "2020-06-22T19:08:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SufyanParkar](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sufyanparkar/32/24444_2.png) [@SufyanParkar](https://discourse.nodered.org/u/SufyanParkar)\
**Post date:** [22 June 2020 19:08 UTC](https://discourse.nodered.org/t/watson-assistant-context-variable/28751/1 "2020-06-22T19:08:26Z")

</div>

I am using Node-RED for making a UI, this UI has a **registration form** with input fields as:

1. Name:
2. Email:
3. Age:
4. Phone no.

my goal here is to have my Watson Assistant **know the name of the user before the user starts to chat with the bot.**

So, technically there has to be a node that feeds the assistant node with the user\_name and user\_email so as to have the bot greet the user as:

`Hey "$name" how may I help you?`

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [21 August 2020 19:08 UTC](https://discourse.nodered.org/t/watson-assistant-context-variable/28751/2 "2020-08-21T19:08:27Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
