Now we will create a Slack App with the Slash Command /askfaq
so users in your workspace can send input to the API Gateway.
AWSChatbot
Field | Value |
---|---|
Command | /askfaq (or another name) |
Request URL | https://<your-api-id>.execute-api.<region>.amazonaws.com/slack (the endpoint from API Gateway you created earlier.) |
Short Description | “AWS chatbot” |
Usage Hint | [your question] (e.g.: “/askfaq What is aws? ”) |
commands
chat:write
files:read
calls:write
Event Subscriptions
Enable Events
https://<your-api-id>.execute-api.<region>.amazonaws.com/slack
(the endpoint from API Gateway you created earlier.)Allow
✅ After installation, you will see:
Open Slack and try typing anything to see if you get a response. At this step, you just need to receive any response. If the API Gateway has an error, Slack will report a Timeout. Everything is set up correctly if you see a result like