# Binary File can't be used

**URL:** <https://community.n8n.io/t/binary-file-cant-be-used/30953>\
**Category:** Questions\
**Created:** [September 27, 2023, 10:14am UTC](https://community.n8n.io/t/binary-file-cant-be-used/30953 "2023-09-27T10:14:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pfiadDi](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@pfiadDi](https://community.n8n.io/u/pfiadDi)\
**Post date:** [September 27, 2023, 10:14am UTC](https://community.n8n.io/t/binary-file-cant-be-used/30953/1 "2023-09-27T10:14:24Z")

</div>

Hi I have this workflow:  
Webhook → HTTP Request → Email

1. Webhook gets data (works)
2. HTTP Request -  
Sends a request to an api and gets a word document back (works! The file and meta data is shown in the output field and offers me to download it, which works as well)
3. Email  
I want to send this file via email but how should I do that?

- I can’t drag the file into the attachment field
- I can’t access it viat $item.data or $item.body

Where is my file? 🙂

BR

n8n 1.7.1  
selfhosted  
community edition

---

<div class="post-metadata">

**Author:** ![pfiadDi](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@pfiadDi](https://community.n8n.io/u/pfiadDi)\
**Post date:** [September 27, 2023, 2:13pm UTC](https://community.n8n.io/t/binary-file-cant-be-used/30953/3 "2023-09-27T14:13:38Z")

</div>

I solved it.  
It is super easy, but - with all respect - poorly documented 🙂

When using the file node:  
Field “Property Node” - here you can enter any value you like, in the next nodes you can access the file(s) with this variable e.g. “loadedFile”

When using an http request:  
After you added the option Response \> Response Format “File” \> There is the field “Put Output in Field”, add a variable name here.  
Same logic.

Dear n8n Team 🙂 this explanation should be included in the https request node docs and the read binary file node - that would make everything easier!

So in my example I called it body and in the email node in the attachment field I just entered body and it works.

Thanks!  
Br

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [October 4, 2023, 2:13pm UTC](https://community.n8n.io/t/binary-file-cant-be-used/30953/4 "2023-10-04T14:13:39Z")

</div>

Closed on October 4, 2023, 2:13pm UTC

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