Handle Slack Slash Commands

Just curious to know if there is a way of handling slash commands for slack with n8n, I want to grab the data passed to my slash command then return a message to the user. I don’t know if there is a workaround for this. Also while creating a slack slash command it requires a URL where it can post data to. Can the webhook URLs from the webhook node be used as the URL??

Looking forward to an answer

Welcome to the community @Shedrack_Akintayo!

Yes simply using the Webhook-Node is the correct thing to do.

2 Likes

Welcome to the community @Shedrack_Akintayo!

This blogpost might be of help: Learn how to use webhooks with Mattermost slash commands 🦄 | by Tanay Pant | n8n.io

Thank Tanay but I figured it out already :slight_smile: