What are best practices for avoiding cycles (aka loops or boomerang effect) in Zapier integrations?
For illustration purposes I’m going to share scenarios related to two task / issue tracking systems.
Scenario 1:
Status is changed on a ticket in in System B and needs to be propagated to System A.
When the integration updates System A an update has occurred and might trigger a task that would update the original ticket in System B, resulting in a cycle.
This scenario seems to have a simple way to avoid the cycle, see that the status in System B already is the same as System A and don’t perform the update.
Scenario 2:
A comment is added to a ticket in System A and needs to be added to the corresponding ticket in System B. When the integration updates the record in System A that triggers the integration to update the corresponding record in System B.
Since comments are additive, the naive approach is just to add the comment to System B. This would result in a cycle repeatedly adding the comment on both sides of the integration.
What is the best way to avoid this type of integration cycle?