Webhook

Surveys aren't limited to questionnaire functions. There are advanced applications for them such as management or marketing uses, etc. SurveyCake supports app integration through the use of Webhook. You may independently develop an API to set individual triggers based on the collected survey results to other applications.

First, log into SurveyCake, head to the survey’s backend data system, select Notification, and then select Webhook to begin the connection process with Webhook.

Survey backend Notification tab with Webhook selected to start the connection setup

In addition, after completing the Webhook configuration, you can check for any abnormal records in this page. If there are any abnormal records, you can resend any missed responses on your own with a snap.

Survey backend Notification toolbar with Webhook clicked to begin connection setup

To get further information regarding the connection process tutorial, please select View sample code & tutorial.

Webhook settings page with the View sample code and tutorial link

SurveyCake has created a document that outlines the Webhook flow. There is a detailed explanation for every step in this document.

SurveyCake Webhook document ( https://github.com/SurveyCake/webhook/blob/master/README-en.md)

Webhook integration documentation listing detailed instructions for each step
Sample code block in the Webhook documentation demonstrating the actual integration syntax

An application example is below: If a respondent selects Very dissatisfied button in the "Dining Feedback survey", a notification will be automatically sent to the channel when the survey is returned.

Webhook trigger rule settings sending a customer service alert when 'Very dissatisfied' is selected
Internal notification automatically sent by the system after a 'Very dissatisfied' response

FAQs

  • If an individual or company cannot develop a webhook on their own, can SurveyCake assist?

Yes, currently the SurveyCake Enterprise Edition supports custom development and integration. If you have a need to develop a webhook, please fill out this form, and our specialists will contact you!

  • Why is the SubmitTime obtained through the webhook different from the SubmitTime received in SurveyCake?

The answers sent via webhook are displayed in the GMT+0 time zone by default, which causes the SubmitTime to differ from the time displayed in the SurveyCake backend. You just need to manually adjust the SubmitTime returned by the webhook to your local time zone! For example, if you are in Taiwan (GMT+8), you need to manually adjust the time forward by 8 hours.

  • Encountering abnormal webhook exceptions. What could be the cause?

If you're observing exceptions in your webhook logs, it's likely that SurveyCake has successfully delivered the data. The problem might be with the user-side system. Common error messages include:

  • Timeout : These can occur if Google Apps Script experiences a delay in responding. Consider re-sending the webhook.
  • 401 : These errors suggest an authorization issue with your Google Apps Script. Please verify your authorization settings and attempt a reset.
Summary

Using Webhook opens up all kinds of possibilities and helps you with data management or marketing effectively.

Master advanced
survey skills now!

Learn More
Can't find the answer you're looking for?