# User Name

**URL:** <https://forum.rasa.com/t/user-name/23482>\
**Category:** Tutorials, Resources & Videos\
**Tags:** mysql\
**Created:** [January 14, 2020, 8:35am UTC](https://forum.rasa.com/t/user-name/23482 "2020-01-14T08:35:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aashay1](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Aashay1](https://forum.rasa.com/u/Aashay1)\
**Post date:** [January 14, 2020, 8:35am UTC](https://forum.rasa.com/t/user-name/23482/1 "2020-01-14T08:35:40Z")

</div>

Hi , I want my chat bot to ask for user Id , then extract the user name from MS SQL .The data is stored in MS SQL , then my bot should greet with user name eg : Hi john , how can i help you today .

I am very new to this thank you

---

<div class="post-metadata">

**Author:** ![priya359](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/priya359/32/6464_2.png) [@priya359](https://forum.rasa.com/u/priya359)\
**Post date:** [January 14, 2020, 9:17am UTC](https://forum.rasa.com/t/user-name/23482/2 "2020-01-14T09:17:33Z")

</div>

hello @Aashay1

you can parse the user id as ‘entity’ from user response and save this in a slot(bot’s memory) and reply with custom action where you can query your DB for required data to respond

I hope this helps or tell me where exactly you need help

---

<div class="post-metadata">

**Author:** ![Aashay1](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Aashay1](https://forum.rasa.com/u/Aashay1)\
**Post date:** [January 14, 2020, 9:29am UTC](https://forum.rasa.com/t/user-name/23482/3 "2020-01-14T09:29:21Z")

</div>

Hey Priya ,

Thankz for quick reply , I’ll surely work on it !!
