![]() You have the option to select one of the samples, or "create your own". Open AWS Lex in one of the supported regions to create a Lex bot. Let's start by creating a simple Lex conversation bot in the AWS console In this blog entry we will show how to create a slack bot application using AWS Lex as the backend for conversational dialog services. Employees can query information just by asking a question, from the slack desktop- or mobile app, and instantly get results. For instance, our WebGate internal slack bot can query data from various sources like group calendar, employee directory, vacation requests, CRM contacts, etc. If (!event.bot_id & /(aws|lambda)/ig.test(event.Chat bots can be very useful to quickly retrieve information without having to log in and click through applications. test the message for a match and not a bot If (data.token = VERIFICATION_TOKEN) callback(null, data.challenge) Lambda Function const https = require('https'), A Slack App installed on a team with the channels:history and chat:write:bot OAuth scopes. ![]() ![]() An AWS Lambda function triggered by a url (Read this tutorial to find out how).If found, it will respond by mentioning the sender and giving Lambda praises. This demo looks for the words aws and lambda in a message. This is a demonstration of Slack's Event API using AWS Lambda to receive events and respond to specific messages. To learn the new way to verify requests, read Verifying requests from Slack. We have introduced Signing secrets to verify the authenticity of a HTTP request to replace the verification tokens.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |