If you want to learn:
- How do I set up a Slack bot with OAuth authentication?
- What permissions and scopes does my n8n Slack integration need?
- How do I connect n8n to Slack using OAuth tokens?
- What are the steps to create a Slack app for workflow automation?
- How do I configure Event Subscriptions for a Slack bot?
- How can I integrate n8n with Slack to automate messages and notifications?
Then this lecture is for you!
In this comprehensive tutorial, you'll learn how to build a Slack bot integration with n8n using OAuth2 authentication. This lecture walks you through the complete process of creating a Slack app in your workspace, starting with navigating to the BUILD section and setting up a new app from scratch.
You'll discover how to configure OAuth & Permissions by adding six essential bot token scopes: app_mentions:read, channels:history, channels:read, chat:write, im:history, and users:read. The tutorial demonstrates how to install the app to your workspace and retrieve the critical Bot User OAuth Token needed for n8n authentication.
The lecture covers setting up Event Subscriptions in Slack to enable real-time communication between Slack and your n8n workflow. You'll learn how to create and configure a Slack channel, invite your bot using the /invite command, and locate the channel ID required for the n8n Slack trigger node.
On the n8n side, you'll set up a Slack trigger node configured to respond to bot mentions, create new credentials using your OAuth access token, and connect it to your specific Slack channel by ID. This integration enables automated workflows that can send messages to Slack, respond to mentions, and trigger actions based on Slack events.
By the end of this lecture, you'll have a functional Slack OAuth integration ready to automate processes and build powerful workflow automation between n8n and your Slack workspace.