How to download an image from a private Slack channel for use in n8n?

Describe the problem/error/question

Hello everyone,

I’m trying to get an image from a private Slack channel so I can use it later in the flow.

The problem is that I can’t seem to retrieve the actual file from Slack using the HTTP Request node. I’ve been trying to find a solution for hours now, but nothing seems to work.

Thanks to another post, I managed to get a binary data output from the HTTP Request node — but unfortunately, the data is empty and there’s no image.

Any ideas on how to properly download the image from Slack so it can be used in the flow?

I’ll also attach some screenshots of my setup and the current Slack OAuth scopes I’m using.

Thanks in advance for any help!

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

hello @ReB

Try this link. But I think the HTTP node need the Slack credentials to get the file

image

You can check that by opening the URL in the browser. If it’s get downloaded without the credentials - you can use no authentication. Otherwise the HTTP node won’t be able to get the file

2 Likes

@barn4k Thank you! I just had to link the Slack OAuth2 credentials to the HTTP Request node — now it works perfectly!

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.