An application using the Freshdesk Survey API and a PHP/MySQL backend for storing and displaying survey data. Also includes a complete template and functions to display the results on a pretty page. Inspired by Smiley from 37 Signals.
- PHP
- MySQL
- Cron
- Curl for PHP
- Setup a MySQL Table using /scrips/schema.sql
- Copy /inc/config-sample.php to /inc/config.php (local or private deployment)
- Copy /inc/smiley-config-sample.php to /inc/smiley-config.php (local or private deployment)
- Setup /scripts/cron.php to run via cronjob (1 hour or more)
- You can use webhooks and observer rules instead of cron jobs
- Create an Observer rule with this config:
- Event: Customer Feedback is Received, Rating: Any
- performed by: Any
- Actions: Trigger Webhook ->
- Callback URL: http://{{smiles.yourcompany.com}}/scripts/hook.php
- Encoding: X-FORM-URLENCODED
- Content: Simple, select just the Ticket ID.
- Save the Rule.
- Create an Observer rule with this config:
- Setup Project with DeployHQ
- Setup config files in DeployHQ (config.php & smiley-config.php)
- Deploy Project
- Profit
Built with:
- FreshDesk Rest by phikai (Forked from blak3r)
- Fresh-smiles from zippykid
Licensed under the MIT Licnese, see LICENSE
If you'd like to contribute to the project feel free to submit issues or pull requests to the project.