What you need
- A Zendesk API token: Admin Center → Apps and integrations → APIs → Zendesk API → Add API token → copy it.
- The agent email the token belongs to (tickets are created as that agent).
- Your account host (
yourcompany.zendesk.com; entering justyourcompanyworks too).
Connect
- In PyAI Console, open Integrations and find Zendesk under Support.
- Click Connect, enter the account host, agent email, and API token, and pick your events.
- Press Test. A sample ticket opens so you can check it against your views.
- Done. Tickets open after every completed call.
What lands
Troubleshooting
- Error: 401. Wrong email/token pair, or the token was deleted. Create a fresh API token for the same agent and update the connection.
- Error: 403. The agent lacks ticket-create permission in Zendesk.
- Tickets missing from a view. They are tagged
pyai+recaporamd; add the tag filter to the view, or add a trigger that routes them. - Wrong requester. Tickets default to the token’s agent as requester. If you need a different model (end-user requester), route calls through the Zapier integration and shape tickets in the Zap.