Overview

Observing External Events happening outside of your app will enable your app to act by registering a handler JS function. This Handler will be invoked every time a desired event is observed in 3rd party systems.

What you'll learn

  • You will learn to how to generate a Webhook
  • What are App Setup Events and when they could be of help
  • Using Freshworks CLI to create secure public URLs to test Webhooks
  • Simulate the External Event happening. (The actual trigger of an external event will be covered as part of the capstone tutorial.)

What you'll need

  • A Freshdesk trial account on Chrome web browser
  • Freshworks CLI
  • A code editor
  • Basic knowledge of HTML, CSS, Javascript, CLI and Browser DevTools
  • The Sample Code

What we'll build

You will explore this feature by writing some simple code that observes app installation, uninstallation or desired external events are happening. But for the scope of the tutorial we will only simulate all this happening and log information in the terminal.

Prerequisite Knowledge

  1. Read the Getting Started guide .
  2. Boiler plate code with fdk create and serverless_starter_template.