Skip to main content
Best answer

How to associate the SurveyMonkey replies with a comment on original Zendesk ticket?

  • February 24, 2023
  • 2 replies
  • 67 views

jthees

In Zendesk, I’ve got a closing macro agents use to wrap up the conversation that includes a link to a SurveyMonkey survey. Is there a way to associate the survey replies with a comment on the original ticket?

Best answer by SamBBest answer by SamB

Hey @jthees, welcome to the community! 👋

What a great question! To achieve this you’d need some way of passing a unique identifying value (like the Zendesk ticket’s ID) to the SurveyMonkey survey.

I’m thinking you could create a custom variable on the survey that’s hidden and then in the URL for the form, you’d pass the ticket ID into that hidden field. That way when a Zap triggers for the completed survey there should be the ticket ID present in the hidden field. 

Looking at the documentation on SurveyMonkey’s website it looks like that should be possible: Setting Up Custom Variables
 

You’d also need to alter the Zendesk macro that generates the link to include the ticket ID as a custom variable in the url. It looks like there’s a ticket.id placeholder variable: Zendesk Support placeholders reference but I’m not clear on whether you could use that in the macro. So that might be something you’d need to check with Zendesk about. 

Hopefully that helps to get you started. Please do keep us updated on how you get on with this! 

 

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7717 replies
  • Answer
  • February 24, 2023

Hey @jthees, welcome to the community! 👋

What a great question! To achieve this you’d need some way of passing a unique identifying value (like the Zendesk ticket’s ID) to the SurveyMonkey survey.

I’m thinking you could create a custom variable on the survey that’s hidden and then in the URL for the form, you’d pass the ticket ID into that hidden field. That way when a Zap triggers for the completed survey there should be the ticket ID present in the hidden field. 

Looking at the documentation on SurveyMonkey’s website it looks like that should be possible: Setting Up Custom Variables
 

You’d also need to alter the Zendesk macro that generates the link to include the ticket ID as a custom variable in the url. It looks like there’s a ticket.id placeholder variable: Zendesk Support placeholders reference but I’m not clear on whether you could use that in the macro. So that might be something you’d need to check with Zendesk about. 

Hopefully that helps to get you started. Please do keep us updated on how you get on with this! 

 


jthees
  • Author
  • Beginner
  • 1 reply
  • February 24, 2023

Thanks Sam! That gets me pointed in the right direction, and it does look like it’ll do the job. I’ll follow up on this with the results.