Can you upload pdf from Slack to n8n?

Hi,

I have created a solution where I run /n8n …input… in Slack. It triggers my workflow and does some stuff and returns the result in Slack. I’m using a webhook to start and a “webhook response” to end my workflow. It works great. Now I try to run /n8n and upload a PDF file in the same step in Slack. Is this possible? My workflow is triggered but even when I configure “binary” I see 0 data.

Data:
File Name:
application/x-www-form-urlencoded
Mime Type:
text/plain
File Size:
0 B

Information on your n8n setup

  • n8n version: 0.219.1
  • Database (default: SQLite): Postgres
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Linux

Hi @lvthillo, welcome to the community!

Tbh, I’ve never tried this. n8n in principle can handle binary data, but I am not quite sure how Slack provides the data. Is there anything more helpful in the JSON data your webhook receives? Perhaps a URL or file identifier?

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