Share feedback, ideas and get community help

Updated 5 months ago

Integrate TypeBot with Botpress Knowledge Base?

At a glance

A community member is interested in integrating a Botpress chatbot and its knowledge base with TypeBot using a webhook. Other community members suggest using a webhook block to call the Botpress API, and provide a video tutorial as an example. However, the community member is having trouble configuring the request body and Botpress to receive the message, and is stuck. They have reached out to Botpress for help, but no solution has been explicitly provided in the comments.

Useful resources
Hi People, Would it be possible to activate a Webhook in TypeBot that would query a Botpress ChatBot and its KnowledgeBase and return a response? I appreciate your ideas and comments. Thank you.

This would give TypeBot extra knowledge, at a good price πŸ˜‰
Attachment
23510677.png
B
N
6 comments
That's actually a good question, I don't know!
You might call the Botpress API using a Webhook block
Thanks for the reply @Baptiste , I will check the Botpress documentation https://botpress.com/docs/api-documentation/ and give it a try. Although my knowledge is limited in certain key phases....

Leveraging the power that BotPress has in the knowledge base within TypeBot (which it doesn't have at the moment), is a level jump and I think it can interest a lot of people.

In Botpress you can include documents, tables, sitemap, website search in real time... these are powerful tools to power TypeBot.

I will test... any help or input will always be welcome. 🧐
Let us know πŸ™‚
Hi, I have seen your video, but the problem I have is that I don't know what I have to configure in the BODY to send to Botpress and how I have to configure Botpress to receive "the message".

At this point I am stuck, I have asked Botpress also to see if they can help me a little.

I only know that it has to have this structure:

{
"channel": "channel",
"tags": {
"message": "message"
}
}

And this is the error that I get from your console:

{
"statusCode": 400,
"data": {
"id": "err_20240125090716xA721A736",
"code": 400,
"type": "invalidPayload",
"message": "Tag "webchat:Message" in payload is invalid as it's not defined in the available conversation tags."
}
}

I understand that something is wrong with Botpress? If anyone has a key, it would be welcome. Thank you.
Add a reply
Sign up and join the conversation on Discord