Question

Typeform or Google Sheets to Zendesk Attachments issue.

  • 14 March 2024
  • 3 replies
  • 11 views

I use the service typeform.com for our customers to fill in a returns form and provide pictures of any damaged items.

 

I followed the instructions to connect type form via Zapier to create a ticket in Zendesk.

 

I have everything working in regards to the actual ticket data required.

 

However I am struggling with attachments.

 

Typeform > Zapier > Zendesk

 

This formats the data within the ticket much better, however when setting the attachment data, this provides a file URL that is inaccessible

 

Example:

https://api.typeform.com/

forms/ET8NXcu3/responses/c9ya2rr1umogva33c9yaih1zv69cu7ro/fields/ArfXd8N1nfHT/files/40ebe656f2cc-10128000__600x600.jpg

 

Also Zendesk just added a .txt attachment to the Zendesk ticket with the list of URLs in. Not the actual images to the ticket.

 

When I reached out to TypeForm, they provided me the following documentation:  https://www.typeform.com/developers/responses/reference/get-a-file-from-a-response/

Which explained that you need to use a certain URL / token to retrieve the file.


 

 

They said that google sheets already provided this correct token / URL and that I should do the following:

 

Typeform > Google Sheets > Zapier > Zendesk

 

So I did this, I now have a working image

 

https://api.typeform.com/

responses/files/eb45aa5d4f18b73b40cad182dc55081a617aebaff554a2d119d8db72b4cf051b/10128000__600x600.jpg

 

However Zendesk is still just creating a .txt file with a list of URLs in, instead of attaching the images to the ticket.

 

I'm only a novice when it comes to using zapier so I'm struggling to work out how to get this working correctly.

If anyone could provide me a working solution that would be highly appreciated.

 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Userlevel 7
Badge +6

Hi there @adamsergent,

Welcome to the Community! 🎉

Before we dig deeper into this, would you mind sharing a detailed screenshot of how your Zap is configured? Also, please share a screenshot of the “Action” section of the action step that shows all of its fields. Like so:

46dd6c0979e3d815d621b8da43084ef1.png
(view larger)

Please don't include personal information in the screenshot, or be sure blur out any personal information.

Thanks!

This is how the attachment section is configured on both Zaps.

The attachments come through into zendesk as an attached .txt even if I just have 1 attachment within the field.

However obviously on multiple form submissions we have multiple images attached.

 

We want the attachments to be the actual images in zendesk rather thank this text file.

 

 

 

 

I have links within the ticket at the moment, so I can click them to view the images to view them, but ideally we want these to be attachments as it makes dealing with the ticket and referring back to it much easier.

 

 

Userlevel 7
Badge +6

Hi there @adamsergent,

Thanks for the screenshots and additional information.

Could you please confirm if the mapped data on the “File” field is a direct download URL of the image? The “File” field looks for a file object or the direct download URL. You can learn more about that here: https://help.zapier.com/hc/en-us/articles/8496288813453-Send-files-in-Zaps

Additionally, you can only upload one image at a time. However, you can use Looping by Zapier to upload multiple images if there’s multiple attached images in Typeform.

You can learn more about Looping by Zapier here: https://help.zapier.com/hc/en-us/articles/8496106701453-Loop-your-Zap-actions