Use Placeholders in Add Tags action | The place for Zendesk users to come together and share
Skip to main content
Question

Use Placeholders in Add Tags action

  • February 10, 2023
  • 2 replies
  • 1 view

I would like to use a placeholder as part of a tag in the add tags action of a trigger. Is this something that is possible?

2 replies

Dane13
  • Employee
  • March 5, 2023
Hi Shaun,

As it turns out, the Add tags action does not support placeholders. It can only read the text inside the placeholder. For example 
{{ticket.id}} 
will appear as ticket.id when used.
 
What you can do it utilize ticket Add Tags API and create a webhook for it.
 
  • PUT /api/v2/tickets/{ticket_id}/tags
 
 

  • Author
  • March 6, 2023

Thank you, Dane,

I ended up using a drop-down field which can be set using placeholders, and any drop-down fields apply the selected option as a tag. This is working well for our use case (where we only needed 11 options). I will certainly keep the API in mind for future use cases we may have!