<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Zendesk - How to attach files to a ticket comment in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Zendesk-How-to-attach-files-to-a-ticket-comment/ta-p/1833942</link>
    <description>&lt;P&gt;This article gives an overview of how the file handling functionality works in the Zendesk connector in Qlik Application Automation. It will also go over a basic example of attaching a PNG image to a ticket comment.&lt;/P&gt;
&lt;P&gt;You can use the Zendesk Connector to attach files to tickets. The attachments are stored in Zendesk and added as links in ticket comments. Before you start, make sure ticket attachments are enabled for end-users in your account.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Here are a few notes&lt;/STRONG&gt;:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You can only attach files to comments in tickets, not to the tickets themselves.&lt;/LI&gt;
&lt;LI&gt;You cannot remove a comment from a ticket. However, you can redact an attachment from a comment(using the 'Delete ticket attachment comment' block.&lt;/LI&gt;
&lt;LI&gt;You upload the files you want to attach separately using the 'Upload File' block.&lt;/LI&gt;
&lt;LI&gt;The file size limit is 50 MB.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Now let's go over an example on how to upload a file and then attach it to a Zendesk ticket.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Search for the 'Upload file' block in the left menu, drag it into the automation and link it to the start block; &lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_0-1627997469946.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59620i155B0BDB28395178/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_0-1627997469946.png" alt="Ionut_Dumitrascu_0-1627997469946.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Notice that this block has 2 input fields: one for the name of the file and one for the content. Notice that the file extension is also required to be added next to the name itself. To upload a .txt file, type the name of the file as 'example.txt' and then click on the 'File content' input, click on 'Add formula', search for the 'Base64 encode', and then type the content of the text file.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_2-1627997576888.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59622iCF0C74BEC87774C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_2-1627997576888.png" alt="Ionut_Dumitrascu_2-1627997576888.png" /&gt;&lt;/span&gt;&lt;BR /&gt;For a 'PNG', type the name as 'example.png', then add the base64 string of the PNG in the 'File content' input field.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_3-1627997639970.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59623i2DE531DAE1A57488/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_3-1627997639970.png" alt="Ionut_Dumitrascu_3-1627997639970.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Search for the 'Create ticket &lt;SPAN&gt;comment&lt;/SPAN&gt;' block in the left menu, drag it into the automation and link it to the 'Upload file' block; &lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_4-1627997711600.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59624i4AE2E976B00CDBA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_4-1627997711600.png" alt="Ionut_Dumitrascu_4-1627997711600.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Add the ticket id and the comment in the corresponded fields, and then use the 'Upload file' as input for the 'Attachment Id'.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_5-1627997749281.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59625iE6489E1C109E6390/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_5-1627997749281.png" alt="Ionut_Dumitrascu_5-1627997749281.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;run the automation. This will upload the file to Zendesk, create a new comment for the specified ticket and attach the uploaded file to it.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-08-03 164422.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59627iF5374112D8309A14/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-08-03 164422.png" alt="Screenshot 2021-08-03 164422.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Sep 2021 10:16:19 GMT</pubDate>
    <dc:creator>Ionut_Dumitrascu</dc:creator>
    <dc:date>2021-09-06T10:16:19Z</dc:date>
    <item>
      <title>Zendesk - How to attach files to a ticket comment</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Zendesk-How-to-attach-files-to-a-ticket-comment/ta-p/1833942</link>
      <description>&lt;P&gt;This article gives an overview of how the file handling functionality works in the Zendesk connector in Qlik Application Automation. It will also go over a basic example of attaching a PNG image to a ticket comment.&lt;/P&gt;
&lt;P&gt;You can use the Zendesk Connector to attach files to tickets. The attachments are stored in Zendesk and added as links in ticket comments. Before you start, make sure ticket attachments are enabled for end-users in your account.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Here are a few notes&lt;/STRONG&gt;:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You can only attach files to comments in tickets, not to the tickets themselves.&lt;/LI&gt;
&lt;LI&gt;You cannot remove a comment from a ticket. However, you can redact an attachment from a comment(using the 'Delete ticket attachment comment' block.&lt;/LI&gt;
&lt;LI&gt;You upload the files you want to attach separately using the 'Upload File' block.&lt;/LI&gt;
&lt;LI&gt;The file size limit is 50 MB.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Now let's go over an example on how to upload a file and then attach it to a Zendesk ticket.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Search for the 'Upload file' block in the left menu, drag it into the automation and link it to the start block; &lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_0-1627997469946.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59620i155B0BDB28395178/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_0-1627997469946.png" alt="Ionut_Dumitrascu_0-1627997469946.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Notice that this block has 2 input fields: one for the name of the file and one for the content. Notice that the file extension is also required to be added next to the name itself. To upload a .txt file, type the name of the file as 'example.txt' and then click on the 'File content' input, click on 'Add formula', search for the 'Base64 encode', and then type the content of the text file.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_2-1627997576888.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59622iCF0C74BEC87774C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_2-1627997576888.png" alt="Ionut_Dumitrascu_2-1627997576888.png" /&gt;&lt;/span&gt;&lt;BR /&gt;For a 'PNG', type the name as 'example.png', then add the base64 string of the PNG in the 'File content' input field.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_3-1627997639970.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59623i2DE531DAE1A57488/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_3-1627997639970.png" alt="Ionut_Dumitrascu_3-1627997639970.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Search for the 'Create ticket &lt;SPAN&gt;comment&lt;/SPAN&gt;' block in the left menu, drag it into the automation and link it to the 'Upload file' block; &lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_4-1627997711600.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59624i4AE2E976B00CDBA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_4-1627997711600.png" alt="Ionut_Dumitrascu_4-1627997711600.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Add the ticket id and the comment in the corresponded fields, and then use the 'Upload file' as input for the 'Attachment Id'.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ionut_Dumitrascu_5-1627997749281.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59625iE6489E1C109E6390/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ionut_Dumitrascu_5-1627997749281.png" alt="Ionut_Dumitrascu_5-1627997749281.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;run the automation. This will upload the file to Zendesk, create a new comment for the specified ticket and attach the uploaded file to it.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-08-03 164422.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59627iF5374112D8309A14/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-08-03 164422.png" alt="Screenshot 2021-08-03 164422.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 10:16:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Zendesk-How-to-attach-files-to-a-ticket-comment/ta-p/1833942</guid>
      <dc:creator>Ionut_Dumitrascu</dc:creator>
      <dc:date>2021-09-06T10:16:19Z</dc:date>
    </item>
  </channel>
</rss>

