*Workflows › Referencia › Triggers*

# Ejecución manual sobre un registro

> Se inicia para un registro de un tipo que eliges. La entrada de la ejecución es el id de ese registro.

Más en [Triggers](https://docs.filmo.io/es/workflows/triggers).

## Registros desde los que puede iniciarse

Elige un tipo de registro. La ejecución lo lee con la variable indicada y arranca desde el id del registro.

| Registro | Variable | Campos |
| --- | --- | --- |
| Pedido | `trigger_order` | `id`, `orderNumber`, `status`, `contactId`, `contactName`, `contactEmail`, `projectName`, `projectAlias`, `startDate`, `endDate` |
| Proyecto | `trigger_project` | `id`, `name`, `projectNumber`, `contactId`, `totalOrders`, `totalIncidents` |
| Subalquiler | `trigger_subrent` | `id`, `itemId`, `itemName`, `type`, `status`, `quantity`, `providerId`, `providerName`, `providerPrice`, `startDate`, `endDate`, `purchaseOrderNumber`, `orderNumber` |
| Presupuesto | `trigger_quote` | `id`, `versionId`, `quoteNumber`, `status`, `operativeStatus`, `total`, `contactId`, `contactName`, `contactEmail`, `contactNif`, `orderNumber`, `projectName` |
| Factura | `trigger_invoice` | `id`, `invoiceNumber`, `status`, `total`, `contactId`, `contactName`, `contactEmail`, `orderNumber`, `projectName`, `invoiceDate`, `dueDate` |
| Orden de compra | `trigger_purchaseOrder` | `id`, `poNumber`, `status`, `poDate`, `supplierId`, `currency`, `subTotal` |
| Factura de proveedor | `trigger_supplierInvoice` | `id`, `invoiceNumber`, `supplierInvoiceNumber`, `status`, `invoiceDate` |
| Parte de reparación | `trigger_repairTicket` | `id`, `number`, `status`, `date`, `orderId`, `orderNumber`, `contactId`, `contactName`, `total` |
| Contacto | `trigger_contact` | `id`, `name`, `commercialName`, `nif`, `contactType`, `status`, `email`, `phone`, `contactNumber` |
| Artículo | `trigger_item` | `id`, `sku`, `name`, `description`, `itemType`, `collectionName` |
| Artículo serializado | `trigger_serializedItem` | `id`, `code`, `serialNumber`, `status`, `inventoryType`, `itemId`, `itemName`, `itemSku`, `spaceId`, `purchaseDate`, `warrantyExpiration` |
| Kit | `trigger_kit` | `id`, `name`, `description` |
| Persona del equipo | `trigger_staff` | `id`, `fullName`, `staffType`, `collectionName`, `email`, `phone`, `hasDrivingLicense`, `contractType`, `contractHoursPerWeek`, `contractStartDate` |
| Vehículo | `trigger_vehicle` | `id`, `name`, `status`, `registrationNumber`, `collectionName`, `inspectionDate`, `seats`, `payloadKg`, `costPerKm`, `fixedCost` |
| Oportunidad | `trigger_opportunity` | `id`, `identifier`, `name`, `status`, `pipelineId`, `stageId`, `amount`, `currency`, `contactId`, `companyId`, `ownerStaffId`, `expectedCloseDate` |
| Servicio | `trigger_service` | `id`, `nameExternal`, `nameInternal`, `serviceType`, `collectionName`, `defaultQty`, `showInPlanner`, `includeInPrice`, `breakMinutes`, `hourlyRate`, `fixedPrice`, `perKmRate` |
| Servicio interno | `trigger_internalService` | `id`, `title`, `description`, `serviceType`, `status`, `startDate`, `endDate`, `serviceId`, `serviceName`, `projectId`, `projectName`, `assignedStaffCount`, `assignedVehiclesCount` |
| Incidencia | `trigger_incident` | `id`, `identifier`, `title`, `description`, `type`, `scope`, `status`, `priority`, `severity`, `blocksAvailability`, `orderId`, `orderNumber`, `projectId`, `dueDate`, `estimatedCost` |
| Cuenta de tesorería | `trigger_treasuryAccount` | `id`, `name`, `type`, `status`, `currency`, `iban`, `provider`, `initialBalance` |
| Proforma | `trigger_proforma` | `id`, `proformaNumber`, `status`, `operativeStatus`, `total`, `contactId`, `contactName`, `contactEmail`, `orderNumber`, `projectName`, `issueDate`, `validUntil` |
| Nota de crédito | `trigger_creditNote` | `id`, `creditNoteNumber`, `status`, `total`, `contactId`, `contactName`, `contactEmail`, `originalInvoiceId`, `originalInvoiceNumber`, `issueDate` |
| Nota de crédito simplificada | `trigger_simpleCreditNote` | `id`, `simpleCreditNoteNumber`, `status`, `total`, `contactId`, `contactName`, `contactEmail`, `originalReceiptId`, `originalReceiptNumber`, `issueDate` |
| Ticket de venta | `trigger_salesReceipt` | `id`, `receiptNumber`, `status`, `total`, `contactId`, `contactName`, `contactEmail`, `orderNumber`, `receiptDate`, `dueDate` |
| Tarea | `trigger_task` | `id`, `title`, `description`, `type`, `isCompleted`, `startDate`, `endDate` |

TRIGGER `entity`

## Configuración

| Nombre | Tipo | Obligatorio | Descripción |
| --- | --- | --- | --- |
| `entity` | enum<string> | Sí | El tipo de registro para el que se inicia la ejecución. |

## Valores para los pasos

| Nombre | Tipo | Descripción |
| --- | --- | --- |
| `system_today` | string | Hoy |
| `trigger_order` | object | Pedido |
| `trigger_order.id` | string | Id |
| `trigger_order.orderNumber` | string | Número de pedido |
| `trigger_order.status` | enum<string> | Estado `draft`, `reserved`, `prepared_partially`, `prepared`, `picked_up_partially`, `picked_up`, `returned_partially`, `returned`, `checked_in_partially`, `checked_in`, `archived`, `cancelled` |
| `trigger_order.contactId` | string | Id del contacto |
| `trigger_order.contactName` | string | Nombre del contacto |
| `trigger_order.contactEmail` | string | Correo del contacto |
| `trigger_order.projectName` | string | Nombre del proyecto |
| `trigger_order.projectAlias` | string | Alias del proyecto |
| `trigger_order.startDate` | string | Fecha de inicio |
| `trigger_order.endDate` | string | Fecha de fin |
| `trigger_createdAt` | string | Fecha de ejecución |
| `trigger_createdBy` | string | Dueño del workflow |

---

URL canónica: https://docs.filmo.io/es/workflows/reference/triggers/entity  
Última actualización: 2026-10-25