How to automatically trigger a Switch flow when JSON and PDF arrive at different times
Posted: Wed Jan 07, 2026 12:33 pm
I’m looking for a solution to a problem I’m facing while designing a production workflow.
My company recently implemented an ERP system to manage orders for our print shop (large format and digital printing). The ERP includes a price calculator similar to Switch Client, with order information such as dimensions, finishing, quantities, etc.
The issue is that the JSON output from the ERP does not include any file inside it — it only provides the JSON content with links or metadata for processing production files.
So I used the API to retrieve the JSON, I map all the data I need, and then I create a folder structure (for example: CO-2601-0001/SOURCE). Inside this SOURCE folder I place the JSON file, and later I manually drop the client’s PDF in the same folder.
This is where my problem appears:
I’m unable to monitor the inside of that folder so that when the PDF arrives, the workflow starts automatically. I don’t think I’m the first one with this kind of issue — does anyone have a solution or workaround for this?
If you need more details or clarification, feel free to ask.
Thanks in advance for your help!
My company recently implemented an ERP system to manage orders for our print shop (large format and digital printing). The ERP includes a price calculator similar to Switch Client, with order information such as dimensions, finishing, quantities, etc.
The issue is that the JSON output from the ERP does not include any file inside it — it only provides the JSON content with links or metadata for processing production files.
So I used the API to retrieve the JSON, I map all the data I need, and then I create a folder structure (for example: CO-2601-0001/SOURCE). Inside this SOURCE folder I place the JSON file, and later I manually drop the client’s PDF in the same folder.
This is where my problem appears:
I’m unable to monitor the inside of that folder so that when the PDF arrives, the workflow starts automatically. I don’t think I’m the first one with this kind of issue — does anyone have a solution or workaround for this?
If you need more details or clarification, feel free to ask.
Thanks in advance for your help!