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

# GIA

> Overview of the subsystem that connects AI agents to CriaChat resources.

# GIA

GIA is the subsystem that connects artificial intelligence agents to CriaChat resources. It runs AI-triggered functions, integrates HTTP services, changes support flows, and schedules automated actions.

## How this documentation is organized

<CardGroup cols={2}>
  <Card title="Functions" icon="brackets-curly">
    Resources the AI can select and run during a conversation.
  </Card>

  <Card title="Scheduled actions" icon="clock">
    Actions run after a delay according to the contact's current stage.
  </Card>

  <Card title="Campaigns" icon="paper-plane">
    Asynchronous bulk messages with dedicated queues and limits.
  </Card>

  <Card title="GIA API" icon="square-terminal" href="/api-reference/gia/campaigns">
    HTTP contracts available to external integrations.
  </Card>
</CardGroup>

## Access scope

The **Platform / GIA** pages describe internal configuration and operational procedures. **API Reference / GIA API** documents endpoints consumed by external systems.

<Warning>
  Credentials, tokens, and other secrets used by GIA are confidential. Never include them in prompts, examples, or public logs.
</Warning>

## Documented resources

| Category          | Resources                                                               |
| ----------------- | ----------------------------------------------------------------------- |
| Functions         | `SAVE_INFO`, `HTTP_CALL`, `FUNCTION_AGG` e `CHANGE_STAGE`               |
| Scheduled actions | `HTTP_CALL`, `FORCE_NEW_MESSAGE_TO_AI`, and `FORCE_NEW_MESSAGE_TO_USER` |
| Campaigns         | Direct messages, AI-generated messages, and WhatsApp templates          |

This documentation is incremental. New resources and operational details will be added as they are validated.
