Integrations

Take a deeper dive into creating channels and integrations.

Overview

Channels, e.g Webhook allows you to send data to other services when specific events are triggered in TilliT

For example, when a specific activity passes in TilliT, you can send the data in a payload to Microsoft Dynamics 365.

Navigation: Settings > Integrations

Configure a Channel

Navigate to Settings > Integrations > Channels and create a Channel

Fill in the form and hit Save and Open

Name
Description

Name

The name of your channel

Type

Webhook, MQTT, or Sftp

Options

See below for general options and Sft channel options. It should be written as a json object

export type ChannelOptions = {
  username?: string;
  headers?: any;
  authType?: 'OAUTH' | 'BASIC' | 'TOKEN';
  tokenUrl?: string;
  clientId?: string;
  secretName?: string;
  scope?: string;
  grantType?: string;
  jsonata?: string;
};

export type SftChannelOptions = {
  tempFolder?: string;
  filePrefix?: string;
  host?: string;
  username?: string;
  port?: number;
  secretName?: string;
};

Example:
{
  "username": "myName",
  "tokenUrl": "tokenUrl.here"
}

Transform Payload

This is a jsonata expression. See their documentation here - https://jsonata.org/. It is used to reduce the payload size so that only the requirement data will be sent to the channel.

Click the Save and close button to finalise.

Last updated

Was this helpful?