botpress/botpress

Knowledge base agent doesn't respond when using webhook trigger

Arslan-Soomro opened this issue · 1 comments

Here is the Workflow

  • I send a webhook request and in that body a query
  • Upon Webhook Trigger, Knowledge base is queried and answer is saved to a variable
  • An exectue code block runs and sends the given answer to my server by posting it at my server's api

Now the whole workflow executes but only that upon querying knowledge base I get no answer and turn.knowledgebase.responded is false always.

I have used the same flow but instead of connecting it to a webhook trigger I connect it to a start node and it works, but If I connect it with webhook trigger event it doesn't work.

This is how I have connected the nodes

image

Query Knowledge base Config

image

The Code Block

image

Hey there,

It looks like you're facing some trouble with Botpress Studio or Dashboard. This repository is mainly focused on integrations and developer tools like the Client, SDK, and CLI.

For the best support and help, I recommend heading over to our discord server. That's the perfect place to ask your question and get the assistance you need.

With that said, I'm pretty sure that the studio cannot currently receive actual events in the emulator. You have to deploy your bot to see if it works.

I'll go ahead and close this issue for now, but don't hesitate to open a new one if I misunderstood your concern.

Cheers,
Frank