Binary to JSON

Hello everyone, I have a question regarding the use of the node “Convert to/from binary data”.

I used the node Email Trigger to get the file attachment with the format “resolved”, then I linked with the node “Convert to/from binary data” to convert to JSON, but it is not returning the data. What might be the issue?

Share the output returned by the last node

No output data returned

Information on your n8n setup

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

Hey @Hnk,

in the email trigger you named your attachments like attachment_ which means that your first attachment has the name attachment_0.

Therefore you need to set the source key in the Convert Node to attachment_0.

It would also be helpful to have an example file and the info about what you are expecting the result to be.


1 Like

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