Zendesk Support
With this App you can have strong collaboration between your bot and your Zendesk account
You can connect your Zendesk account from an Action block:
![](https://docs.chatlayer.ai/~gitbook/image?url=https%3A%2F%2F2786867680-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-LLTwFwbOqJj4dDhg8Ju%252Fuploads%252FUktHIcbQYtN1amwZcpCq%252Fimage.png%3Falt%3Dmedia%26token%3Df220304e-f9bc-4a78-8751-05fb3724b917&width=768&dpr=4&quality=100&sign=c781c883&sv=1)
When you click on the desired app, it will start the authentication flow to connect to your Zendesk account:
![](https://docs.chatlayer.ai/~gitbook/image?url=https%3A%2F%2F2786867680-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-LLTwFwbOqJj4dDhg8Ju%252Fuploads%252FNdW8DLG3OpPRB2mpj5md%252Fimage.png%3Falt%3Dmedia%26token%3Df0d5841c-7209-4bef-b400-e7a6194d3f65&width=768&dpr=4&quality=100&sign=f12037bf&sv=1)
By clicking in “Sign in to Zendesk”, a pop-up will appear:
![](https://docs.chatlayer.ai/~gitbook/image?url=https%3A%2F%2F2786867680-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-LLTwFwbOqJj4dDhg8Ju%252Fuploads%252FUbOFciTPoxdfkIQh8Gbw%252Fimage.png%3Falt%3Dmedia%26token%3Da07fd42a-083b-4775-a8b0-de8e2687b288&width=768&dpr=4&quality=100&sign=f699b52a&sv=1)
Fill in your account name, your email, for the API token, go to:
https://[account name].zendesk.com/admin/apps-integrations/apis/zendesk-api/settings/tokens
example: https://chatlayer.zendesk.com/admin/apps-integrations/apis/zendesk-api/settings/tokens
When the connection is established, you will be able to select it and choose between one of the following actions:zen
![](https://docs.chatlayer.ai/~gitbook/image?url=https%3A%2F%2F2786867680-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-LLTwFwbOqJj4dDhg8Ju%252Fuploads%252FnPQpoqm5vgJBoz6vWNBb%252Fimage.png%3Falt%3Dmedia%26token%3D4022419f-23af-4a76-b48a-7d4156c3b657&width=768&dpr=4&quality=100&sign=dc2e4341&sv=1)
Create ticket: you can create input validations in previous steps leading to the creation of the ticket and save user input into variables that will be passed to Zendesk to create the ticket.
![](https://docs.chatlayer.ai/~gitbook/image?url=https%3A%2F%2F2786867680-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-LLTwFwbOqJj4dDhg8Ju%252Fuploads%252FECuNFihTIRljW05XZdON%252Fimage.png%3Falt%3Dmedia%26token%3D41482620-5e00-46d0-850e-d6f642adf3a7&width=768&dpr=4&quality=100&sign=5eed0028&sv=1)
Find ticket: the ticket number can be passed by the user and saved in the variable that you will use to access details from that ticket and possibly start an update flow.
![](https://docs.chatlayer.ai/~gitbook/image?url=https%3A%2F%2F2786867680-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-LLTwFwbOqJj4dDhg8Ju%252Fuploads%252FhF2Yoc3ZSPVZlSRtuhZB%252Fimage.png%3Falt%3Dmedia%26token%3De469d092-e978-4550-8af0-c6fa8cf00050&width=768&dpr=4&quality=100&sign=e49c3b6f&sv=1)
You can give feedback to the user of the bot by informing some of the values that you can find that are connected to that ticker, e.g.: “this is the ticket I found: {apps.zendesk.find_ticket.ticket.subject}
”
Update ticket:
![](https://docs.chatlayer.ai/~gitbook/image?url=https%3A%2F%2F2786867680-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-LLTwFwbOqJj4dDhg8Ju%252Fuploads%252FJXOKN0xj1IixrwcyPvqZ%252Fimage.png%3Falt%3Dmedia%26token%3D25fa0efd-35a2-457c-bc04-a8b0f4dd8c85&width=768&dpr=4&quality=100&sign=a57f2ff7&sv=1)
The updates will show as comments on the ticket:
![](https://docs.chatlayer.ai/~gitbook/image?url=https%3A%2F%2F2786867680-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-LLTwFwbOqJj4dDhg8Ju%252Fuploads%252F3TLLS1RvExza5xeT4Rgv%252Fimage.png%3Falt%3Dmedia%26token%3D1ab35f47-1169-4bb7-8251-fca4b0cb72b4&width=768&dpr=4&quality=100&sign=8ecd68dc&sv=1)
Add tags: you can either add tags that were passed by the user (using variables from Input Validations) or add fixed tags to inform the user passed through a specific part of the bot flow.
![](https://docs.chatlayer.ai/~gitbook/image?url=https%3A%2F%2F2786867680-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-LLTwFwbOqJj4dDhg8Ju%252Fuploads%252FP8AVuovlXuYTXdBQgc4D%252Fimage.png%3Falt%3Dmedia%26token%3D22367852-b8f8-48f6-beb4-a23d6cf11d43&width=768&dpr=4&quality=100&sign=4aa54c1d&sv=1)
Find user: you can ask users to identify themselves, and if not found, start the flow to create a user for them.
![](https://docs.chatlayer.ai/~gitbook/image?url=https%3A%2F%2F2786867680-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-LLTwFwbOqJj4dDhg8Ju%252Fuploads%252FiLGWjLtDg9TRrm56o9j3%252Fimage.png%3Falt%3Dmedia%26token%3Def8eab63-e534-43bf-8135-8ce99b3ee62e&width=768&dpr=4&quality=100&sign=7590c102&sv=1)
Create or update user: if there's no user in your Zendesk account with the information that was passed in the previous step, you can create one, or ask the user to confirm/update their contact.
![](https://docs.chatlayer.ai/~gitbook/image?url=https%3A%2F%2F2786867680-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-LLTwFwbOqJj4dDhg8Ju%252Fuploads%252FAnsmKKZDP3GDpn3bRJ0b%252Fimage.png%3Falt%3Dmedia%26token%3D24350549-f1fb-490a-ad34-91134f9a9fe4&width=768&dpr=4&quality=100&sign=47092a72&sv=1)
How to personalize the bot responses with information retrieved from the integrated App:
From the Session Data, at the bottom of your Debugger when one of the actions was completed, you can check what data is available and where and build the bot response with that data, e.g.:
“I can see the ticket {apps.zendesk.find_ticket.ticket.id}
is about: {apps.zendesk.find_ticket.ticket.subject}
.”
![](https://docs.chatlayer.ai/~gitbook/image?url=https%3A%2F%2F2786867680-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-LLTwFwbOqJj4dDhg8Ju%252Fuploads%252FJjHN7vnOoSitr9L0NGme%252Fimage.png%3Falt%3Dmedia%26token%3D5aa230c8-6b1f-49bd-8cfb-5972c1165cb1&width=768&dpr=4&quality=100&sign=e2203a09&sv=1)
Now you're ready to provide the best customer support bot with Chatlayer and the Zendesk App!
Last updated