Debug de Plantilla: mensaje_prueba
Datos de la Plantilla:
Array
(
[id] => 9
[company_id] => 1
[template_id] => mensaje_prueba
[name] => mensaje_prueba
[status] => APPROVED
[category] => MARKETING
[language] => es
[body_text] => Este es el espacio del texto
[variables] => Array
(
)
[variable_count] => 0
[created_at] => 2025-10-30 17:31:02
[synced_at] => 2026-02-25 23:01:56
[components] => [{"text": "Este es el encabezado", "type": "HEADER", "format": "TEXT"}, {"text": "Este es el espacio del texto", "type": "BODY"}, {"text": "Este es el pie de pagina", "type": "FOOTER"}]
)
Variables encontradas en body_text:
Body text: Este es el espacio del texto
Variables encontradas: Array
(
)
Todas las plantillas en BD:
Array
(
[0] => Array
(
[template_id] => bienvenida_cuenta_activa
[name] => bienvenida_cuenta_activa
[body_text] => Hola {{1}}, ¡bienvenido(a) a Artech Solutions!
Te confirmamos que tu cuenta asociada al correo {{2}} está activa y lista para usar.
Si no reconoces este registro, contáctanos de inmediato.
[variable_count] => 2
[status] => APPROVED
)
[1] => Array
(
[template_id] => bienvenida_cuenta_activa
[name] => bienvenida_cuenta_activa
[body_text] => Hola {{1}}, ¡bienvenido(a) a Artech Solutions!
Te confirmamos que tu cuenta asociada al correo {{2}} está activa y lista para usar.
Si no reconoces este registro, contáctanos de inmediato.
[variable_count] => 2
[status] => APPROVED
)
[2] => Array
(
[template_id] => facturacion_electronica_demo_v1
[name] => facturacion_electronica_demo_v1
[body_text] => Hola {{1}}👋
Impulsa tu negocio con facturación electrónica 100% web (Ecuador):
✅ SRI: Facturación electrónica
🧾 POS integrado
📦 Inventario
👥 Multiempresa/usuarios
📚 Código fuente + docs
Licencia desde USD 200 + IVA o plan por suscripción con soporte.
¿Te muestro una demo en vivo? 🎥
Para dejar de recibir mensajes, responde STOP.
[variable_count] => 1
[status] => APPROVED
)
[3] => Array
(
[template_id] => facturacion_electronica_demo_v1
[name] => facturacion_electronica_demo_v1
[body_text] => Hola {{1}}👋
Impulsa tu negocio con facturación electrónica 100% web (Ecuador):
✅ SRI: Facturación electrónica
🧾 POS integrado
📦 Inventario
👥 Multiempresa/usuarios
📚 Código fuente + docs
Licencia desde USD 200 + IVA o plan por suscripción con soporte.
¿Te muestro una demo en vivo? 🎥
Para dejar de recibir mensajes, responde STOP.
[variable_count] => 1
[status] => APPROVED
)
[4] => Array
(
[template_id] => hello_world
[name] => hello_world
[body_text] => Welcome and congratulations!! This message demonstrates your ability to send a WhatsApp message notification from the Cloud API, hosted by Meta. Thank you for taking the time to test with us.
[variable_count] => 0
[status] => APPROVED
)
[5] => Array
(
[template_id] => hello_world
[name] => hello_world
[body_text] => Welcome and congratulations!! This message demonstrates your ability to send a WhatsApp message notification from the Cloud API, hosted by Meta. Thank you for taking the time to test with us.
[variable_count] => 0
[status] => APPROVED
)
[6] => Array
(
[template_id] => mensaje_prueba
[name] => mensaje_prueba
[body_text] => Este es el espacio del texto
[variable_count] => 0
[status] => APPROVED
)
[7] => Array
(
[template_id] => mensaje_prueba
[name] => mensaje_prueba
[body_text] => Este es el espacio del texto
[variable_count] => 0
[status] => APPROVED
)
)