Skip to content

Commit

Permalink
Update triggerInstructions.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zekihan authored Sep 17, 2024
1 parent b2a6cb7 commit edef4d7
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions zendesk/triggerInstructions.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
## Zendesk to Opsgenie Trigger Setting
### Create Action:
- Click **Create**.
- From the **Triggers** page, click **add trigger**.
- From the **Triggers** page, click **Create Trigger**.
- Put **Send Create action to Opsgenie** into **Trigger name**, description is optional.
- Under **Meet ALL of the following conditions:**, add two conditions as specified below:
- Status Is not Solved
- Ticket Is Created
- Under **Actions:**, click **add action**, select **Notify target**, and pick the URL target you added earlier for the integration.
- Paste the following into the **Message** field:
- Under **Actions:**, click **Add action**, select **Notify by > Active Webhook**, and pick the webhook you added earlier for the integration.
- Add a new URL parameter named **ticket** and paste the following into the **value** field:
>action: create ||
id: {{ticket.id}} ||
status: {{ticket.status}} ||
Expand All @@ -34,8 +34,8 @@ description: {{ticket.description}}
- Put "Send Open action to Opsgenie" into **Trigger name**.
- Under **Meet ANY of the following conditions:**, add two conditions as specified below:
- Ticket:Status Is Open
- Under **Actions:**, select **Notify target** under **Notifications**, and pick the URL target you added earlier for the integration.
- Paste the following into the **Message** field:
- Under **Actions:**, click **Add action**, select **Notify by > Active Webhook**, and pick the webhook you added earlier for the integration.
- Add a new URL parameter named **ticket** and paste the following into the **value** field:
>action: open ||
id: {{ticket.id}} ||
status: {{ticket.status}} ||
Expand All @@ -49,8 +49,8 @@ external_id: {{ticket.external_id}}
- Put "Send Pending action to Opsgenie" into **Trigger name**.
- Under **Meet ANY of the following conditions:**, add two conditions as specified below:
- Ticket:Status Is Pending
- Under **Actions:**, select **Notify target** under **Notifications**, and pick the URL target you added earlier for the integration.
- Paste the following into the **Message** field:
- Under **Actions:**, click **Add action**, select **Notify by > Active Webhook**, and pick the webhook you added earlier for the integration.
- Add a new URL parameter named **ticket** and paste the following into the **value** field:
>action: pending ||
id: {{ticket.id}} ||
status: {{ticket.status}} ||
Expand All @@ -65,8 +65,8 @@ external_id: {{ticket.external_id}}
- Under **Meet ANY of the following conditions:**, add two conditions as specified below:
- Ticket:Status Is Solved
- Ticket:Status Is Closed
- Under **Actions:**, select **Notify target** under **Notifications**, and pick the URL target you added earlier for the integration.
- Paste the following into the "Message" field:
- Under **Actions:**, click **Add action**, select **Notify by > Active Webhook**, and pick the webhook you added earlier for the integration.
- Add a new URL parameter named **ticket** and paste the following into the **value** field:
>action: close ||
id: {{ticket.id}} ||
status: {{ticket.status}} ||
Expand All @@ -81,8 +81,8 @@ external_id: {{ticket.external_id}}
- Under **Meet ALL of the following conditions:**, add two conditions as specified below:
- Ticket: Is Updated
- Ticket:Status Is Not Solved
- Under **Actions:**, select **Notify target** under **Notifications**, and pick the URL target you added earlier for the integration.
- Paste the following into the "Message" field:
- Under **Actions:**, click **Add action**, select **Notify by > Active Webhook**, and pick the webhook you added earlier for the integration.
- Add a new URL parameter named **ticket** and paste the following into the **value** field:
>action: addnote ||
id: {{ticket.id}} ||
status: {{ticket.status}} ||
Expand Down

0 comments on commit edef4d7

Please sign in to comment.