Hi!👋 Recently in https://community.zapier.com/discussion/comment/884 discussion, I started thinking that making Zaps is similar to programming. There we have a maxim that suggests minimizing duplication as much as possible. Most of the time you will find it under DRY (don't repeat yourself) or OAOO (once and only once) names.
How do you avoid logic duplication in your Zaps? I've already discovered two possible ways:
- Decoupling several Zaps with different beginnings and the same ends. You can do it by splitting Zap into two: unique start + Webhook as first Webhook + same end as last (thank you,
@PaulKortmanfor the initial idea).
- Moving your Code by Zapier to external API and reusing it between different Zaps in case of necessity.
Do you have any other optimization ideas?