Freshservice - Fuze Chat Integration

Hi @Raviraj,

Could you provide a code snippet that I could use that would produce the payload information? I thought maybe this would work, but it doesn’t show any data in the console when I click save when creating a new ticket.

exports = {

  events: [

    { event: 'onTicketCreate', callback: 'onTicketCreateHandler' }

  ],

  // args is a JSON block containing the payload information.

  // args['iparam'] will contain the installation parameter values.

  onTicketCreateHandler: function (args) {

    console.log(args);

  }

};