# How to pass used\_id to Watson-AssistantV2 node?

**URL:** <https://discourse.nodered.org/t/how-to-pass-used-id-to-watson-assistantv2-node/64312>\
**Category:** General\
**Created:** [24 June 2022 02:05 UTC](https://discourse.nodered.org/t/how-to-pass-used-id-to-watson-assistantv2-node/64312 "2022-06-24T02:05:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fedepoe](https://avatars.discourse-cdn.com/v4/letter/f/b77776/32.png) [@fedepoe](https://discourse.nodered.org/u/fedepoe)\
**Post date:** [24 June 2022 02:05 UTC](https://discourse.nodered.org/t/how-to-pass-used-id-to-watson-assistantv2-node/64312/1 "2022-06-24T02:05:46Z")

</div>

Hi! I have been trying to send the user\_id to the Watson Assistant V2 node in different ways but I could not find anyone that worked.

I tried:

msg.user\_id  
msg.params.user\_id  
msg.params.context.user\_id  
msg.params.context.metadata,user\_id  
msg.params.context.glogal.system.user\_id  
msg.addiltinal\_context.glogal.system.user\_id

In the node documentation there is no mention of the user\_id, only session\_id.  
user\_id is important as the billing of the assistant is measured by the monthly active users.  
I cannot add it in the payload as payload only allow a "string" as the input text from the client.

Many thanks!!

---

<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:** [23 August 2022 02:06 UTC](https://discourse.nodered.org/t/how-to-pass-used-id-to-watson-assistantv2-node/64312/2 "2022-08-23T02:06:24Z")

</div>

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