Skip to main content
Question

How do I handle duplicate folder results in Zapier steps?

  • 23 July 2024
  • 1 reply
  • 5 views

I have a search function for three consecutive steps which can sometimes return the same output (searching for a folder in Google Drive using a naming convention) 

 

Is there any way to have a filter or formatter which if steps 4,5 or 6 find the same folder (in example step 4 and step 5 found the same folder) I can return the value of one of these fields to pass through to step 7.

 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +14

Hi @LHAutomtions 

Sounds like you may need to use some custom Code to compare multiple values.

Zap App: Code - Run JavaScript/Python

https://zapier.com/apps/code/help

 

You can generate the custom code in a Code step with the help of AI.

https://help.zapier.com/hc/en-us/articles/15666688064013-Generate-a-Code-step-using-AI-Beta

 

Or you can ask ChatGPT for help generating the custom code for use in a Zap Code step.