Git Product home page Git Product logo

nicoarrington / gravity-forms-to-zendesk-ticket Goto Github PK

View Code? Open in Web Editor NEW

This project forked from christirichards/gravity-forms-to-zendesk-ticket

0.0 1.0 0.0 148 KB

Gravity Forms to Zendesk Ticket is a simple Wordpress functions.php filter to pass Gravity Forms fields to a Zendesk ticket, including attachments. It utilizes the Zendesk v2 API, PHP, and cURL.

License: MIT License

PHP 100.00%

gravity-forms-to-zendesk-ticket's Introduction

Gravity Forms to Zendesk Ticket (functions.php version)

Gravity Forms to Zendesk Ticket is a simple Wordpress functions.php filter to pass Gravity Forms fields to a Zendesk ticket, including attachments. It utilizes the Zendesk v2 API, PHP, and cURL.

This functions.php filter was created for theme developers that want to integrate in this functionality by default. If you're looking to integrate Zendesk functionality by add-on that is not dependent on a theme, please see the Gravity Forms Zendesk Add-On (in development).

Version

1.0.0

Requirements

You need a working Wordpress installation, Gravity Forms plugin installed and at least one form to reference, Zendesk API key/credentials, and cURL enabled on your server.

To Use

  • Include the filter file from your own Wordpress theme's function.php file or cut/paste the contents of inc/gravity-forms-to-zendesk-ticket.php into your own functions.php file.

  • Update the Zendesk API credentials in the script.

  • Reference the correct Gravity Form form ID in the filter reference.

  • Reference the appropriate Gravity Form form field IDs in the ticket generation portion to send to Zendesk.

  • Please note: this script is for one attachment per ticket, for multi-file uploads the script will need to be modified to split the request [currently on the To Do]

To Do

  • Split requests to handle multiple file uploads per ticket.

  • Add in a Wordpress settings panel to easily add in Zendesk API key, e-mail, and subdomain.

License

MIT

Contact

Christi Richards

@christirichards

gravity-forms-to-zendesk-ticket's People

Contributors

christirichards avatar

Watchers

 avatar

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.