Skip to content

zendesk/notifying-an-agent-demo-zaf-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test notifying an agent

This background app demonstrates one approach that could be used to notify a specific agent that they have been assigned a ticket in Zendesk Support. This is achieved using notification events together with the notify REST API endpoint.

Through the use of triggers together with webhooks in Zendesk Support, the app receives a notification via the notify REST API endpoint which contains the app_id, event, body, and agent_id properties. A custom event handler receives the event, which executes the notify action to generate a notification in the agent interface. This notification will be visible only to the agent who has been assigned the ticket.

Getting started

Follow these steps to get a local copy up and running.

Prerequisites

  • Zendesk Command Line (ZCLI)

Using Zendesk Command Line

Installation

  1. Clone the repo
git clone https://github.com/zendesk/example.git
  1. Package and install the app
zcli apps:create

Packaging and installing a private Zendesk app

  1. Create a webhook to call the notify API endpoint

webhook screenshot

Creating webhooks in Admin Center

  1. Create a trigger to notify the webhook when ticket assignment occurs. You will need to provide the specific app_id value of your app to the JSON body.

trigger screenshot

Additional Resources

Issues

You can create an issue on Github, reach out in our Developer Community, or report the issue in the Zendesk Developers Slack group.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages