Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v73
  • v74
  • v73
  • v72
Login
  • Getting Started
  • Administrator documentation
  • Functional characteristics
  • Technology description
  • System requirements
  • Admin Panel
  • Platform installation
  • Platform configuration
  • Platform maintenance
  • Custom channels guide
    • Overview
    • Creating and configuring a channel
    • Entity field configuration
    • Template language
    • Entities
    • Pipes
    • Pipelines
  • Extra
  • Processing HTTP/HTTPS traffic
  • Administrator API
This is documentation for Altcraft Platform v73. This documentation is no longer maintained.
The information for up-to-date platform version at this page is available (v74).
  • Custom channels guide
  • Entities
Documentation for version v73

Entities

Description​

Entity is an external entity with which a custom channel can interact via pipelines. It makes sense to use entity if before the start of a mailing you need to create or load some external data. The data must will be used in the main pipelines then (Message, Scheduled, Listener, Stop, Moderate).

External entities are configured on the Entities tab in the custom channel menu.

Basic settings​

  • Name is the name of the entity (will be displayed in the field to which the entity will be bound);
  • Shortname is a unique string identifier of the entity. According to it, the entity fields will be available in the channel pipelines.
  • Description - brief description.

Structure​

The structure of the external entity is specified in the Output Entity Fields section. This is a list of fields of different types. It is necessary to set the Primary field and Preview field. All operations (see below) must ultimately return either an error or the structure specified here (not all fields are possible).

Operations​

Operations are methods of interacting with an entity (create, delete, get a list, get one object, etc.).

Each operation consists of:

  1. Input data – is a set of fields that the user can fill in before performing an operation. The values from these fields will be available in the event's $in ($in.<field shortname>). Input data is not required for setup. Otherwise, the method of adding fields and their settings do not differ from those in other places in the channel.
  2. Pipeline – JSON array of pipes that will be executed when the user launches an operation in the interface. The configuration is similar to the rest of the pipelines in the channel with some nuances. Pipelines in operations are synchronous, that is, the user, having launched an operation in the interface, will wait for the result. Based on this fact, you need to design the pipeline accordingly. Therefore, only the following types of pipes are available in operation pipelines:
    • Result – returns the final result of the operation. Must be present in the pipeline.
    • Error
    • Log
    • Pack
    • Unpack
    • HTTP Request
    • Store Set
    • Store Get
    • Selector
    • SQL
caution

An event must get to the result pipe before exiting the pipeline, if it does not exit through Serror pipe

Currently, two types of operations are available for configuration:

  • list – should return an array of entities.
  • read – must return one entity.

Output forms​

Output forms are a way that how a user will see the result of a operations. Will a table with entities be rendered or a form with one entity. Options will be added. Output forms are removed from the Operations section, because several operations can correspond to one form.

There are currently two forms available:

  • Single form - used for read operation. You cannot create fields. You need to select and place on the form those already created in the Output Entity Fields section.

  • List – used for list operation. You cannot create fields. You need to select and place on the form those already created in the Output Entity Fields section.

Last updated on Jan 14, 2026
Previous
Template language
Next
Pipes
  • Description
  • Basic settings
  • Structure
  • Operations
  • Output forms
© 2015 - 2025 Altcraft, LLC. All rights reserved.