# Node-Red to Slack attachments

**URL:** <https://discourse.nodered.org/t/node-red-to-slack-attachments/36829>\
**Category:** General\
**Created:** [1 December 2020 20:05 UTC](https://discourse.nodered.org/t/node-red-to-slack-attachments/36829 "2020-12-01T20:05:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![loki79](https://avatars.discourse-cdn.com/v4/letter/l/c6cbf5/32.png) [@loki79](https://discourse.nodered.org/u/loki79)\
**Post date:** [1 December 2020 20:05 UTC](https://discourse.nodered.org/t/node-red-to-slack-attachments/36829/1 "2020-12-01T20:05:32Z")

</div>

Hi Guys,

I'm new here and working with node-red for half a year or so. I like it very much and still learning alot. But I have a problem. I'm sending my notifications and images via Pushbullet and that worked like it should. But I want to also be able to send them to Slack. Normal message work fine with a Slack Bot. But when sending a local image or other attachment I receive: error: "no\_file\_data".

I use the function node "slack web out" from: node-red-contrib-slack v2.0.0

```auto
msg.topic = "files.upload"
msg.payload = {
    channels: "#general",
    //title: "this is a test",
    initial_comment: "test",
    file: "@/dir/dir/node-red/image.jpg"
}
return msg

```

Is there somone that could help me with this one?

Sorry if I put this in the wrong forum.

regards,  
L

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [30 January 2021 20:05 UTC](https://discourse.nodered.org/t/node-red-to-slack-attachments/36829/2 "2021-01-30T20:05:32Z")

</div>

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