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

# Disparos

> Cómo se inicia una ejecución: webhook, cron, correo de Gmail o evento de un tablero.

El tipo de trigger se elige al [crear la automatización](/automatizaciones/crear-automatizacion). Solo acepta disparos si está [publicada](/automatizaciones/publicar-automatizacion) y [activada](/automatizaciones/activar-automatizacion).

| Tipo | Cómo se dispara |
| - | - |
| `webhook` | `POST` a la URL pública con el `secret`. No usa API key. |
| `cron` | Según la expresión y la zona horaria, o de inmediato con `trigger-now`. |
| `gmail_email_received` | Cuando llega un correo a una cuenta Gmail conectada. |
| `database_record_created` | Al crear un registro en el tablero de `databaseId`. |
| `database_record_updated` | Al cambiar los campos o el alcance de un registro en ese tablero. |

Los triggers de registros no tienen endpoint propio. Ocurren al [crear](/tableros/crear-registro) o [actualizar](/tableros/actualizar-registro) el registro. El registro queda en `{{trigger.body.record}}`.

## Operaciones y guías

<CardGroup cols={2}>
  <Card title="Disparar webhook" icon="webhook" href="/automatizaciones/disparar-webhook">
    Encola una ejecución con un POST público.
  </Card>

  <Card title="Ejecutar ahora" icon="play" href="/automatizaciones/ejecutar-ahora">
    Prueba un cron sin esperar el horario.
  </Card>

  <Card title="Trigger de correo Gmail" icon="https://mintcdn.com/insurance-boosters/7DiQhHn0_kNf1cXP/assets/gmail.png?fit=max&auto=format&n=7DiQhHn0_kNf1cXP&q=85&s=a31251a268fc189ef7e0ee16aba2c8bc" href="/automatizaciones/trigger-gmail" width="96" height="96" data-path="assets/gmail.png">
    Configura `gmail_email_received` y lee el payload del mensaje.
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.