Luis PW
Member
I have a looooong workflow that looks like this:
1. Users submit a Paperform and they can upload between 10 and 30 files.
2. Pabbly catches the data via webhook (free step)
3. Pabbly uploads the files to a Google Drive folder. Since it's like 30 possible files, there are 30 similar steps, each consuming 1 task every time the form is submitted.
The problem is that the workflow has one step per upload field on the form, to upload the files to GDrive, which makes it long and consuming. The thing is that users don't always submit all 30 files. Some upload 10, others 15. But at the moment, I'm wasting 30 tasks every time someone submits the form, even if some questions have no files. Some steps don't do anything, because there's no file to upload.
So how can I trigger a step ONLY IF the user has uploaded a file to that Paperform field? So if the user has uploaded a file for question 5, the file is uploaded; else, that step is skipped without wasting 1 empty task. Is it possible?
I was thinking that a solution could be to use routers, but I've been testing and it doesn't work like that, because routes are exclusive and do not run in parallel, do they?
Please, help. I'm wasting tasks like crazy, lol.
1. Users submit a Paperform and they can upload between 10 and 30 files.
2. Pabbly catches the data via webhook (free step)
3. Pabbly uploads the files to a Google Drive folder. Since it's like 30 possible files, there are 30 similar steps, each consuming 1 task every time the form is submitted.
The problem is that the workflow has one step per upload field on the form, to upload the files to GDrive, which makes it long and consuming. The thing is that users don't always submit all 30 files. Some upload 10, others 15. But at the moment, I'm wasting 30 tasks every time someone submits the form, even if some questions have no files. Some steps don't do anything, because there's no file to upload.
So how can I trigger a step ONLY IF the user has uploaded a file to that Paperform field? So if the user has uploaded a file for question 5, the file is uploaded; else, that step is skipped without wasting 1 empty task. Is it possible?
I was thinking that a solution could be to use routers, but I've been testing and it doesn't work like that, because routes are exclusive and do not run in parallel, do they?
Please, help. I'm wasting tasks like crazy, lol.