Code Monkey home page Code Monkey logo

alexa-slackmessage-skill's Introduction

ALexa Skill to send Slack message

This skill can be used to send slack messages through Alexa and also you can define the channel you want to send the message too.

Requirements

  1. Amazon developers account
  2. Amazon Web services account
  3. slack webhook Url (these can be generated from https://api.slack.com/incoming-webhooks)
  4. SlackBot key
  5. Amazon app id

Usage

copy paste the intents and utterances with the right slot in your amazon alexa skill kit. then zip this folder and upload to Amazon Lambda for immdediate running. dont forget npm insatll and stuff

Intents

Slots are where you get your parameters, and the slots that are available for an intent (and their data type) are defined in a schema json file:

{
  "intents": [
    {
      "slots": [
        {
          "name": "SlackMessage",
          "type": "slackmessage"
        }
      ],
      "intent": "GetSlackMessage"
    },
    {
      "slots": [
        {
          "name": "SlackChannel",
          "type": "slackchannel"
        }
      ],
      "intent": "GetSlackChannel"
    }
  ]
}

Utterances

Then we need our sentence data. These are just examples of how a user might invoke a sentence:

GetSlackMessage please send a message to slack
GetSlackMessage can u write to slack
GetSlackMessage would u notify slack
GetSlackMessage the message for slack is {SlackMessage}
GetSlackMessage slack message is {SlackMessage}
GetSlackMessage message is {SlackMessage}
GetSlackChannel slack channel is {SlackChannel}
GetSlackChannel channel is {SlackChannel}
GetSlackChannel the channel to write to is {SlackChannel}
GetSlackChannel {SlackChannel} write to this channel
GetSlackChannel send to channel {SlackChannel}
GetSlackChannel send to {SlackChannel}

Slots

  1. SlackMessage
hey its me remeber
what is going on man 
i just want to send a message on slack
screw the world
  1. SlackChannel
plumber
coder
developer
carpenter
doctor
tester

alexa-slackmessage-skill

alexa-slackmessage-skill's People

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.