Saltar al contenido principal

Hook de Nuevo Cliente

Workflow activado por hook que se ejecuta después de que se crea un cliente

hook after-create clients notifications event-driven

Descargar ZIP

Qué está incluido

CampoValor
NombreHook de Nuevo Cliente
TipoWorkflow
Triggerhook
Pasos1

JSON Completo

Clic para expandir
{
"description": "Hook-triggered workflow that fires after a client is created",
"tags": [
"hook",
"after-create",
"clients",
"notifications",
"event-driven"
],
"document": {
"name": "New Client Hook",
"enabled": true,
"log_level": "info",
"trigger": {
"type": "hook",
"hook": {
"model": "clients",
"op": "afterCreate",
"filter": {
"expr": "true",
"onFailure": "throw",
"resultType": "any"
}
}
},
"steps": [
{
"condition": {
"expr": "true",
"onFailure": "throw",
"resultType": "any"
},
"action": {
"actionType": "actions/notifications/company/notification/create",
"actions/notifications/company/notification/create": {
"title": {
"expr": "'New client: ' + doc.name",
"onFailure": "throw",
"resultType": "any"
},
"body": {
"expr": "'A new client was added'",
"onFailure": "throw",
"resultType": "any"
}
}
}
}
]
}
}

Como Importar

  1. Descargue el archivo ZIP usando el botón de arriba
  2. Navegue a Configuración de la Empresa → Transferencia de Datos en su panel de AutoTalk
  3. Haga clic en Importar y seleccione el archivo ZIP descargado
  4. Revise el resumen de importación y confirme
  5. Todos los IDs de documentos se remapean automáticamente — no se necesita edición manual de IDs