Giter Site home page Giter Site logo

zendesk_automator's Introduction

zendesk_automator

Simple, scheduled creation (for starters at least) of tickets in ZenDesk.

Description

zendesk-automator is a simple utility that reads a YAML config file, then schedules and executes ticket creation based upon the given input.

Installation

Usage

$ zendesk-automator -h
ZendeskAutomator 0.0.1 -- a convienient way of automating ticket
creation in Zendesk.

    -h, --help                       Display this screen
    -c, --config CONFIGFILE          Mandatory path to config file
    -t, --test                       Dry-run, does not do any actual ticket creation

Example YAML config file (notice erb date config..):

---
zendesk:
  url: https://cookiefactorycompany.zendesk.com/api/v2
  username: [email protected]
  token: magic zendesk token

schedules:
  daily_0500:
    cron: 0 5 * * 1,2,3,4,5

tasks:
  check_the_ovens:
    schedule: daily_0500
    subject: <%= Time::new.strftime("%Y-%m-%d") %> Check that ovens are clean
    comment: |
      Perform the daily oven checking
      In order for proper cookie baking, ovens needs to be clean, plz check.
    submitter_id: 1337  # id of the submitting user in zendesk
    requester_id: 1337  # id of the requesting user in zendesk
    type: task  # Could be task/problem etc
    priority: high
    tags:
      - oven
      - cleaning

Reload config on running instance

Send HUP signal to process.

Contribute

zendesk_automator came out of the idea that automatically creating tickets in zendesk should be simple to configure and setup, according to the needs that I saw. Thus, the current implementation is quite specific to these needs. Improvements surely can be done and all contributions are welcome, even complete re-thinking/structuring of things.

zendesk_automator's People

Contributors

andskli avatar

Stargazers

Eric Dahl avatar

Watchers

Eric Dahl avatar  avatar James Cloos avatar

zendesk_automator's Issues

does this work?

I downloaded this as is, but can't really get it to do anything.

Does this work as is?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.