# Elemental

### What is an Element?

An element is a flexible data structure that serves as the foundation for everything you build in Snack Prompt. They are not static; their identity and behavior are defined by their composition.

<div data-full-width="false"><figure><img src="/files/G2Ay978RnIIq6T2iU9jF" alt=""><figcaption></figcaption></figure></div>

* **Definition via Templates:** Element types are established via Templates, which provide the initial structural schema.
* **Identity by Main Field:** Although an element may contain multiple fields, the **Main Field** strictly defines its specific type and behavior within the system.
* **Modular Composition:** Each element consists of a collection of Fields, allowing you to create tailored structures for different AI needs.

#### 1. Basic Fields

Primitive inputs designed to **capture simple**, unstructured **information**.

* **Text/Input:** Captures short strings, emails, or phone numbers.
* **Selectors:** Checkboxes, Toggles, and Comboboxes for pre-defined choices.
* **Dates:** Datepickers and Datetime pickers for temporal records.
* **Feedback:** Star Ratings for qualitative scoring.

#### 2. Core Fields

Structured components with **advanced** logic, often connected to external **resources** or integrations.

* **Media:** Upload and management of Audio, Video, and Images (internal or external).
* **Files:** Management of general documents and automation files.
* **Logic:** "How-to" fields (step-by-step guides) and Source metadata.
* **Identifiers:** Short commands and view configurations (Table/Form).

#### 3. Settings Fields

Immutable system attributes inherited by every Element.

* **Identity:** The Element's Title, Description, and Avatar.
* **Control:** Visibility settings (Public/Private) and Price definitions.
* **Taxonomy:** Use of Topics for categorization and organization.

### Element types

* **Prompt:** A prompt is a set of instructions, text, or input given to an AI model to generate a response.&#x20;
  * Prompts help users get high-quality, tailored outputs from AI tools like ChatGPT, Midjourney, and others.
* **Snippet**: A snippet is a reusable text, code, or instructions that help users quickly apply AI-generated content in various tasks.&#x20;
  * Allow users to save, share, and use AI-powered responses efficiently.
* **Document**: A document is a saved collection of AI-generated content, prompts, or snippets that users can organize, edit, and reuse efficiently.
  * Provide a structured way to manage and track AI-assisted work, ensuring easy access and seamless organization.
* **Automation:** allows users to integrate AI-powered workflows with other apps using Make and Zapier. With automation, you can trigger AI-generated responses, streamline repetitive tasks, and connect Snack Prompt with your favorite tools—without manual input.
* **Table:** allowing users to structure, store, and manage AI-generated data efficiently. Tables help organize information in a clear, accessible format, making it easier to reference, automate, and integrate with AI workflows.
* **Cell**: An individual unit of data within a table represents the smallest and most granular piece of information in a structured dataset. Each unit, commonly referred to as a cell, holds a specific value that corresponds to a row and column within the table.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.snackprompt.com/glossary/snack-prompt-concepts/what-is-a-elemental.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
