Efficient way to upload ticket attachments

Hi all,

Is there more simpler/efficient way to write logic to upload ticket attachments to a third party without using a middleware and implementing the logic in app.js or server.js.

Thanks

1 Like

@syedm,
You can use server.js to implement this logic,
To be more precise you can listen for product events such as ticket create or update. and you can post the attachments to your third party.

Hope it helps :slight_smile:

Thanks