Skip to content

PrajvalRaval/lambda-rc-flashbriefing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rocket Chat Flash Briefing

Flash Briefing Skill - Powered By Rocket.Chat


Let's Get Started

Deploy your Flash briefing skill in minutes using Rocket chat and broadcast messages on both channel and skill in realtime.

Repository Contents

  • lambdaFunc.zip - Deploy file for Lambda Functions consists of backend code and node modules.
  • /src - Back-End Logic for the Alexa Skill hosted on AWS Lambda.

Setup

Pre-requisites

Enabling Anonymous Read

  • Go to Server -> Three Dot Menu -> Administration -> Accounts , and Set Allow Anonymous Read to True.

Note: Requires Admin Access.

Getting Repository Contents

  • Clone The Repository,

    git clone https://github.com/PrajvalRaval/rocket-chat-flash-briefing.git

Creating Broadcast Channel

  • On Server Homepage click on Create New -> Channel

  • Set Private Channel -> Public Channel and Enable Broadcast Channel.

  • Then give your Channel Name, and click on Create.

Creating Lambda Fucntion

  • Go To Lambda Management Console

  • Click on Create Function

  • Choose Author From Scratch and fill in your Function name.

  • Make Sure Your Runtime is > v8.10 and click on Create Function.

  • Now in Function code, choose Upload A .zip file and upload lambdaFunc.zip file and click Save.

  • Create Two Environment Variables and hit Save

    1. SERVER_URL https://yourservername.rocket.chat
    2. CHANNELNAME (The name of the Broadcast Channel we created earlier, make sure its in lower case with no spaces)
  • Add API Gateway Trigger. Select Create A New API, for security choose Open and then click on Add. Finally click Save.

  • We will be using API endpoint in the next step. You can also change skill title as per you need in code.

Creating Flash Briefing Skill

  • Go Alexa Developer Console.

  • Click on Create Skill, give Skill name , Default language and choose Flash Briefing model then click on Create Skill.

  • Write Custom Error Message, then click on Add new feed. Fill details as per you requirement.

  • Choose Content type as Text.

  • In Feed, paste the API endpoint URL.

  • Upload Photo and hit Add.

  • Click on Save and that should complete the complete the process.

About

Anywhere anytime Alexa flash briefing publishing - powered by Rocket.Chat. Deployed On Lambda.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published