Can I configure a trigger to auto-comment a ticket?
No, it's not natively possible to have a trigger add a comment to a ticket. Triggers can send notifications to users containing information from the ticket, but they cannot add a comment to a ticket when they fire.
Important: Zendesk doesn't support using webhooks for Zendesk APIs as a workaround to automatically add comments to tickets. Doing so can result in race conditions and other conflicts. For more details, see the article: Can I use a trigger and a webhook to update tickets?
Alexey thanks for the suggestion.
I generated an API key and appended it to my email address as you indicated, however, the API call still failed with error "Couldn't authenticate you"
Any other suggestions?
I've tried every method mentioned in this thread to get this work, but still can't for some reason... even tried creating a webhook... fundamentally they all seem to be the same logic.
Just saw this: https://support.zendesk.com/hc/en-us/articles/4409692719130-Announcing-the-Zendesk-intelligent-triage-EAP
"You can also use intelligent triage to increase your support team’s efficiency by configuring triggers that reply to tickets with public or private comments."
I've got this set up and has been working for well a while and has become key to our processes, Are we able to convert this target to a webhook?
When I've tried it doesn't look like it's possible (maybe due to basic authentication?)
Russell Milton If you're set up the same as us, then it's a URL target. Those can't be converted and don't have to. At least that's what Zendesk told me.
Lou ah great, thank you for letting me know!
I am trying to set this up myself, but nothing seems to appear on the ticket when the trigger runs and the target shows 0 successful sends. Is there something I need to set up somewhere else?
Sorry for the late response. I changed my email address and didn't see the notification.
Can you share your URL target setup? Please don't include your domain. That's none of my business. It should look like:
The method should be PUT
Thanks for replying.
Set up is with the following:
It then feeds the following trigger:
What kind of error message do you get? Everything looks OK to my less-than-technical eye, so it's either the credentials or the json.
If I test I get 'Error during transmission: HTTP client call failed', but still active without, it just doesn't run. Definitely only need the URL target and the trigger, nothing else in the background? Appreciate the help, such an annoying limitation!
Go to your admin center and open Apps and Integrations>APIs>Zendesk API then click on the Target Failures tab:
Do you see the failures there? If so, you can click on one and get more information. Again, it's very technical, but if you look through it, you may see a clue. I have some failures, but at the very bottom they indicate they failed because it was trying to update a closed ticket.
It's saying '"error": "Couldn't authenticate you"' at the bottom. I've tried resetting the password and still have the same issue. I will try on my production instance when most agents have logged off and see if I get the same issues.
Yeah, that looks like a password issue. I had the same problem. Any time I go look at the target, the password disappears and I have to reenter it.
There doesn't appear to be information about this in the knowledgebase but is this possible to send private notes (or comments if you will) via Email? For instance when we forward or send an email to our support@[subdomain].com, it comes to Zendesk and has the email as a public note, instead we want to have it as an internal note. Can you edit the message in email somehow so Zendesk creates it as an internal note automatically?
Thank you in advance.
Incoming new emails, even in forwarded emails, will automatically generate a public comment. However, if you'll reply on a ticket as an agent via web mail or mail app, you can utilize Mail API to make the comment private.
#public falseon top of your email body and it will turn the response to private.
This is the result.
Hope this helps.
To compliment our automation efforts I would really like this feature at least to add a private comment.
If you haven't already, would you mind upvoting and adding your use case to this product feedback thread? Although it's about Triggers specifically, others have also mentioned Automations: Feature Request: Triggers - Action: Add Internal Note as a trigger action
We intend to automate responses to tickets that have certain words in the subject on receipt of the ticket containing the specified words I want to send a notification back to the requestor detailing how they can self serve their issue (i.e. no intervention from an agent).
I can do this successfully via email using a trigger and an automation but in order to keep in with our SLA for first reply time I also want to be able to add a comment instead of sending an email.
So adding this feature would be a great addition to our automation efforts.
Often enough there are forms with so many fields that my agents are swimming in too much information in the little sidebar. While they need all that data, and it's organized as well as can be, it's helpful to call out the more essential or special details: a check box for something, that one drop down that changes the entire type of action they need to take, an answer in a field that needs to be the bottom but operationally matters at the top.
I want to be able to extract those details automatically for them to better know what the ticket is about, and insert a private comment that they can see at the start. One that gets there via automation and helps them know where they'll need to go, rather than manual execution of a macro before they even start looking at the ticket.
Hello @..., would love to upvote Feature Request: Triggers - Action: Add Internal Note as a trigger action, but sadly and shockingly the Feature Request is set as "Not planned" for no particular reason. This is a much needed feature for us and will need to evaluate other ticket system solutions to meet our needs.
Has anyone been successful in getting authentication to work with third party SAML (Google/Okta)?
We use Okta in our organization to logon to Zendesk.
Thanks Susan Maher
Have you been able to authenticate with a URL target with Okta? What format did you use?
We use Okta and I have this working.
The username I use is in the following format firstname.lastname@example.org/token and then I use the API to get a token and use this as the password
Thanks Tom Rees
I had no luck so far with
Username: [email]/API token
Username: [email]/API token
Password: API token
I'll keep playing to see what I can find.
In the username don't put the actual token, but put the word token after the /. The password is where you paste the API token
Thank you so much Tom Rees! I feel like a bit of a dummy :'D
You're welcome. Took me a while to get it to work too!
I see you got your answer,
Please sign in to leave a comment.