Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Let's Build a Chatbot!

Let's Build a Chatbot!

For SDPHP Meetup on April 11, 2018 using Botman

Avatar for Marcus Moore

Marcus Moore

April 13, 2018
Tweet

More Decks by Marcus Moore

Other Decks in Programming

Transcript

  1. 4

  2. EXAMPLES ▸ Pizza Hut / Domino's ordering ▸ H&M customer

    support ▸ RSS-like feeds ▸ Slackbots ▸ Knowledge-base / Referencing data ▸ Resistbot (not only for resisting) 5
  3. WHAT IS BOTMAN? "A framework agnostic PHP library to build

    chat bots" By Marcel Pociot Available at: - Botman.io - github.com/botman/botman 8
  4. DRIVERS! ▸ Amazon Alexa ▸ Cisco Spark ▸ Facebook Messenger

    ▸ Hangouts Chat ▸ HipChat ▸ Microsoft Bot Framework ▸ Nexmo ▸ Slack ▸ Telegram ▸ Twilio ▸ Web ▸ WeChat 9
  5. GETTING STARTED WITH BOTMAN STUDIO ▸ A pre-configured Laravel application

    to get you started using BotMan quickly ▸ botman new my-bot 12
  6. CREATE A TELEGRAM BOT ▸ Super easy to get up

    and running ▸ Uses the BotFather 14
  7. BOTMAN STUDIO ▸ Easy as php artisan botman:install-driver telegram ▸

    Installs Telegram package and creates the configuration file ▸ Add your Telegram token that BotFather gave you ▸ Ping the Telegram webhook via php artisan botman:telegram:register 15
  8. TRY IT OUT ▸ Botman comes with a pre-configured response

    to "hi" so let's try that ▸ Open up Telegram and send "hi" 16
  9. BOTMAN FEATURES ▸ User Details ▸ Attachments can be sent

    and received ▸ Events ▸ Natural Language Processing 17