Skip to content

Latest commit

 

History

History
28 lines (14 loc) · 2.65 KB

examples.md

File metadata and controls

28 lines (14 loc) · 2.65 KB

Included Examples

These examples are included in the Botkit Github repo.

slack_bot.js An example bot that can be connected to your team. Useful as a basis for creating your first bot!

spark_bot.js An example bot that can be connected to Cisco Spark. Useful as a basis for creating your first bot!

facebook_bot.js An example bot that can be connected to your Facebook page. Useful as a basis for creating your first bot!

twilio_sms_bot.js An example bot that can be connected to your Twilio SMS service. Useful as a basis for creating your first bot!

twilio_ipm_bot.js An example bot that can be connected to your Twilio IP Messaging client. Useful as a basis for creating your first bot!

botframework_bot.js An example bot that can be connected to the Microsoft Bot Framework network. Useful as a basis for creating your first bot!

examples/demo_bot.js another example bot that uses different ways to send and receive messages.

examples/team_outgoingwebhook.js an example of a Botkit app that receives and responds to outgoing webhooks from a single team.

examples/team_slashcommand.js an example of a Botkit app that receives slash commands from a single team.

examples/slackbutton_bot.js an example of using the Slack Button to offer a bot integration.

examples/slackbutton_incomingwebhooks.js an example of using the Slack Button to offer an incoming webhook integration. This example also includes a simple form which allows you to broadcast a message to any team who adds the integration.

example/sentiment_analysis.js a simple example of a chatbot using sentiment analysis. Keeps a running score of each user based on positive and negative keywords. Messages and thresholds can be configured.