How to process each attachment and upload them to azure blob one by one

Describe the problem/error/question

I’m trying to configure a workflow in n8n where Gmail attachments are retrieved and then uploaded one by one to Azure Blob Storage. I need to generate public links for each uploaded file. The Gmail part works fine, but I’m not sure how to configure the Azure Blob node (or whether I need to loop/iterate attachments properly).

I am not able to process each attachment

workflow

Information on your n8n setup

  • n8n version = 1.109.2
  • self hosted

Hey, binaries are a bit of a learning curve here… No worries though, test out this flow. It separates the binaries into multiple items (normally they all come lumped together into one). Then, you can access each one of the binary items in your Azure node with:

{{ $input.item.binary.keys()[0] }}

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