This is a simple integration for sending messages to your bot via API and recieving responses.
One simple api endpoint to get responses from your bot. One configuration parameter to set the recieving endpoint for the bot responses.
Just send the required information and this integration takes care of gettting/creating users, conversations and messages in Botpress.
You can see the full documentation here.
- Clone this repo
cd botpressapi
- open package.json and change the name field to something unique (like botpressapi-your-company-name)
npm i
npm run login
npm run deploy
- Go to your bot's workspace on https://app.botpress.cloud
- Click the gear icon on the top right corner, then "Integrations"
- Select "botpressapi" on the left hand navigation bar.
- Click "Install" on the top right button, then select the bot you'd like it installed with.
- Follow the instructions here to use the integration