Recent searches
No recent searches
Create User Account From Ticket
Answered
Posted Jan 26, 2022
Hi All,
I've been given a challenge and was wondering if it were at all possible.
A user would create a ticket requesting a Zendesk agent account for themselves to be created. This would go to an approval team, once approved, an account is created using details entered into the ticket.
I have no idea where to start but figured i would start by asking if it were even possible using Zendesk workflow alone.
0
4
4 comments
Cheeny Aban
When you receive an email at one of your support addresses, Support automatically creates a user record if one does not exist already. Unfortunately, there is no option to prevent that actions since it is hardcoded in the system. Here's are the other ways how a user can be created in Zendesk
0
Dan Nolan
This is definitely possible, it's how I do onboarding but it is very complicated and cannot be done with just Zendesk. It really requires knowledge of webhooks, the zendesk API and Python, so for most admins and smaller-sized accounts this is not really going to be worth the effort, but if you're working on an Enterprise instance and need to onboard hundreds or even thousands of agents, this works well for me.
I use Zapier and send it the information I need from Zendesk via a webhook using a "catch webhook" task in Zapier. What I ask for in the Zendesk form is the new agent's name, their email, and because we're such a large company with so many employees I ask for the email of an agent who has the same permissions and group memberships that they would like for the new agent. I have an approved onboard form that is only available to me and when I solve an approved onboard ticket, the webhook fires and sends the info to Zapier. Zapier catches the webhook and runs (something like) this python code:
*this code is just cleaned up to remove my personal info/creds, there's definitely still a lot of redundant definitions and print statements that were just used in testing and never cleaned up because I'm lazy and that's why I automate stuff lol
If you're a smaller company, you can ask for all sorts of custom user attributes on the form rather than cloning an agent, and just have a bunch of if statements like
And then add
to your update ticket payload.
2
Morris Coyle
Hi Dan,
That\s a great solution thank you. We are running an Enterprise level instance here and use Zapier as well as having in house python expertise so this will work perfectly for us.
Thank you again for your detailed solution, very much appreciated.
1
Dan Nolan
Morris Coyle no prob, glad to get to show this off lol
0