Skip to main content

Is it possible to do an if then statement inline, within a zaps fields? Instead of having to use the zapier paths filter before the zap? 

This would help me in not duplicating steps when only 1 field in that step is different.

@Jpeterson123 
It depends on what you are trying to do.. 

If only one of two fields you want to run logic on exists at a given time then you can just map both fields to the input. 

Can you describe the use case a bit further?


Hi @Jpeterson123 

Good question.

Zap Config Options:

  1. Separate Zaps with Filters
    1. Duplicate then edits
  2. 1 Zap with Paths
  3. 1 Zap with Formatter step(s)
  4. 1 Zap with Code step to handle IF statements
  5. 1:Many Zaps chained together with Webhooks

Hey @Jpeterson123! A great, non-technical way to do an if/then calculation within your Zap is by using a Formatter “Spreadsheet-style Formula” utility. You can read more about how to set that up, here: https://zapier.com/help/create/format/use-spreadsheet-style-formula-functions-in-zaps


Is it possible to do an if then statement inline, within a zaps fields? Instead of having to use the zapier paths filter before the zap? 

This would help me in not duplicating steps when only 1 field in that step is different.

Zapier doesn’t support the in line IF statement so it impossible to do that. However you you can use the “Code by Zapier” to write the IF conditions there to recude amount of steps.