This template repo contains a NextJS app as well as bash scripts that will help you configure your zendesk workspace to use Inkeep to auto-respond to new tickets using your Inkeep project.
- Deploy to Vercel using the button below and provide the required environment variables:
Required environment variables:
ZENDESK_SUBDOMAIN
: Your Zendesk subdomain (e.g., if your Zendesk URL is mycompany.zendesk.com, enter 'mycompany')ZENDESK_API_TOKEN
: Generate at Zendesk API token docsZENDESK_API_USER
: Email address of your Zendesk userINKEEP_API_KEY
: Your Inkeep API key
-
Copy
.env.sample
to.env
and fill in all required values -
Run the setup script to create the Zendesk webhook and trigger:
chmod +x ./setup.sh
./setup.sh
If you experience problems with the webhook or trigger:
-
Manually deactivate them in Zendesk:
- Visit
https://YOUR-SUBDOMAIN.zendesk.com/admin/objects-rules/rules/triggers
- Replace YOUR-SUBDOMAIN with your Zendesk subdomain
- Visit
-
Or run the cleanup script to remove the trigger/webhook pair:
chmod +x ./cleanup.sh
./cleanup.sh
To run the AI Autoresponder in debug mode:
- Set the environment variable:
INTERNAL_ONLY=true
- Redeploy the application
In debug mode, the AI Auto Responder will only create internal notes (not visible to end-users) when responding to tickets.