Skip to content

orangejellyfish/pub-bot

Repository files navigation

Slack Bot Example

Based on the orangejellyfish serverless starter kit, these examples of two slackbots are explored in detail in the building a serverless bot blog.

Features

Example 1:

API Gateway Slack Hook - A simple bot which echo's back the input you type in Slack.

Example 2:

Lambda Function Slack Hook - A Slack bot which takes a postcode as an input and returns a nearby pub name and address.

Usage

To deploy a new serverless stack

npm run deploy

Once deployed you can configure a slash command in Slack to call either of these lambda's via their URLs. To set up a slack command see here.

About

Slack bot example with Lambda function URL and API Gateway URL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors