Skip to content

Rocket.Chat Alexa skill that works as client for multiple servers

License

Notifications You must be signed in to change notification settings

RocketChat/alexa-rc-multiserver-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rocket Chat Multi Server Skill

Rocket.Chat Alexa skill that works as client for multiple servers

Hosting Proxy Server

  1. Until we have UI ready on Rocket chat, You can test this skill by hosting server on Heroku or any hosting service of your choice.

  2. After server is up and running you can use Postman or CURL as per your choice to send Servername, ServerURL, UserID and Token and get a pincode. To generate UserID and Token go to Rocket Chat => My Account => Personal Access Token. Header Syntax can be found here

Deploying Skill

  1. Clone the repository

    git clone https://github.com/RocketChat/alexa-rc-multiserver-client

  2. Go To Root Directory,

    cd alexa-rc-multiserver-client

  3. Deploy Skill,

    ask deploy

Creating Database

  1. After deploying skill, goto DynamoDB and click on Create Table

  2. Give A Table name. For Primary Key use 'userID' as key name.

  3. Click on Add sort key, and give 'server' as key name.

  4. Click on Create

Giving Lambda Environment Variables

  1. Once the table is ready, go to your lambda function and give the following values:

    DDB_NAME : Your DynamoDB Table Name MULTISERVERPROXY_URL : Your Proxy Server URL

  • Example Config:

screen

Testing Skill

  1. To Add a server say : Alexa, Add Server followed by pincode generated in the proxy server request.

  2. To Switch a Server : Alexa, Switch Server followed by servername you provided.

  3. Currently this skill supports only PostMessageIntent and GetLastMessageIntent. Also don't use keyword Alexa as a channelname or in utterances as it will not work.

About

Rocket.Chat Alexa skill that works as client for multiple servers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published