You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+72-29
Original file line number
Diff line number
Diff line change
@@ -17,14 +17,13 @@ A Zendesk App to help you generate links for agents.
17
17
## Usage
18
18
### Deploying from ZIP
19
19
20
-
To quickly install this application, navigate to the latest releases and download the attached `app-<DATE>.zip`. You can upload this to Zendesk
21
20
Attached to the latest release is the `app-<DATE>.zip` asset that can be [uploaded to your Zendesk instance](https://developer.zendesk.com/documentation/apps/getting-started/uploading-and-installing-a-private-app/#uploading-and-installing-a-private-app-in-zendesk):
22
21
23
-
1. In Admin Center, click the Apps and integrations icon () in the sidebar, then select Apps > Zendesk Support apps.
24
-
2. Click Upload App.
25
-
3. Enter a Name for the app.
26
-
4. Click Choose file and select the zip file for your private app.
27
-
5. Click Save.
22
+
1. In Admin Center, click the Apps and integrations, click Zendesk Support Apps.
23
+
2. Click Upload private app.
24
+
3. Enter the App Name.
25
+
4. Click Choose File and select the zip file.
26
+
5. Click Upload.
28
27
6. In the pop-up box that appears, click Agree and upload this App.
29
28
7. When prompted, click Install.
30
29
@@ -38,36 +37,40 @@ Once the app is uploaded, you can Install it to the configured areas of Zendesk.
38
37
39
38
### Configuring the JSON Array of URLs
40
39
41
-
The following is an example of what can be entered into this app's settings:
40
+
To configure the URL buttons, you must supply a JSON array of URLs with `title` and `url` properties. Here is an example:
<ahref="http://example.com/?custom=customValue">Second Title (with custom field)</a>
64
-
</li>
65
-
</ul>
66
65
```
67
66
68
-
### Sample Placeholders
67
+
This will yield the following display:
68
+
69
+

69
70
70
-
Below is a list of just a few of the available object properties available as placeholders. To see the full list of fields, please see the [Zendesk Apps Reference - API Reference](https://developer.zendesk.com/api-reference/apps/introduction/). For example, you can use object properties available in [all locations](https://developer.zendesk.com/api-reference/apps/apps-support-api/all_locations/) and object properties available in the [ticket sidebar](https://developer.zendesk.com/api-reference/apps/apps-support-api/ticket_sidebar/) .
71
+
### Using Zendesk Object Properties
72
+
73
+
Below is a list of just a few of the available object properties available as placeholders. To see the full list of fields, please see the [Zendesk Apps Reference - API Reference](https://developer.zendesk.com/api-reference/apps/introduction/). For example, you can use object properties available in [all locations](https://developer.zendesk.com/api-reference/apps/apps-support-api/all_locations/) and object properties available in the [ticket sidebar](https://developer.zendesk.com/api-reference/apps/apps-support-api/ticket_sidebar/).
71
74
72
75
```
73
76
* {{ticket.id}}
@@ -86,7 +89,47 @@ Below is a list of just a few of the available object properties available as pl
86
89
* {{currentUser.email}}
87
90
```
88
91
92
+
Here is an example configuration of a URL button that has the email of the user:
93
+
94
+
```javascript
95
+
[
96
+
{
97
+
"title":"Email User",
98
+
"url":"mailto:{{ticket.requester.email}}"
99
+
}
100
+
]
101
+
```
102
+
103
+
This generates the following button:
104
+
105
+
We can highlight this button and see the following URL:
106
+
107
+

108
+
109
+
### Using Custom Fields in URLs
110
+
111
+
Zendesk allows for [custom fields](https://support.zendesk.com/hc/en-us/articles/4420210121114-Using-custom-fields) to be added in various places like Users, Tickets, and Organizations for Zendesk Admins. These custom fields can be used in your URLs as well.
112
+
113
+
For example, let's say we use the custom field for the customer like `Issue Topic`, a drop down where they pick their issue type. When a custom field is created, you will see a column for the `Field ID` generated and you can copy it for the URL. If this object has an ID of `1234567890`, it can be used in a URL like so:
An important note here is that URLs generated by custom fields are not updated dynamically. If the custom field is on the Agent side for example and is updated, the page will need to be refreshed to update the URLs.
130
+
89
131
## Issues
132
+
90
133
To submit an issue, please follow the [available template](/.github/ISSUE_TEMPLATE.md).
0 commit comments