Transferring binary data between nodes

Hello community,

I am facing the following challenge and need your help:
I am currently working on text course Level 2 - Workflow 2 - Part 3 - Step 5: " Use the Discord node to send a message in the n8n Discord channel #course-level-two . In the node, configure the following parameters:

  • Webhook URL: The Discord URL you received in the email when you signed up for this course.
  • Text: “I created the spreadsheet {file name}. My ID:” followed by the unique ID emailed to you when you registered for this course.
    Note that you need to replace {file name} with an expression that references data from the previous Convert to File node."

I got everything to work besides replacing the {file name} with an expression that works. The node sends messages to discord without giving me an error message. But the messages in Discord don’t contain the file name.

Here is the node configuration I am using:

Thanks in advance for your help!

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:
  • n8n version: hosted (starter)
  • Database: probably default, I never changed anything here
  • n8n EXECUSTION_PROCESS setting: probably default, I never changed anything here
  • Running n8n via: cloud
  • Operating system: macOS Sequoia 15.2

The property you are looking for is nested under binary.data (note that it is hinted for on the left hand side panel). Also take advantage of autocompletion feature, once you tap . while typing the property chain the editor will suggest options to pick among. It’s a really poweful feature that saved me a ton of time building the code. If you want to try it in this exercise, remove part of the chain up until binary and tap ..

The filename reference should look like $input.item.binary.data.fileName.

If you find this response helpful, please mark it as a Solution.

1 Like

Thanks for your quick reply! This did solve it.

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