An Auto Merge Target is automatically created for you when you authorize the app. Once you have configured your auto merging rules, the final step is to create a Zendesk trigger to notify the Auto Merge Target. Without this trigger, Auto Merge will not take any action.
Auto Merge Target
You should see the Auto Merge Target at Zendesk Admin > Extensions > Targets. If you don't see this target, please contact support.
Create a trigger to notify target
Below is a basic trigger to help you get started. Of course, you'll want to customize it for your specific use case.
Trigger name: Auto Merge Trigger
Conditions (Meet ALL):
- Ticket > Is > Created
- Notify target > Auto Merge Target
- URL parameters (click on X to remove)
In order to save, you'll have to remove the empty URL parameters (key and value) that's auto-generated. Just click on x to remove it.
Avoiding trigger loops
To avoid trigger loops, please ensure that you only notify the target once within the lifecycle of each ticket. Using the Ticket > Is > Created condition in your trigger (i.e. only firing the trigger when a ticket is created) is the easiest way to prevent trigger loops.