How can I get the fullAddress field of my UserRegistrationTable table knowing the user's phoneNumber, using the Botpress visual interface?
I tried to use the Find Records card, however it returns all the columns of the selected user.
That's the record filter: The value phoneNumber is equal to @user.phoneNumber
p
prehistoric-airplane-85682
05/06/2025, 8:13 PM
You can use the query knowledge base card if your table is apart of any of your knowledge base.
Otherwise if you're storing the output of your find records card in an array, you should be able to access the appropriate cell to get the fullAddress out of it.
Hope this helps!
b
billions-nest-47670
05/07/2025, 1:11 AM
I understand, but what I want to do is to get a specific field from the user, not get the array and then filter it. Something similar to what is done in sql type databases: SELECT fullAddress FROM UserRegistrationTable WHERE phoneNumber = phoneNumber
p
prehistoric-airplane-85682
05/07/2025, 1:28 PM
The information you need is stored in the find record answer. For example, the text card after it could return {{workflow.'yourArrayName'[0].fullAddress}}