is a popular customer service and communication software. Zendesk can create triggers for customer tickets. By forwarding Zendesk tickets to OpsGenie, you can notify users via iPhone and Android push notifications, email, SMS, and phone calls, track of the alert life cycle, escalate alerts, etc.
OpsGenie provides a powerful two-way integration with Zendesk. When a new ticket is created in Zendesk, a corresponding OpsGenie alert will be automatically created, containing rich information about the ticket. OpsGenie will provide rich notifications with on-call rotation, scheduling etc. features and alert escalations; to ensure the best ticket management for Zendesk customers. As users execute actions on the alerts, like acknowledge, comment or close, the ticket on Zendesk will also automatically be updated with comments about these alert actions.
- When a ticket is created in Zendesk, it creates an alert in OpsGenie.
- When a ticket is solved or closed in Zendesk, it closes the alert in OpsGenie.
- When a comment is added to the ticket in Zendesk, it adds a note to the alert in OpsGenie.
- If Send Alert Updates Back to Zendesk is enabled, actions for Zendesk will be executed in Zendesk when the chosen action is executed in OpsGenie for alerts which are created by the Zendesk integration.
- If Create Zendesk Tickets for OpsGenie Alerts is enabled, actions for Zendesk will be executed in Zendesk when the chosen action is executed in OpsGenie for alerts which have a source other than the Zendesk integration.
- These action mapping features are explained in detail in the Action Mapping Feature section below.
- Please create an OpsGenie account if you haven't done so already.
- Go to OpsGenie Zendesk Integration page.
- Specify who should be notified for the Zendesk alerts using the "Teams" field. Auto-complete
suggestions will be provided as you type.
- Copy the integration URL by clicking on the copy button or selecting.
- Click on "Save Integration".
- In Zendesk, go to the "Admin" page.
- Select "Extensions" under "Settings".
- Click "add target".
- Select "URL target" from the opened list.
- Paste the integration URL you copied earlier into "Url". Select POST as "Method". Enter ticket into the "Attribute Name" field.
- Select "Create target" and click "Submit".
- Now from the admin panel, select "Triggers" under "Business Rules".
- Create the triggers following this instructions file.
Alert properties can be configured from Zendesk Integration / Advanced Settings page.
All set! You can now manage your Zendesk alerts at OpsGenie and leverage its full alerting functionality:
OpsGenie allows customers to define action mappings between OpsGenie actions and Zendesk actions.
For alerts created by Zendesk
- You can use this section to map OpsGenie actions to Zendesk actions when the source of the alert is Zendesk (i.e When the alert is created by Zendesk integration.)
- You can map different OpsGenie actions to different Zendesk actions. For example, you can add an internal note to Zendesk ticket, when the alert is acknowledged. In order to do this, you should define If alert is acknowledged in OpsGenie, add it as an internal note to ticket in Zendesk. mapping in Send Alert Updates Back to Zendesk section.
For other OpsGenie alerts:
- You can use this section to map OpsGenie actions to Zendesk actions when the source of the alert is NOT Zendesk (i.e When the alert is created by another integration.)
- For this purpose, you can use Create Zendesk Tickets for OpsGenie Alerts section. In order to use this functionality, you need to map one OpsGenie action to create a ticket Zendesk action. The OpsGenie action doesn't have to be alert is created, it can be other actions as well.
- A tag is added to the alert and a custom action is executed on alert actions differ from other actions. When you select one of these actions, you'll see an extra field to enter for which tags or for which custom action this mapping will work.
- You can enter multiple tags by separating the tags with a comma. If you enter multiple tags, the mapping will work if the alert has one or more of the specified tags. You can also leave the tags field empty, if you would like the mapping to work for any tag.
- If you select a custom action mapping, you must specify the name of the custom action that the mapping will work. It cannot be left empty.
- If you map an OpsGenie action to multiple Zendesk actions, you will get an error except for the a tag is added to the alert and a custom action is executed on alert actions. You can save multiple mappings for these actions, because they will differ by the given tags and the given custom action names.
Alternatively, you can use OpsGenie's Zendesk integration package to create/update tickets on Zendesk. This will enable you to deploy your own scripts / modify the ones provided and execute customized actions on Zendesk.
To use Zendesk integration package, you need to follow the steps in the Zendesk Integration via Marid (Optional) document through the end.
If Zendesk alerts are not getting created in OpsGenie, make sure that Zendesk is able to reach to OpsGenie endpoint using Test target option from the target you created under Settings->Extensions.
- If you do not see a test alert in your OpsGenie account after clicking Test target option, this means you could not successfully add the target. Please go back to add target section of the document and check your steps.
- If the test alert is created in OpsGenie, then your test target configuration is correct. First please check our "Logs" page to see if OpsGenie received the integration and if an error has occurred. If no request or error is shown in the "Logs". Please check if your Zendesk trigger is used when you created/updated the ticket. You can find this info from Business Rules->Triggers page. If their usage is 0 that means the trigger rule is not used, so there must be something wrong with its configuration.