Skip to content

Instantly share code, notes, and snippets.

Control Assign If

Assign a value based on the output of an expression.

Inputs

  • left-operand: The first operand in the expression.

  • operator: The operator to compare two values in an expression.

Getting Started

What is a Channel?

A Channel is an interface that communicates with external APIs. The goal of a Channel is not to be a direct reflection of an API, but instead a user-friendly abstraction on top of an API. Channel development is more focused on end-user needs than on the capabilities of the API. Each Channel is made up of methods, which appear to the user as the different Event and Action cards. Each method determines how data is fetched from the API, and transforms data to the user-friendly format accepted by the front-end. Most methods use more than one API call to do this.

To define a Channel, you must write a Channel JSON file and submit this file to Azuqua for upload into the engine. At runtime, the engine will access the instructions laid out in this file to execute the Event or Action the user has designated in their FLO. The primary function of a Channel JSON file is to lay out in a linear manner the pre-defined action steps (known internally as bricks) that will execute ea