Allow triggers to send a macro

5 댓글

  • Dane
    Zendesk Engineering
    Hi Sylvian,
     
    You cannot use Macro on triggers. However, you can utilize web-hooks with update APIs and triggers to perform similar function. 
     
    Webhook: 
     
    https://yoursubdomain.zendesk.com/api/v2/tickets/{{ticket.id}}.json

    Request Method: PUT

    Request Format: JSON
     
    Use the sample below for your trigger actions:
     

     
    You can check the article for Ticket Updates API to determine the correct format of your payload.
     
    Hope this helps!
     
     
    0
  • Sylvain

    Thanks Dane, I will dig into this. 
    But I think having as a choice "Apply macro xxxxxx" in triggers would make it much easier for the ones with no dev background.

    0
  • Raphaël Péguet - Officers.fr

    Dane Hi (again) Dane,

    Is it possible to use webhook messages (and how?) on chats ?

    Best regards,

    Raphaël

    0
  • Salim Cheurfi
    Zendesk Customer Care
    Hi Raphael, 
     
    Webhooks can be used in triggers to update tickets, but unfortunately it cannot be used to send a chat reply via support triggers. I would recommend instead creating a chat trigger to send an automatic message in a chat https://support.zendesk.com/hc/en-us/articles/4408884148762-Working-with-Chat-triggers 
     
    Best,
    1
  • Raphaël Péguet - Officers.fr

    thanks Salim Cheurfi!

    0

댓글을 남기려면 로그인하세요.

Zendesk 제공