Hi everyone!
I’m working on a Make.com scenario that processes incoming email attachments. The goal is to:
- Monitor incoming emails.
- Capture and sort the attachments.
- Analyze the content of those files.
- Route and save them into the appropriate folders based on that content.
Since I noticed that the same file analysis logic was repeating in multiple branches, I decided to optimize it using sub-scenarios. This would help reduce redundancy and make the main scenario cleaner.
The Issue
The challenge I’m running into is sending the actual file data from the main scenario to the sub-scenario. Specifically:
- In the sub-scenario’s input fields, I don’t see an input type that corresponds directly to a file (binary data).
- I’ve tried setting the type to “Text” and referencing
1.data
, as seen in the main scenario mapping. But this doesn’t seem to transfer the file properly to the sub-scenario. - I’m not sure if Make even supports sending files between scenarios like this — or if I’m missing something about how to do it correctly.
What I’ve Tried
- I mapped the data and filename fields explicitly, using the output of the email parser module.
- I used “Text” as the type for the Data input in the sub-scenario because there’s no obvious “File” type option.
- I confirmed that
1.data
is working when used in modules like CloudConvert inside the main scenario.
What I Need Help With
- Can sub-scenarios in Make receive actual files (not just metadata or filenames)?
- If so, what’s the correct way to define and map these fields?
- Should I be converting the file into Base64 or some other encoding first?
Any guidance, examples, or even confirmation of whether this is possible would be massively appreciated!
Thanks in advance!