Hi i can able to search in database, in the test option, how can i able to access the data from the database?
I have created a database by name fludio_lead_generation, in which i am storing the name, phone number and designation.
In the search Database i am searching the phone number, if phone exists i need to display Hi , (“name”)? How can i do this?
Don’t test it by using this test button. Instead of this directly test this with the bot.
It is coming as “Please enter a valid phone number”
just now i tried, i am getting otp i did not got the msg “Please enter a valid phone number”
i working fine, but i need to display name corresponding to the particular phone number from the database . How to do that ?
Let me breif you i am storing the data in the fludio_lead_generation database, i just want access this database , by otp validation, if the number exists in this database. need to get a msg saying Hi{“name”}
Hey @Chetan_Kumar yes can do this. We are storing the DB search in an Object variable from there you can access the user name from the DB.
Can test the bot again I have made the changes for you.
You can find the specific thing you’re looking for here: How do I retrieve Database data inside a bot flow? | yellow.ai
No I can’t display the name, i am storing the response in the fludio_display_name which is an object.
may i know where I went wrong ?
can you try with index ‘0’ instead of ‘1’