> ## Documentation Index
> Fetch the complete documentation index at: https://docs.athina.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Blocks

> Blocks and flows are composable and can be used to create powerful workflows.

Blocks are the building units in Athina Flows. Each block performs a specific task,
such as searching for data, processing text, or running code. By connecting these blocks,
you can build automated workflows tailored to your needs.

<Note>Blocks are sometimes also referred to as "steps" in the codebase.</Note>

Blocks are similar to [Dynamic Columns](/datasets/dynamic-columns/dynamic-columns) in datasets.
Both use the same execution functions to perform actions efficiently.

You can explore more about how blocks work in our open-source SDK: [Athina SDK](https://github.com/athina-ai/athina-evals/blob/main/athina/steps).

Here are the Blocks currently available:

<CardGroup>
  <Card title="Run Prompt" icon="robot">
    Generate responses using LLMs & prompts.
  </Card>

  <Card title="Code Execution" icon="rectangle-code" href="/flows/blocks/code_execution">
    Write and run custom Python code.
  </Card>

  <Card title="Parse Document to Text" icon="file">
    Extract information from documents.
  </Card>

  <Card title="Retrieval" description="Retrieve documents from Vector DB." icon="database">
    Retrieve documents using the Vector DB.
  </Card>

  <Card title="Knowledge Retrieval" icon="book" href="/flows/blocks/knowledge">
    Retrieve documents from a knowledge base.
  </Card>

  <Card title="API Call" icon="webhook">
    Interact with external applications.
  </Card>

  <Card title="Search" icon="magnifying-glass" href="/flows/blocks/search">
    Search the web for information.
  </Card>

  <Card title="Crawl" icon="spider-black-widow">
    Crawl websites for data extraction.
  </Card>

  <Card title="Tool Call" description="Execute a tool call using Composio." icon="grid">
    Connect and interact with applications.
  </Card>

  <Card title="Transcribe Audio to Text" icon="microphone">
    Convert audio files to text.
  </Card>

  {/* <Card
      title="Conditional"
      description="Evaluate conditions and dictate flow."
      icon="shuffle"
      href="/flows/blocks/">
      Control flow with the Conditional block.
    </Card> */}
</CardGroup>
