I have a flow, where I am scraping Facebook Ad Library
3 URLs, each has 2 nodes: 1 image and 1 video
2 URLs (4 nodes) are fine, but one 1 URL doesn’t work because the brand doesn’t run video ads
This messes with the flow, I am not getting a correct reply and I am not getting a google doc summary.
I alredy added ‘error shield’ to FB ad library scrape, but I don’t know how to the follow:
ideally - if a brand doesn’t run image or video or both, I would still like to process with other finding but I would like to have info in the doc, that for the competitor 2 (for example) system wasn’t able to scrape video or image ads.
but I want all other steps to be executed. For now, 1 error ruins the whole flow.
Hey @tomaszpasko! 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.
Hi tomaszpasko, have you tried putting error shields around the Analyze Image/Video nodes as well? Maybe they are failing and not the scrapers. I’m a newbie and this is just a hunch…
Hey @tomaszpasko – The issue with adding an Error Shield around every node is that while it would catch errors safely, it would also stop the flow at that point (since the connected node won’t have any inputs to process). Since you mentioned you don’t want that and want the flow to continue even if certain parts fail, a better approach is to use subflows.
You can create subflows for each segment of your flow and add the Ask AI + Doc Writer steps inside each one. Then, wrap the subflows in an Error Shield. This way, if a certain segment fails, it’ll just skip that part but still fully process the other subflows and generate the doc.
Let me know if this makes sense and works for you!
I’ve done it, but now when I am running a flow I get this error “Automation Failed! ‘Combine Text’ node could not be run! Missing input ‘input3’, did not receive a value. Please double check your node connections.”
Hey @tomaszpasko - The Ask AI and Doc Writer nodes should be inside each subflow otherwise you’ll face the same issue where if an output is not available the next node won’t be able to run.
In the run link above the subflow Konkurent 2 was not able to produce any output since the Error Shield nodes were hit and the flow stopped midway.