How to set an attachment author in Exalate for Zendesk

    By default, Exalate for Zendesk adds a comment showing the proxy user as the attachment author. The following is an example of such a comment:

    Exalate admin has added an attachment

    With scripts, you can set up a different attachment author.

    Zendesk

    Outgoing sync

    In the outgoing sync you can add these lines to your sync script:

    1 replica.addedAttachments.each { it.executor = nodeHelper.getUser("1234567890") } // replace "1234567890" with the Zendesk user id
    2 issue.attachments     += replica.addedAttachments

    Script parameters

    ParameterDescription

    it.executor = nodeHelper.getUser("1234567890")

    Sets a specific Zendesk user as an attachment author. Enter a specific user ID instead of 1234567890


    To get a Zendesk user ID:

    1. Navigate to Admin -> People.
    2. Select the Exalate proxy user.
    3. Copy the user ID from the address bar of your browser. The User ID will be located next to the /users/ parameter. For example, for this line, the user ID will be 372123233699:
      https://example.zendesk.com/agent/users/372123233699/assigned_tickets
      For more information please check out this Zendesk article:

    https://support.zendesk.com/hc/en-us/articles/360044278093-How-can-I-locate-an-agent-ID-in-Support-


    Have more questions? Ask the community




    Back to Exalate for Zendesk tips and tricks