App Extension Types API: Sample Flows

This article presents a possible use case and corresponding sample flow that you can support. It provides a useful starting point as you plan your implementation.

Discover component types before creating components

When building an app, you may need to show developers which component types are available before they create or validate component configuration.

To discover component types before creating components:

  1. Call Get Component Types Display Data to retrieve available component type display metadata.
  2. Use the returned type, displayName, description, labels, and attributes to show available component types in your app-building experience.
  3. If exampleComponentData is returned, use it as a reference when preparing component data. The selected component type maps to the matching lower-case ComponentData oneof variant.
  4. Call Validate Components with the selected component type and data before saving the component configuration.
  5. Call Create Component or Upsert Components to save the component.

Last updated: 3 July 2026

Did this help?