Webhooks enable Centercode to send data to third-party systems and optionally receive data in return as External Data. External Data fields allow you to add data to Centercode from your third-party systems, storing it against Users, and Feedback Tickets. This external data can then be used anywhere via the Data Engine - as Dynamic Tags, in User and Feedback Management, Reporting, and even other integrations!

Note that while Centercode’s integration features are intended to be approachable by a Customer Validation Professional, you might need to enlist help from an internal technical resource and refer to our vocabulary and troubleshooting documentation.

Common use-cases for Webhooks

  • Integrating Centercode with your issue tracking system (like Agile Central, TFS, or Salesforce)
  • Automatically creating shipping lists via Fedex or Shippo
  • Triggering app distribution to approved testers via TestFairy
  • Sending user or feedback data to Slack for new user registration or critical ticket escalation
  • Requesting data from an external system to be stored within Centercode
  • Store data from your external CRM (ex: Salesforce)
  • Log user activity from your app 
  • Check user status against government blacklists or run a background check
  • Store Feedback ID data for tickets sent to your issue tracker from Centercode

Prerequisite criteria 

  • Enhanced Integrations enabled  
  • Community-level API Key (click here)
  • Third-party system’s API Endpoint URL
  • Community or Project Manager access

Creating your Webhook within Centercode

Webhooks are located within User or Feedback Macros and are conceptually similar to an email notification for an alias or distribution list. To be successful, you’ll need to understand the type of message you’re sending (GET, POST, etc.), the endpoint destination, and the contents of the message.

From the Project Homepage:

  1. Click Users or the desired Feedback Type
  2. Click User or Feedback Resources
  3. Select to Create a Macro
  4. Provide a Name, Description, and identifying Key
  5. Enable the Trigger Webhooks checkbox

At this point, technical help may be necessary - please work with a developer (and/or Centercode)

  1. Select GET, POST, PUT, PATCH, or DELETE in the Web Request method dropdown
  2. Enter the Webhook URL provided by your third-party system into the Web Request text field
  3. Add Headers, if needed
  4. Select the appropriate Content Type: JSON or Form (most commonly JSON)
  5. Add your JSON or Form body to the JSON Body text field
  6. This Body typically carries substantial data to be used by your endpoint system
  7. Add any appropriate Dynamic Tags to send contextual data (dynamic user or feedback data)
  8. If you’re expecting to store data returned by your external system as part of this request, check the Capture Return Values checkbox and refer to the Notes section below.
  9. Click Submit

You’ve just created your Webhook!

Capturing Return Values via External Data

Capture Return Values refers to External Data that’s being returned to Centercode from your third-party system when your Webhook is triggered. External Data allows you to add data to Centercode from your third-party systems. Doing so stores this data against Users, Feedback Tickets, or Projects which can then be leveraged as Dynamic Tags, in User and Feedback Management, Reporting, or even in other integrations.

To capture External Data on a Webhook, check the Capture Return Values field in the Webhook’s configuration. 

Select a pre-existing External Data Group or create a new one to identify and categorize data captured from your external system. These groups are functionally identical to User Account, Participation, or Surveys data groups.

External Data Fields are shown in Reporting and User or Feedback Management as the Label, and are mapped from your external system’s webhook request via the Parameter field.

Selecting the correct data Type allows you to report on and visualize the stored data as the correct type

  • Boolean refers to values returned as true and false
  • Date and Time refers to dates and times returned
  • Integer basically refers to numbers to be returned
  • String refers to textual data returned

Enabling the Favorite (Star) option will display this data within User Summaries or on the admin view of Feedback Tickets.

Notes

  • A Macro will allow you to create a single instruction that expands automatically into a set of instructions to perform a particular task

Related Articles

Understanding Integration Terms

Creating Your Community-Level API Key

Centercode Guide to Simple Webhooks

Centercode Guide to Simple External Listeners

Centercode Guide to Simple External Feedback

Centercode Guide to Simple Data Packages

Centercode Guide to Simple External Users

Centercode Guide to Simple Record Lookup

Update Centercode Feedback via External Tracking Systems

Updating External Tracking Systems via Webhooks

Sending Customer Feedback to External Systems via Webhook

Validating Shipping Addresses via Webhooks

Integrating Data Packages Into External Data Systems

Did this answer your question?