academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Data-source-fields [Beta] → Create a new data source field

AI-generated

Summary

Creates a new data source field within the academyFIVE system by sending a POST request with field definitions.

Inputs

  • data (required) — Contains the type and attributes of the field being created.
  • data.type (required) — The type of the data source field (e.g., 'text', 'number', 'file').
  • data.attributes (required) — An object defining the field's properties, including name, labels (DE/EN), area ID, and validation rules.
  • data.attributes.name — The name of the field.
  • data.attributes.labelDe (required) — The German label for the field.
  • data.attributes.labelEn (required) — The English label for the field.
  • data.attributes.areaId (required) — The ID of the area the field belongs to.
  • data.attributes.type (required) — The type of the field (e.g., 'infopoolFile', 'multiSelect').
  • relationships — Optional relationships to define how the field connects to other entities, such as file groups, document types, or database tables.

Output shape

A list of items containing the response data from the academyFIVE API.

The response structure depends on the API endpoint definition; the node maps the API response to standard n8n item output.

Examples

Example 1: Create a text field with German and English labels for a specific area.

Set data.type to 'text', data.attributes.labelDe to 'Vorname', data.attributes.labelEn to 'First Name', and data.attributes.areaId to the target area ID.

Example 2: Create a file upload field with a maximum file size limit.

Set data.type to 'infopoolFile' and data.attributes.maximumFileSize to the desired limit in bytes.

Links

Discussion