Recipe: Slack support bot
Route Slack slash-command webhooks through Meridian to auto-respond with AI-generated answers, ticket creation, or escalation logic — no Lambda required.
How it works
Setup
- 1
Create a Slack app
Go to api.slack.com/apps, create a new app, and enable Slash Commands. Set the command to
/support. - 2
Point webhook at Meridian
Set the Request URL to
https://your-domain.com/api/slack/webhook. Meridian verifies the Slack signing secret automatically. - 3
Configure environment
Add
SLACK_SIGNING_SECRETandSLACK_BOT_TOKENto your Vercel environment variables. The bot token enableschat.postEphemeralreplies. - 4
Deploy
Push to Vercel. Slash commands respond within the 3-second Slack timeout. Meridian returns an ephemeral message visible only to the user who invoked the command.
Test your webhook
Paste your Slack webhook URL below to send a test payload through Meridian.
Inbound payload
Slack POSTs this application/x-www-form-urlencoded body:
token=gIkuvaNzQIHg97ATvDxqgjtO team_id=T0001 team_domain=example channel_id=C2147483705 channel_name=general user_id=U2147483697 user_name=steve command=/support text=my wifi is down response_url=https://hooks.slack.com/commands/...
Ready to ship?
This recipe is production-grade. Drop it into any Meridian project.