Hi, I’m trying to build a workflow where the Gmail Reader is a trigger, and for there to be 3 different outcomes: If the email contains a PDF, for the flow to continue to the PDF reader; if the email contains an image, for it to continue to the image extraction node; if the email contains no attachments, for it to continue to an Ask AI node to determine if the email is about receipts/invoices. The only conditional node here seems to be the IF-ELSE node, but only allows for 2 different outcomes. Is there a way for me to do this in one workflow or will I have to build multiple ones? I’d ideally prefer for it to be in one workflow as I’m using the Gmail Reader trigger.
Hey @The_Weeblings! If you’re reporting an issue with a flow or an error in a run, please include the run link and make sure it’s shareable so we can take a look.
-
Find your run link on the history page. Format:
https://www.gumloop.com/pipeline?run_id={{your_run_id}}&workbook_id={{workbook_id}}
-
Make it shareable by clicking “Share” → ‘Anyone with the link can view’ in the top-left corner of the flow screen.
-
Provide details about the issue—more context helps us troubleshoot faster.
You can find your run history here: https://www.gumloop.com/history
Hey @The_Weeblings – Yes this should be possible. You can use a Combine Text
node to output the data from the ELSE branch and then use another IF-ELSE node around it. If you can share your workbook (using the steps outlined in the message above) I can make a quick Loom video to explain this.
Hi Wasay,
I’ve just tried this but the problem I’m now running into is that I will have to combine not just attached_files_names but also email_bodies into the same text. This means that the If-Else node might get confused if the email body does also contain the texts “.pdf, .png, .jpg, etc.”, but don’t actually have an attachment. This could cause inaccuracies down the line. Any idea how to solve this? =)
Here’s the workflow (Flow 3): https://www.gumloop.com/pipeline?workbook_id=6PbHG5Xo9tuokG7UhbXWMz&tab=2
Hey @The_Weeblings - Gotcha, thank you for the context. I made a Loom video to walkthrough this. Let me know if this makes sense and works for you
Workbook: https://www.gumloop.com/pipeline?workbook_id=uT6jCAsfHCwSUuiCGVwHcG&tab=2
Amazing! This helped so much. I managed to get my flow working. Thank you =)
Awesome, no problem!
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.