Looking for Some help
# 🤝help
f
What can you see in the logs, when you use the Get Record card?
f
I can see the problem 🙂
The user haven't sent a message, which is why it can't query the KB
h
ofc you can 😂
f
I actually thought this had been fixed
I think I have mentioned it to @acceptable-kangaroo-64719 and @famous-jewelry-85388 before?
h
wait so i am unable to do this? becasue there technically isnt a user due to me using webhooks?
f
Yup 😦
As of now
Its not meant to be like this
It just is for some reason
h
damn ok
thats a bummer
f
Yea it really is. Had a project a while ago, where I let the user speak, and chat in that way, but the user would have to type something in so it could query the KB
h
dang i almost have this all done for my discord bot, I was so close 😭
@famous-jewelry-85388 and @acceptable-kangaroo-64719 come on i really need this lmao
f
What I understood is, your bot only recieved a message from webhook and do something else. No conversation, something like Zapier. Correct?
h
yes my bot is taking information from the webhook and querying a knowledge base then sending a webhook back
f
Can you try and include a conversation id in the webhook integration. This conversation would have a message from a user
h
im confused, sorry im very slow some days
f
This conversation id would be from an actual conversation that contains a message from a user
h
ahh ok
f
Can you test with a conversation id that is from an actual conversation that contains a message from a user
h
where would i find this?
f
I just got shown an easier way of doing it
You can start a conversation with the bot
Then type
//whoami
in the chat
Then copy the conversation id
h
ok perfect sounds good
sorry i was working on scholarships
Copy code
{
  "conversationId": "convo-3",
  "userId": "user-2"
}
use convo-3
f
This is from the emulator, can you try from the published bot?
h
yes i’ll try it
i just sent a webhook to the bot and it gave me the message it gives when it doesn't query the KB
3 Views