image for site

Updating Triggers in Zendesk

Learn how to update existing triggers in Zendesk using the API with a PUT request.

How do I update an existing trigger in Zendesk?

To update an existing trigger in Zendesk, you can use the PUT request to the/api/v2/triggers/{trigger_name}endpoint. This allows you to modify the trigger's data, such as its name and description. Only account owners and administrators have the permission to update triggers.


More related questions

What are triggers in Zendesk and how are they represented?

Triggers in Zendesk are represented as JSON objects with specific attributes. Each trigger has a name, a status indicating if it's enabled, a description, and a definition. The definition includes the event that activates the trigger, the…

How can I create a new trigger in Zendesk using the API?

To create a new trigger in Zendesk using the API, you need to send a POST request to the/api/v2/triggersendpoint. The request should include the trigger's name, status, and description in JSON format. Only account owners and administrators are…

What events can activate a trigger in Zendesk?

Triggers in Zendesk can be activated by specific events such aspage_enter,chat_requested, andchat_message. Each event corresponds to a visitor's interaction with the chat widget, like loading the widget, requesting a chat, or sending a…

What conditions can be used in Zendesk triggers?

Zendesk triggers can use conditions likeorandandto check if any or all specified conditions are fulfilled. Conditions can be based on variables such as time, visitor location, previous visit information, and more. Operators likeeq,…

Can I delete a trigger in Zendesk using the API?

Yes, you can delete a trigger in Zendesk using the API by sending a DELETE request to the/api/v2/triggers/{trigger_name}endpoint. This action is restricted to account owners and administrators.

What actions can be performed by a trigger in Zendesk?

Triggers in Zendesk can perform various actions such as sending messages to visitors, setting the triggered flag, waiting for a specified duration, adding or removing tags, banning visitors, and setting visitor information like name or department.

How can I list all triggers in my Zendesk account?

To list all triggers in your Zendesk account, you can use the GET request to the/api/v2/triggersendpoint. This will return a list of all triggers associated with your account, accessible to account owners and administrators.

What are the condition variables available for Zendesk triggers?

Zendesk triggers can use a variety of condition variables, including time and date variables, visitor location, previous visit information, page information, visitor information, visitor software/computer details, online statuses, and chat-related…

Interested indeflectingover 70% of your Zendesk support tickets?

Our AI customer support agent is here to help. Trained on all your help docs, installed directly into your Zendesk account, it can be used to automate customer replies for tickets or live chat. Learn more below.
Zendesk logo

Zendesk Support Tickets

Receive new tickets by email or a support form? This integration is for you.
My AskAI integrated within Zendesk to deflect support tickets
Learn about our Zendesk ticket integration
Zendesk logo

Zendesk Messaging (live chat)

Using Zendesk's Messaging widget on your site for live chat? This integration is for you.
My AskAI integrated within Zendesk to deflect customer support live chat conversations
Learn about our Zendesk Messaging integration

Join1,000+ companies reducing their support costs and freeing up support agents for more important work

Vestd company logo — Customer of My AskAI's AI customer support agents
Genesis company logo — Customer of My AskAI's AI customer support agents
Zinc company logo — Customer of My AskAI's AI customer support agents
Customer.io company logo — Customer of My AskAI's AI customer support agents
Zeffy company logo — Customer of My AskAI's AI customer support agents
NHS company logo — Customer of My AskAI's AI customer support agents
Kontakt.io company logo — Customer of My AskAI's AI customer support agents

Reduce support costs.Spend more time on customer success.

Our AI customer support agents are already used by 👇
Companies using AI assistants on their websites