ChatGPT · GPT ActionsWebhooks
Cambiar estado de entrega de webhook
Mueve entrega de webhook entre entregada, reintentando y fallida.
por Prompt Studio
openapiwebhook-deliveries
Licencia: MITVer original
Contenido
Dónde va: GPT → Configurar → Acciones → Esquema
{
"openapi": "3.1.0",
"info": {
"title": "Cambiar estado de entrega de webhook",
"version": "1.0.0",
"description": "Acción de GPT para entregas de webhook. Cambia el servidor por la URL de tu API."
},
"servers": [
{
"url": "https://api.tu-dominio.com/v1"
}
],
"paths": {
"/webhook-deliveries/{id}/status": {
"patch": {
"operationId": "updateWebhookDeliveryStatus",
"summary": "Cambia el estado de entrega de webhook",
"x-openai-isConsequential": true,
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"type": "string",
"enum": [
"entregada",
"reintentando",
"fallida"
]
},
"note": {
"type": "string",
"description": "Motivo del cambio"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Actualizado",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/WebhookDelivery"
}
}
}
},
"404": {
"description": "No encontrado"
}
}
}
}
},
"components": {
"schemas": {
"WebhookDelivery": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"subscriptionId": {
"type": "string"
},
"event": {
"type": "string"
},
"statusCode": {
"type": "integer"
},
"status": {
"type": "string",
"enum": [
"entregada",
"reintentando",
"fallida"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
}
}
}
},
"securitySchemes": {
"bearerAuth": {
"type": "http",
"scheme": "bearer"
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
Más en GPT Actions
Clima por ciudad
Ejemplo mínimo de Action con API key en el encabezado.
Crear lead en el CRM
Registra contactos desde la conversación con autenticación OAuth.
Agendar reunión
Crea eventos con invitados y zona horaria.
Enviar a webhook
Publica el resultado del GPT en cualquier URL (Zapier, Make, n8n).
Buscar contactos
Busca contactos por texto y estado desde tu GPT.
Consultar contacto
Trae un registro de contactos por su ID.