Questions tagged [botkit]

Botkit is a toolkit for making bot applications. Botkit is designed to ease the process of designing and running useful, creative bots that live inside Slack, Facebook Messenger and other messaging platforms.

It provides a semantic interface to sending and receiving messages so that developers can focus on creating novel applications and experiences instead of dealing with API endpoints.

Botkit features a comprehensive set of tools to deal with popular messaging platforms, including:

  • Slack
  • Facebook Messenger
  • Twilio IP Messaging

GitHub project: https://github.com/howdyai/botkit

174 questions
0
votes
1 answer

Error in setup with Botkit CMS and Botkit Web

I followed the official guide to connect Botkit Web and CMS and received the following error when sending a message in the script with name of assortment created in cms. Does anyone know how to solve or can you give more details on how to…
Jonatas Eduardo
  • 834
  • 9
  • 18
0
votes
1 answer

How to install yo on node@12 and npm@6.9.0 with zshrc via homebrew

I have been trying to install yo to integrate and test botkit but had issues with yo and npm and node as I updated brew on my mac to the latest. Here is how I resolved it.
0
votes
1 answer

Host a Node.js bot (express and botkit)

I just made a bot in node.js for the Cisco Webex Teams application. My bot uses "express" and "botkit". "Express" requires listening on the port "3000" and "Botkit" listening on the port "8080". I tried heroku.com but it does not accept two…
SkroS
  • 9
  • 5
0
votes
1 answer

can i deploy botkit-cms to heroku?

i got the deployment for the botkit-anywhere but for the botkit-cms, the deployment from the nodejs show success but when running the app in heroku, the deployment is not success (show only "--Application error--"). Running local is fine, just…
0
votes
3 answers

What is "({})" in JavaScript?

I am learning JavaScript / Node.js. Looking at bot.js from botkit-starter-web line 33, it shows: var db = require(__dirname + '/components/database.js')({}); My question is, what is ({}) represent in that line? I can't Google the answer for it.
Hadi
  • 19
  • 3
0
votes
1 answer

Botkit console chat integration with DialogFlow not working

I am working on a console bot (it's the console_bot.js example from Botkit). Setup agent on DialogFlow console, downloaded son file with private key, downloaded botkit-middleware-dialogflow. This is the actual code: var Botkit =…
Ethan
  • 45
  • 10
0
votes
1 answer

slack how to know if bot recently posted

I am using botkit, i have a bot that responses to a certain word. But i don't want the bot to response if it recently did so. Currently i am using channels.history method to retrieve 4 recent messages then find the bot id, if its there it won't…
JEEZSUSCRIZE
  • 174
  • 2
  • 16
0
votes
1 answer

Interactive messages in botkit

Im currently hosting the Slackbot on IBM cloud. Everything works fine until I want to add Interactive messages. This is a part of the documentation In order to use interactive messages, your bot will have to be registered as a Slack application,…
Dymond
  • 2,158
  • 7
  • 45
  • 80
0
votes
1 answer

Looping over Botkit startPrivateConversation method for many users

I'm trying to send an update to all my users in a separate js file, so in order to do this properly I needed to create a new bot controller. I'm currently attempting to call a notification function inside my controller.on rtm_open function. I am…
0
votes
2 answers

Botkit with mysql instead of mongodb

Does anyone know how to use mysql with botkit instead of mongodb? I've tried installing Mysql for botkit as seen here https://www.npmjs.com/package/botkit-storage-mysql and I added the code provided to my bot.js file. How can I do a simple test to…
TrimTrimm
  • 103
  • 1
  • 9
0
votes
1 answer

How can I trigger a dialog in Watson Conversation?

I need trigger a specific dialog in ibm-watson conversation, but without ask the user to type something (like a intent). I need to use botkit to init a specific dialog. That's is possible? I'm looking for in all possible documentation and links at…
0
votes
1 answer

Botkit slackbot error "Could not load team while processing webhook"

I have created a simple express server and added a /slack/receive route to handle webhook requests from the Slack events API: // routes.js (which is used by my app defined in server.js) ... let slack =…
R S
  • 86
  • 9
0
votes
1 answer

Can you use Botkit and botframework on azure webchat and skype?

I've set up a starterkit on studio.botkit.ai for Microsoft Teams. The bot is hosted on glitch. In Azure bot registration I've included the endpoint provided by glitch. Ive also added my id and password from azure bot registration to my bot. When I…
TrimTrimm
  • 103
  • 1
  • 9
0
votes
0 answers

Get selected values from message menu or drop-down on click of a button in a slack interactive message or attachment

I have a slack message with two actions: Message Menu, i.e. dropdown Button I would like to: Select a value from the message menu or drop-down. Click the button. On clicking this button, I would like to get the value of the selected value from…
0
votes
1 answer

Is it possible to post code snippet with Botkit to Slack

I'd like to know is it possible to post a message with attachment, similar like I can add using Slack' action Code or text snippet, as the reply from my bot. Should I use bot.reply or maybe some other method?
Artur79
  • 12,705
  • 1
  • 22
  • 22