Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Booksy/zendesk-calendar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zendesk Calendar

Synchronize tickets in Zendesk with Google Calendar events.

Details

This application allows you to automatically insert events into Google Calendar whenever an agent gets ticket. Similarly, editting events in calendar updates Zendesk tickets.

Events' dates are taken from 4 custom ticket fields - start date, start end, end date, end time. You need to add them manually. Because Zendesk lacks timepicker field, I've created small plugin that adds nice datetimepicker as iframe. Please see this GitHub repo.

Additionally, you will need to add 2 triggers in Zendesk admin panel - for POST and PUT endpoints (ticket creation and ticket update).

If you need a better solution, check Cronofy.

Requirements

Python 3 (tested on 3.4.3) and Redis.

Installation

$ git clone https://github.com/miedzinski/zendesk-calendar.git
$ cd zendesk-calendar
$ mkvirtualenv zendesk-calendar
$ pip install -r requirements.txt
$ cp zendesk/settings.py.example zendesk/settings.py

Edit settings.py and make sure you have Redis server up.

$ python run.py # in production use gunicorn or alternative
$ celery -A zendesk:celery worker
$ celery -A zendesk:celery beat

Don't forget to setup ticket fields in Zendesk admin panel. Start date and end date should be of type Date, start time and end time should be Text or Regular Expression. Example time regexp:

^([0-1][0-9]|2[0-3]):[0-5][0-9]$

License

This code is available under The MIT License, see the LICENSE file for more information.

About

Zendesk + Google Calendar integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%