# Can I skip a module based on a filter?

**URL:** <https://community.make.com/t/can-i-skip-a-module-based-on-a-filter/21888>\
**Category:** Questions\
**Tags:** google-drive, google-sheets\
**Created:** [December 14, 2023, 1:37pm UTC](https://community.make.com/t/can-i-skip-a-module-based-on-a-filter/21888 "2023-12-14T13:37:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian-HFLA](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/brian-hfla/32/21031_2.png) [@Brian-HFLA](https://community.make.com/u/Brian-HFLA)\
**Post date:** [December 14, 2023, 1:37pm UTC](https://community.make.com/t/can-i-skip-a-module-based-on-a-filter/21888/1 "2023-12-14T13:37:42Z")

</div>

I have a feeling there is a very simple answer for this challenge – but I’m not getting to it (after reading many other community posts!).

Pretty simple workflow:

1. Search if a Google Drive folder exists
2. If it does not, go to next step (Create Google Drive folder)
3. If it does, skip the CREATE DRIVE module and move to CREATE SPREDShEET

![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/4/8/48ce5e504f43b5b81d88b7f7a3e373363a3c4d35.png)

I want too effectively skip the CREATE A FOLDER module. I created a filter between the SEARCh and CREATE FOLDER modules, but assuming the entire. scenario will stop at that point (vs. just continuing after).

Thanks in advance

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [December 14, 2023, 2:32pm UTC](https://community.make.com/t/can-i-skip-a-module-based-on-a-filter/21888/3 "2023-12-14T14:32:41Z")

</div>

No, you cannot skip modules, but you can use this trick to perform another route (create folder if a folder path doesn’t exist):

 ![Screenshot_2023-12-14_221241](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/d/2/d2b7802b489d0a06116d315b842a0d51cb8a52f2.png)

I initially briefly mentioned it here [Copy a directory from Google Drive - #6 by samliew](https://community.make.com/t/copy-a-directory-from-google-drive/15331/6)

---

<div class="post-metadata">

**Author:** ![Brian-HFLA](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/brian-hfla/32/21031_2.png) [@Brian-HFLA](https://community.make.com/u/Brian-HFLA)\
**Post date:** [December 14, 2023, 2:45pm UTC](https://community.make.com/t/can-i-skip-a-module-based-on-a-filter/21888/4 "2023-12-14T14:45:51Z")

</div>

Awesome idea! The only issue I’m now running into is the RESUME doesn’t show me the Folder ID from the CREATE A FOLDER module (I think it assumes this is an error handler).  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/a/0aef14351ba3aa3a7dd892f6b79ca2a3fd12f91b.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/5/8/58598168b5121d441b3e53b8d3289f73cb22c3ee.png)

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [December 14, 2023, 2:51pm UTC](https://community.make.com/t/can-i-skip-a-module-based-on-a-filter/21888/5 "2023-12-14T14:51:54Z")

</div>

I’m not sure if you can do this with “Search for Files/Folders” module, because it requires the module to throw an error. Notice how my dotted line coming out of the first module is different from yours?

---

<div class="post-metadata">

**Author:** ![Brian-HFLA](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/brian-hfla/32/21031_2.png) [@Brian-HFLA](https://community.make.com/u/Brian-HFLA)\
**Post date:** [December 14, 2023, 4:59pm UTC](https://community.make.com/t/can-i-skip-a-module-based-on-a-filter/21888/6 "2023-12-14T16:59:32Z")

</div>

I solved it with a little twist on your recommendation - needed to add a SEARCH step so the RESUME could read the CREATE FOLDER data. Still testing, but thinking this will work:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/a/0a0a10860b17dff7be40f3c91d51e8fe814f83c1.png)

---

<div class="post-metadata">

**Author:** ![Michaela-Inactive](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/michaela-inactive/32/29_2.png) [@Michaela-Inactive](https://community.make.com/u/Michaela-Inactive)\
**Post date:** [December 15, 2023, 7:14am UTC](https://community.make.com/t/can-i-skip-a-module-based-on-a-filter/21888/7 "2023-12-15T07:14:45Z")

</div>

Heya @Brian-HFLA :blob_wave:

Just jumping in to say awesome work figuring this one out with the assistance of @samliew 👏

Thanks a lot for keeping the community updated and for sharing your final setup with everyone. This is super valuable and could be incredibly helpful to other searching for similar info 🙏

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [December 28, 2023, 7:07pm UTC](https://community.make.com/t/can-i-skip-a-module-based-on-a-filter/21888/8 "2023-12-28T19:07:33Z")

</div>


