I’m using a locally-hosted N8N on Render.com, and although every other part of my workflow is working - Absolutely none of the Slack connections are working. I just can’t seem to get the “Send message” node working, no matter the connection.
It looks like your topic is missing some important information. Could you provide the following if applicable.
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system:
Hey @ruadhan_oc,
Welcome to the community
What error are you seeing when you try and send a message? There could be something useful in the output.
I’m guessing you haven’t set up the Slack app properly and you are having connectivity/permissions issue. If that is so. Here are the basic (minimal) steps you could try (skip any steps that you have already done).
- Create app at Slack API: Applications | Slack
- Add bot token scopes (permissions):
chat:write
- Update Basic Information (optional)
- Upload image (for example)
- Install the app to workspace
- Add the app to the Slack channel (from “Integrations” tab)
- Use bot token to connect the app
If that is all in place but still no message could be sent out, please, share the error message you get.
All of that is in place. I do not get any error messages, that’s the thing. After I press “Connect” when configuring a new connection, it just never saves. It says it’s saved, but when I try to click out of it it says “Close” or “Keep Editing” as if it was not connected. I’ve added every single bot permission. When I run this connection, it says “Run successful” but I get no output via the N8N side or the Slack side. Really confused haha
@ruadhan_oc , can you check the status of the connection from “Credentials” page? It sounds like establishing a connection between n8n and Slack has failed.
There are two types of authentication - via OAuth API and by means of the bot access token. Which one did you use? What is the status of the connection? Try to reconnect from “Credentials” page and let us know what you get.
Here’s how successful connection looks like for both types of authentication.
OAuth authentication
Token authentication
I’ve tried both types of connections several times, and it seems to be connected from the credentials page:
I thought at first it could be a problem with how I set it up on my Render.com VPC, but all the other HTTP requests, etc. seem to be working fine so I don’t think that’s it. Is there something I need to do on Slack for it to work maybe?
Is there an actual support system in place because I’m really getting sick of this not working
Hey @ruadhan_oc,
Can you share your workflow and n8n configuration? I have not been able to reproduce this myself so I suspect there could be a configuration issue somewhere, It looks like the node is able to load the channel list so things are working it is just something odd with the post.
Yes, I would love to! How exactly do I do that? I need to upgrade to use the “Share” functionality
Hey @ruadhan_oc,
You can just select the nodes and do a ctrl+C and a ctrl+v here, please don’t forget to include your n8n configuration as well. We don’t offically support render so we don’t know how it is configured there so we will need to rely on your knowledge of that platform to check some bits.
Is there anyway I can message you privately? I’d like to share everything with you but I have had bad experiences sharing sensitive information like this via public forums.
Hey @ruadhan_oc,
You can try a DM but there shouldn’t be anything sensitive in the workflow as credentials are kept outside of the workflow json so it would just be an id.
Workflow:
N8N Configuration:
Not exactly sure what to include here, but for context, I’m running N8N locally on a web service on Render (see all images below). I set this up following a YouTube tutorial titled “My New Favorite Automation Tool? - Get Started With n8n (Local Tutorial)” by “Mike Powers” (I can’t seem to send the link here).
Also, I think it’s important to note that all other API calls, webhooks, etc. have been working fine - It’s just Slack.
Alright, Looking at that lets do a simple 2 node workflow and see if that works. Can you try the below?
You may also struggle to use n8n with those resources, I would recommend starting with at least 1 CPU and 1GB of memory.
Ok, after removing a bunch of other apps in my Slack account this simple workflow seems to be working (the “Create a new credential” process was much smoother this time). But it’s still not working with my original workflow?
Also, do you mind explaining why you’d recommend having at least 1CPU and 1GB of memory?
Thank you so much for your help btw, this really does means a lot!
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.