LearningSuite icon

LearningSuite

Interact with LearningSuite API (powered by agentur-systeme.de)

Actions100

Hub → Create Hub

AI-generated

Summary

Create a new Hub in LearningSuite by specifying its name, description, a hub template by ID, and required template variables. Optionally set the hub's sort order and whether it should be published immediately.

Inputs

  • Hub Name (required) — The name of the new hub to create.
  • Hub Description — An optional description for the hub.
  • Template Name or ID (required) — The ID of the hub template to use for this hub, selected from available templates.
  • Template Variables (required) — Key-value mappings for variables required by the selected hub template.
  • Publish Hub — Boolean flag to publish the hub immediately upon creation; defaults to true.
  • Sort Index — Numeric sort index to determine the hub's ordering; defaults to 50.

Output shape

A single record representing the created hub object returned by the LearningSuite API.

The output includes details of the created hub. Required template variables must match those defined by the selected template. The hub can be optionally published immediately. Errors occur if required inputs are missing or invalid.

Examples

Example 1: Create and publish a new hub

Supply 'Hub Name', optional description, select a 'Template Name or ID', provide all required 'Template Variables', and keep 'Publish Hub' as true to create and publish a hub immediately.

Links

Discussion