Functions

Functions

Create your own sources and destinations directly within your workspace

About this course

In this series of lessons, we will learn about Source and Destination Functions. In particular, we are going to review what each type of function does, how to write a function, review function requirements, and go over the preinstalled libraries. We will use what we learn to create an example Source Function that tracks issues opened on an example Github repo. Finally, we will create a Destination Function to forward the events from our Source Function to Zendesk so a new support ticket is created each time an issue is opened on our Github repo. 

Curriculum

  • Introduction to Functions
  • Welcome to Functions For Engineers!
  • Examples use cases of Functions
  • Introduction to the functions we are going to build
  • Important note about Functions before we begin
  • Source Functions
  • Where to find Source Functions in your workspace
  • Concepts to be familiar with: Async/await keywords, onRequest() function and parameters
  • The Segment Object
  • Testing your function and logging errors
  • Github Source Function overview
  • Destination Functions
  • Destination Functions Overview
  • Where to find Destination Functions in your workspace
  • Destination Function Handler Functions
  • Fetch API and other preinstalled libraries
  • Zendesk Destination Function

About this course

In this series of lessons, we will learn about Source and Destination Functions. In particular, we are going to review what each type of function does, how to write a function, review function requirements, and go over the preinstalled libraries. We will use what we learn to create an example Source Function that tracks issues opened on an example Github repo. Finally, we will create a Destination Function to forward the events from our Source Function to Zendesk so a new support ticket is created each time an issue is opened on our Github repo. 

Curriculum

  • Introduction to Functions
  • Welcome to Functions For Engineers!
  • Examples use cases of Functions
  • Introduction to the functions we are going to build
  • Important note about Functions before we begin
  • Source Functions
  • Where to find Source Functions in your workspace
  • Concepts to be familiar with: Async/await keywords, onRequest() function and parameters
  • The Segment Object
  • Testing your function and logging errors
  • Github Source Function overview
  • Destination Functions
  • Destination Functions Overview
  • Where to find Destination Functions in your workspace
  • Destination Function Handler Functions
  • Fetch API and other preinstalled libraries
  • Zendesk Destination Function