Skip to content

A Zendesk App to help you generate links for agents.

License

Notifications You must be signed in to change notification settings

HousekeepLtd/url_builder_app

 
 

Repository files navigation

License

URL Builder App V2

Description:

A Zendesk App to generate links for agents from Zendesk Chat visitor info

Usage Instructions:

Building

User the build and package scripts to generate a .zip file in ./dist/tmp/

### Installing

  1. Navigate to the Zendesk Marketplace and find "URL Builder App V2".
  2. Click "Install".
  3. Similarly, you can reach this screen by going to your installed apps, and clicking "Change Settings".

change-settings

  1. Select your account to install the app.
  2. Confirm the title; this will display in the URL Builder App box above the links:

installation-title

  1. 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}}.

json-array-of-urls

  1. Optionally enable role restrictions if these URLs are not appropriate for all agents.
  2. Once your JSON is in place, click Install.
  3. Open a new browser to test your results.

links

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.

example-url

JSON Array of URLs:

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>

About

A Zendesk App to help you generate links for agents.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.7%
  • CSS 3.3%
  • HTML 3.0%