工作流程:如何使用触发器操作为用户添加工单标签



已于 2025年1月07日 编辑


0

0

6 条评论

We are also running into the need to automatically tag users when an organization is assigned to a user.

0


1263082103229 the issue is that triggers only work when there is a ticket. we need to be able to update users regardless if there is a ticket. 

1


Hi Support Admin,
 
At the moment, there's no trigger action that can add a tag on the user profile, however you can use the custom user field option and use it on the trigger to add a user tag on the user profile. The trigger will add the tag to the user and any subsequent tickets from that user. 
 
You can also post this as a feature request in feedback forum. Our Product Team reviews this forum regularly and it has inspired many of the enhancements we've made to Zendesk over the years.

0


Hello 1263082103229,

No, I did not try the custom field approach because it won't work for assigning a user to a user segment. That assignment is only based on "real" tags (no support for user fields). In other words, this method doesn't accomplish what the title says.

All this method does is to provide a way to initiate a trigger based on a custom user field (sort of the wrong direction ;-) ).

So is there another way to add a user to a user segment via a trigger?

 

 

0


Hi Support Admin,
 
Unfortunately, there's no trigger action that will allow you to add tags on the user profile. Tags are added to tickets via triggers. Have you created the custom user field as mentioned on the article and trigger? Please take note that the trigger will fire when a ticket has been created. 

0


Sorry, but I am not seeing how this adds a tag to the user profile. Are some steps missing?

My use case (as it is for many others) is to trigger off the user tag to assign a user to user segment (which only works off tags, and not any other fields), for example, to control visibility to articles.

How can automatically add a tag to the user profile?

0


登录再写评论。