Skip to content

With this bot you are able to store messages comfortably in your Dynalist Inbox

License

Notifications You must be signed in to change notification settings

PoJo93/dynalist-chatbot

Repository files navigation

Dynalist Chatbot

A chatbot which can push messages from a channel like Telegram to your dynalist inbox working with SAP Conversational AI platform.

Use Case Demonstration

Note: This project is currently in beta version and can be modified at any time.

Test the bot

Add the bot

Via Webchat

Webchat script

<script src="https://cdn.cai.tools.sap/webchat/webchat.js"
channelId="a4b980bb-7d48-451a-8dff-f1c57849c676"
token="48374a061050040522cfa81d56a0002e"
id="cai-webchat"
></script>

Optional

// Put the meta tag below for mobile responsive
<meta name="viewport" content="width=device-width">

Via Telegram

You can find it with the UserName @DynInboxBot

Setup Demonstration

Requirements for forking the bot

Setup

CAI account

Create an account on the SAP Conversational AI platform.

Inspect the bot

You can find the logic of the bot here

Installation

Local

First clone the project:

git clone git@github.com:PoJo93/dynalist-chatbot.git my-bot && cd my-bot

Then, install the dependencies:

Using pip

pip3 install -r requirements.txt

Using easy_install

easy_install `cat requirements.txt`

You should use your local Python3 or setup a virtual environment.

Deployment

See the blog article which will soon come out. (The link will be posted here)

Run locally

REQUEST_TOKEN=xxx LANGUAGE=xxx PORT=xxx python server.py

  • Download ngrok
  • Launch: ngrok http 5000
  • Copy the url ngrok outputs
  • Paste it in the CAI interface: Go to your bot page, click on the RUN tab and edit your current bot webhook
  • Chat with your bot on the channels you've configured ;)

SAP Clound Foundry

Currently it has all necessary files to be deployed under SAP Cloudfoundry. Follow this tutorial to set up the hosting on SAP Cloudfoundry

Usage

The chatbot should be self explenatory.

What it will do is saving the message/note you send it in your Dynalist Inbox in a comfortably formatted way.

Try it out yourself!

More

You can view the whole API reference at man.cai.tools.sap.

About

With this bot you are able to store messages comfortably in your Dynalist Inbox

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages