How to Handle ZIP vs JPEG Output in make.com Without Duplicating Entire Workflows?

Hi everyone,

I’m working on a fairly simple process that has turned into a surprisingly complex problem. I’m using make.com to automate a workflow that involves processing PDFs, which may contain one or multiple pages. If a PDF has multiple pages, it’s automatically output as a ZIP file (containing multiple images), but if it’s a single-page PDF, it’s output as a single JPEG file instead.

This difference in output format creates a major bottleneck in my workflow. Ideally, I just want to ensure that all output files are ZIP files before further processing. I’ve tried various methods like using routers or filters to handle the two cases (JPEG vs. ZIP), but these approaches split the workflow into large, redundant branches that require duplicating all subsequent steps.

I’ve also experimented with Converger and even the Datastore, but encountered limitations, especially since image files can be too large to store efficiently in Datastore.

In short, my goal is to have a simple check in place: if the output is a single JPEG, it should be zipped before continuing. However, whenever I set conditions to handle these different file types, only one path continues, causing files to be blocked from processing if they don’t meet the condition.

Has anyone here found an elegant way to handle this type of scenario in make.com? Any suggestions on handling these “either/or” cases without duplicating entire workflows would be greatly appreciated!

Thanks in advance!

Welcome to the Make community!

To allow others to assist you with your scenario, please provide the following:

1. Relevant Screenshots

Please share screenshots of your scenario, any error messages, relevant module fields, and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:

2. Scenario Blueprint

Please export the scenario blueprint file to allow others to view the mapped variables in the module fields. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Following these steps will allow others to assist you here. Thanks!