Transfer data from Outlook message to HTTP request

Hi All

I am trying to retrieve and transfer data from a message in an Exchange Online mailbox (Outlook), save it in FTP and then send it in one request to HTTP. I need all the attachments and message data (subject, body, headers). The flow works, but I have questions:
It only saves one attachment. How can I retrieve all attachments at once?
Subject, body, headers are the JSON format. I only succeeded through a separate mailbox request. Is it possible to get data in a JSON file and immediately data on attachments in one mailbox request and save it to FTP?
Is it possible to remove the FTP step and immediately transfer data to request HTTP?

Information on your n8n setup

  • Preformatted textn8n version: 1.50.1
  • Database (default: SQLite)
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via Docker
  • Debian

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:

Hi @hassan

Thanks for posting here and welcome to the community! :partying_face:

You can probably try a code node that retrieves the binary data (and some meta data if you want) and return new items with all binary data so you can use that for your HTTP node.

Here’s a little boilerplate code to get you started… Hope it helps!

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