Event on Ticket Creation via Email

4 Comentarios

  • Tipene Hughes
    Zendesk Developer Advocacy
    Hey Ronald,
     
    System created tickets such as email and API tickets don't automatically fire the ticket.saved event on creation. For this particular use case, web hooks and triggers might be the best way to accomplish what you're looking to do. Here's an article that goes in to a bit more detail:
     
    https://support.zendesk.com/hc/en-us/articles/4408839108378-Creating-webhooks-in-Admin-Center
     
    I hope this helps! Feel free to reach out with any questions.
     
    Tipene
    0
  • Ron

    Thanks Tipene Hughes,

    OK, that explains the behavior then. Would be nice to be able to handle this in our app somehow.

    Cheers

    Ron

    0
  • Amit Chinchane

    Does this mean, we can not use the below event?

     client.on('ticket.create', function(data) {
            console.log('ticket  created!');
        });
        //----------updated --------------
        client.on('ticket.update', function(data) {
            console.log('ticket  updated!');
        });
    0
  • Erica Girges
    Zendesk Developer Advocacy
    Hi Amit,
     
    After double checking our ticket events, it looks like ticket.create or ticket.update aren't valid events that our framework recognizes. Therefore, it wouldn't produce the desired result. 
     
    Apologies for any inconvenience this may cause.
     
     
    Erica
    0

Iniciar sesión para dejar un comentario.

Tecnología de Zendesk