A Zendesk App to generate links for agents from Zendesk Chat visitor info
User the build
and package
scripts to generate a .zip file in ./dist/tmp/
### Installing
- Navigate to the Zendesk Marketplace and find "URL Builder App V2".
- Click "Install".
- Similarly, you can reach this screen by going to your installed apps, and clicking "Change Settings".
- Select your account to install the app.
- Confirm the title; this will display in the URL Builder App box above the links:
- The second box is for the URLS, and uses an array of JSON, described below. In this example, note we are using a placeholder
{{visitor.id}}
.
- Optionally enable role restrictions if these URLs are not appropriate for all agents.
- Once your JSON is in place, click
Install
. - Open a new browser to test your results.
If we highlight the User Info
link, we see the placeholder visitor.id
has been replaced with the Zendesk end user's ID of 377511204654
.
The following is an example of what can be entered into this app's settings:
[
{
"title": "First Title",
"url": "http://example.com/?name={{visitor.name}}"
}
]
This example will generate the following HTML inside the app:
<ul>
<li>
<a href="http://example.com/?name=Robert C.Martin">First Title</a>
</li>
</ul>