Recent searches


No recent searches

Can I configure a trigger to add a comment to a ticket?



image avatar

Ricardo Pinto

Zendesk Digital Resources Team

Edited Feb 19, 2025


-49

108

117 comments

I just wanted to express my thanks to everyone here.  We've set up our own webhook and trigger for internal comments on a ticket where we need a clear prompt for agents as a warning for a particular org.

0


+1 To allow the use of adding Internal Notes & Public Replies via Trigger to people who don't have “Advanced AI.” 

 

This is not an AI feature and is ridiculous that we can't post internal notes on tickets natively (even when the functionality clearly already exists for “Advanced AI” users). Often times I have to do many work arounds where internal notes are useful to the workaround. It seems as if our Zendesk environment keeps having workarounds upon workarounds due to lack of basic functionality.

 

Some of the things where internal notes are useful for workarounds:

  • Not being able to add internal notes in triggers - many workarounds require this
    • One workaround is the Webook method, but now we are approaching out max API limits for something that shouldn't need a webooks in the first place.
  • Not being able to display Organization notes on the ticket page or on an “Organization” card - I would like to place organization notes right in view of the agent so they can see it and don't miss an important note. The only way we were able to do this was have a trigger post an internal note via webhook workaround.
  • Not being able to require an Organization field to be set when solving a ticket - There is no way to force an agent to set an organization for a user when solving a ticket. Therefore, a workaround is to open the ticket back up when the organization is missing on the ticket/end user. However, that workaround requires an internal note using the webhook workaround.
  • Not being able to require a public reply - I would like to force agents to post a public reply before updating the ticket if the severity is high enough. We were able to accomplish this with a checkbook workaround, but it would be nice if we could use internal notes too.

0


This is a basic functionality that needs to be re-added as soon as possible. 

0


Hi 6276361949082 ,

Actually, I was going to suggest using the API.  But it seems you have already considered it.

I wish there was a simpler workaround.

 

 

0


Hi Walter!

 

Yes, exactly. We are using the messaging channel with a simple bot flow at the moment.

The reason I am trying to make this work is to avoid using the API call and branch condition in the bot. To explain it simply:

We are dividing the end customers/organizations into different plans (using tags and fields). 
For example: Plan A / B / C.

Based on these conditions, I want to provide a public answer through the bot based on the Plan.

By creating a webhook that provides a public comment to the ticket, I can use the plan conditions in a trigger to add a comment to the ticket. However, it should also be displayed on the customer messaging side.

I know this is possible using the API in the bot flow by calling the organization/user field as a value once the user contacts us, and by this using different bot answers / flows. However, this will require more time for us to develop, so I was thinking of a simpler workaround.

 

Thank you!
 

0


Hi 6276361949082 ,

So you are using the Messaging feature and not the legacy Web Widget right?

On the legacy Web Widget, I don't think it is possible.  On the new messaging, it may be possible, but it may not be a supported workaround.  Are you able to provide more details?

0


Hi Keti,
 
Using a trigger and webhook to update tickets is not a supported workflow. For more information, kindly refer to this article: Can I use a trigger and a webhook to update tickets?
 
Best,
Paolo | Technical Support Engineer | Zendesk

0


Hi!

Is there any way to enable the ticket public comment under the Web Widget Interface? (customer POV) .I initiated a Messaging ticket, Web hook works, comment is added within the ticket, but it is not displayed from the customer's point of view on the web widget.

0


Dakotah Poitra

It looks like you're trying to insert a line break. I believe you would use Markdown instead. There's a few ways to try it:

  • two spaces at the end
  • backslash at the end
  • the <br> element

https://stackoverflow.com/questions/26626256/how-to-insert-a-line-break-br-in-markdown

0


Does anyone happen to know the formatting to get the second line "/n" to work?

0


Sign in to leave a comment.