> For the complete documentation index, see [llms.txt](https://docs.gaiodataos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gaiodataos.com/gaio-dataos-spanish/herramientas/tareas/etl/csv-web.md).

# CSV Web

<figure><img src="/files/wjPYIdFTySf9m6LXuC3S" alt=""><figcaption></figcaption></figure>

La tarea **CSV Web** en Gaio DataOS permite importar automáticamente un archivo CSV alojado en una URL pública directamente en tu entorno de proyecto. Esta funcionalidad es ideal para integrar datos externos, como hojas de cálculo públicas, exportaciones de sistemas de terceros o APIs que ofrecen descargas en formato CSV.

***

### Cómo usar

#### 1. Abrir la tarea

Navega a: **Tasks > ETL > CSV Web**

***

#### 2. Configurar la tarea

* **Task label:** (opcional) Nombre para identificar este paso en el flujo.
* **Result table:** Nombre de la tabla que se creará o se poblará con los datos importados.
* **File URL:** URL pública del archivo CSV (ej.: `https://example.com/data.csv`)
* **Params applicable:** Si la URL contiene elementos dinámicos, puedes utilizar parámetros del entorno.\
  Ejemplo:\
  `https://pncp.gov.br/api/pncp/v1/orgaos/{{params}}/csv`
* **Fields terminated by:** Define el delimitador utilizado en el archivo CSV (Coma, Punto y coma, Tabulación, etc.).

***

#### 3. Opciones avanzadas

**Auto detect schema (column names)**

Cuando está habilitado, el sistema detectará automáticamente los nombres y tipos de columnas basándose en la primera fila del CSV.

**Insert mode: append records to table**

* **Habilitado:** Los nuevos datos se agregarán a los registros existentes en la tabla.
* **Deshabilitado:** La tabla será sobrescrita con los nuevos datos.

***

#### 4. Guardar y utilizar

Haz clic en **Save** para agregar la tarea al flujo.

Al ejecutarse, Gaio descargará el CSV desde la URL e importará los datos según la configuración definida.

***

### Casos de uso

* Conectar con conjuntos de datos públicos de gobierno, finanzas o clima.
* Integrar reportes actualizados regularmente alojados vía HTTP.
* Importar datos mantenidos en sistemas externos que exponen archivos CSV.
* Automatizar la ingestión de datos en tiempo real o programados.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.gaiodataos.com/gaio-dataos-spanish/herramientas/tareas/etl/csv-web.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.
