Directus (flagbit) icon

Directus (flagbit)

Consume Directus API

Preset → Get

AI-generated

Overview

This node retrieves a specific preset by its primary key (ID) from the Directus system. It is useful when you need to fetch detailed information about a particular preset stored in Directus, for example, to use its configuration or data in subsequent workflow steps.

Use Case Examples

  1. Fetch a preset by its ID to use its settings in a content management workflow.
  2. Retrieve a preset to display or modify its details in an automation process.

Properties

Name Meaning
ID Primary key of the preset to retrieve, used to identify which preset to fetch from the system.

Output

JSON

  • id - The unique identifier of the retrieved preset.
  • name - The name of the preset.
  • description - Description or details about the preset.
  • created_at - Timestamp when the preset was created.
  • updated_at - Timestamp when the preset was last updated.

Dependencies

  • Requires connection to a Directus instance with appropriate API credentials to access preset data.

Troubleshooting

  • Ensure the provided ID is valid and exists in the Directus system; otherwise, the node will fail to retrieve the preset.
  • Check API credentials and permissions to confirm the node has access rights to read preset data.
  • Common error messages include 'Preset not found' if the ID does not exist, or authentication errors if credentials are invalid.

Links

Discussion