From the course: Build AI Agents and Automate Workflows with n8n
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Authenticating Slack - n8n Tutorial
From the course: Build AI Agents and Automate Workflows with n8n
Authenticating Slack
- [Instructor] Now we need to authenticate Slack with n8n. Here, under OAuth & Permissions, we have an OAuth token. I'll copy it. Then I'll go over into n8n. I'll add an additional trigger. So I'll start up here by saying Slack. Then I'll choose On bot app mention. In the settings, I'll go to Credential to connect with, use the dropdown, click Create new credential, and this is where I need to paste in that access token. Click Save. Connection tested successfully. That means everything is working. Then down here, I can choose which channel to watch, and this bot has access to general. And now I need to tell Slack where to send messages whenever this bot is mentioned and that's done using what's called a webhook. So up here it says Webhook URLs. Here we again have a test URL and a production URL. And if you go down here, you'll see it's exactly as before. So I'll copy the test URL, then I'll click Execute step. So now we are listening for an event. Then I'll go to Slack API, go to…
Contents
-
-
-
Introducing n8n2m 6s
-
The Plan: An AI-powered Slackbot managing a Google Sheet2m 30s
-
(Locked)
Creating a new n8n workflow with a trigger1m 55s
-
(Locked)
Adding an AI agent and a chat model5m 28s
-
(Locked)
Adding a tool to the AI agent4m 47s
-
(Locked)
Using a sub-workflow as a tool4m 48s
-
(Locked)
Using the filter node to modify data4m 51s
-
(Locked)
Creating an MCP server in n8n4m 41s
-
(Locked)
Adding tools to the MCP server3m 50s
-
(Locked)
Creating a Slackbot2m 56s
-
(Locked)
Authenticating Slack3m 31s
-
(Locked)
Adding a Slack trigger2m 16s
-
(Locked)
Sending messages to Slack2m 27s
-
-