Contacto
Contacto
Mi cuenta
03.09.24

How to save the support team time with templates in GLPI

Twig is a templating Engine for PHP that helps to keep the code clean and organized by separating what is coded from what people see on the website. This makes the task of managing and updating templates a bit easier.

GLPI has brought since the version 10, the ability to use Twig variables on followups, tasks and solution templates. But you may ask, what is it useful for?

Well. Let's take a template you use on a daily basis and have to always change some fields. Start with a welcome message in a ticket, as an example:

Dear {Client’s Name},

Thank you for reaching out to our support team. We wanted to let you know that your support ticket has been successfully inserted into our support area. Our team is already on it and will start the process of analysis within {specified time frame}.

If you need to add any additional information or have further questions, you can simply reply to this email or visit our website at upport.yourdomain.com to update your ticket.

We appreciate your patience and will get back to you as soon as possible.

Best regards,

I know. Sometimes we forget to manually change the fields by the correct ones, or we just let general information there as don't make any mistakes.

The twig variables are exactly for this.

Every ticket has some pre-filled fields. Be it by the user, by the technicians, by automatic business rules. The only thing we want here is to be accurate, quick and informative.

Let's change this same message to add

  1. The first name of the requester
  2. The Time to Own the ticket received at this moment
  3. The group that is responsible for the ticket at the moment

Dear {% for user in ticket.requesters.users %} {{ user.firstname }} ,
{% endfor %}

Thank you for reaching out to our support team. We wanted to let you know that your support ticket has been successfully inserted into our support area. Our team is already on it and will start the process of analysis within {{ ticket.tto | date("d/m/y H:i") }}.

The group {{ group.name }} is responsible for this ticket at this level.

If you need to add any additional information or have further questions, you can simply reply to this email or visit our website at upport.yourdomain.com to update your ticket.

We appreciate your patience and will get back to you as soon as possible.

Best regards,

As you can see, there are some variables in this template. It means that every time a technician selects this Followup template, GLPI will insert:

  • Every first name of users at the requesters field
    • {% for user in ticket.requesters.users %} {{ user.firstname }} , {% endfor %}
  • The Time to Own date and time added manually or automatically via business rules
    • {{ ticket.tto | date("d/m/y H:i") }}
  • The responsible group of the ticket
    • {{ group.name }}

The best part is that, once these fields change during the lifecycle of the ticket, the new followups, tasks and solutions will get updated information to be inserted during the time.

Here are some other ideas of templates you may use

  • Fill with a KB article
    • If you have a knowledge base article that may be useful for the user, you may:
      • relate this article with the ticket using the knowledge base tab in a ticket
      • create the followup or solution template with the following variable {{ knowbaseitem.answer | raw }}
      • select the template you've previously created. GLPI will insert the content of the article to the solution or followup template.
      • here is a template example


{% for user in ticket.requesters.users %} {{ user.fullname }}
{% endfor %}
There is a possible article on our knowledge base that may be of help:
{% for knowbaseitem in ticket.knowbaseitems %}

{{ knowbaseitem.link | raw }}

{{ knowbaseitem.answer | raw }}

{% endfor %}

  • Use it for pending reasons
    • relate this article with the ticket using the knowledge base tab in a ticket
    • create the followup template with the important variables
    • create the pending reasons
    • connect the template you created to the pending reason you've previously created
    • here is a template example

Hi {% for user in ticket.requesters.users %} {{ user.firstname }} ,
{% endfor %}

Hope you're doing well! We're just dropping a quick note to remind you that your response is needed to proceed with ticket # {{ ticket.id }} regarding {{ ticket.name }}.

Your input is crucial for us to move forward. If you could spare a few moments to provide the necessary information or feedback, we'd greatly appreciate it.

If the issue has already been resolved, or you have other questions, please let us know.

Thanks for your attention to this matter!

Best,

{% for user in ticket.assignees.users %} {{ user.firstname }}

{% endfor %}

The Twig variables may be found at the followup, task and solution templates. Explore it and make me know what are the projects you have created with them. We will have news about those same twigs in next versions.

YouTube video:

Stay connected so you don’t miss any of our news!

También te puede gustar estos artículos

01.07.26
Congratulations! We are pleased to announce our new Silver GLPI Network partner in Romania: Quartz Matrix. Quartz Matrix is a Romanian technology company focused on digital transformation for three key sectors: education, industry, and public administration. With deep expertise in IT&C, the company develops and integrates solutions spanning cloud computing, IoT, artificial intelligence, cybersecurity, and […]
01.07.26
On 23 and 24 June 2026, the GLPI team attended the CoTer Numérique Congress in Reims — one of the key annual gatherings for IT decision-makers in French local government. A stand at the centre of the conversation Set up at stand n°3 (Espace Parvis), the team spent two days meeting a broad cross-section of […]
30.06.26
GLPI was at VivaTech 2026, celebrating its 10th edition — the flagship global tech event in Paris — and this one delivered on every front. Set up at the We Are Normandy pavilion (Stand 2B59 – Hall 7.2), the Teclib' team spent three days building connections with institutional figures, large enterprise clients, local government representatives, […]
29.06.26
We are notifying the GLPI community of several security vulnerabilities identified in a number of community plugins. Updates are available and should be deployed promptly on all affected instances. Affected Plugins and Vulnerabilities The vulnerabilities identified cover a range of severity levels, including a critical Remote Code Execution (RCE) flaw in GenericObject (CVSS 8.9), multiple […]
25.06.26
On Friday, June 12, the whole Teclib' team came together in Caen, home to our technical crew, for the Teclib' Day: a packed day of half-year reviews, upcoming projects, and genuine team bonding. Morning: Half-Year Reviews at MoHo The day started at MoHo, a creative coworking space in the heart of Caen, over coffee and […]
24.06.26
Two new GLPI versions are available 11.0.8 and 10.0.26 releases fix several critical security issues that have been recently discovered. Update is stronglyrecommended! Many bug fixes have also been made, read the changelogs for more details: You can download the new archives on GitHub: You will find below the list of security issues fixed in theses bugfixes versions: […]
23.06.26
You can download it on the GLPI Agent github project: https://github.com/glpi-project/glpi-agent/releases/tag/1.18 This new version is essentially a security fix release for the following security issues: The release also includes few bug fixes: You can check changes details in the official online Changelog available here: https://github.com/glpi-project/glpi-agent/blob/1.18/Changes About packaging, here is what you should retain: This time, we strongly […]
17.06.26
We are pleased to announce our new Silver GLPI Network partner in Poland: OpenIT. OpenIT is a Polish IT services company dedicated to helping businesses and institutions run their technology reliably, securely and without unnecessary complexity. From helpdesk and server administration to cybersecurity, Microsoft 365, virtualization and cloud solutions, OpenIT provides end-to-end IT support tailored […]
10.06.26
Congratulations! We are pleased to announce our new Silver GLPI Network partner in Switzerland: Forfirm Consulting Sagl. Founded in 2014, Forfirm is a consulting firm specializing in ICT & Digital, Finance, and Governance, Risk & Compliance (GRC). With offices in Zurich and Lugano, the company operates at the heart of the Swiss business ecosystem, supporting […]
03.06.26
Congratulations! We are pleased to announce our new Silver GLPI Network partner in Japan: HOGO Japan . HOGO Japan provides IT support, system management, and digital operations services to businesses operating in Japan — including financial institutions, industrial companies, corporate offices, and customer-facing service businesses. With a strong focus on reliability and responsiveness, they help […]
02.06.26
We are pleased to announce the availability of the beta version of the Nutanix plugin for GLPI 10 and GLPI 11. This beta release is open to the entire GLPI community. Its goal is to let users test the plugin across a variety of environments and use cases — and your feedback is what will […]
25.05.26
Nos complace anunciar nuestro nuevo socio Silver GLPI Network en Ecuador: Bytebloom EC. Bytebloom EC es una empresa ecuatoriana especializada en automatización, gestión de servicios de TI, monitorización y observabilidad. Con sede en Ecuador, apoyan tanto a organizaciones públicas como privadas en la optimización y mejora de sus operaciones tecnológicas. Su experiencia en ITSM y gestión de infraestructura de TI […]
22.05.26
¡Felicitaciones! Nos complace anunciar a nuestro nuevo socio Silver GLPI Network en Brasil: Pronet Nos complace anunciar a nuestro nuevo socio Silver GLPI Network en Perú: Comutel Perú. Comutel Perú es un proveedor de infraestructura y soluciones de TI enfocado en el mercado empresarial peruano. La empresa se especializa en la distribución de tecnologías estratégicas diseñadas […]
27.05.26
Las organizaciones de TI modernas dependen de una red cada vez más amplia de proveedores externos: plataformas en la nube, proveedores de SaaS, proveedores de hardware y socios de servicios gestionados. La gestión eficaz de estas relaciones se ha convertido en una disciplina fundamental dentro de la gestión de servicios de TI. Este artículo analiza la gestión de proveedores a través del marco ITIL 4® y muestra cómo GLPI convierte esta práctica en una solución concreta e integrada […]
20.05.26
En octubre de 2025, lanzamos una nueva herramienta para ayudarte a comprender el impacto ambiental de la operación de servicios digitales: computadoras, servidores, monitores, dispositivos móviles y dispositivos de red. El plugin Carbon, disponible para todos a través del GLPI Marketplace y el GitHub de nuestro proyecto, describirá la huella de carbono de los activos digitales de tu empresa. Todos tienen un [...]
18.05.26
Durante años, una comunidad global de integradores ha sido la columna vertebral del éxito de GLPI. Muchos trabajan de forma independiente, brindando servicios de alta calidad a sus clientes. Pero a medida que el ecosistema crece, también lo hace la necesidad de reconocimiento profesional y soporte directo del editor. ¿Cuál es el estado registrado? El estado registrado es el punto de entrada oficial al Teclib' […]
13.05.26
Nos complace anunciar que el plugin Carbon para GLPI 1.2.0 ya está disponible. Desarrollado como parte del Proyecto IEN (Impact Environnemental du Numérique) en colaboración con IRT SystemX, Teclib' y otros socios, este plugin ayuda a los equipos de TI a evaluar la huella ambiental de sus activos directamente desde GLPI. Novedades Esta versión trae mejoras significativas […]
06.05.26
Tu CEO pregunta por qué los incidentes en el departamento de finanzas tardan el doble en cerrarse. Tú conoces la respuesta. Has vivido en esos tickets durante semanas. Pero saber no es lo mismo que demostrar, y sin un panel de control adecuado, el trabajo permanece invisible. Esa es la brecha que el plugin Advanced GLPI Dashboards […]
29.04.26
¡Dos nuevas versiones de GLPI están disponibles! Hoy, lanzamos 11.0.7 y 10.0.25. Estos lanzamientos contienen correcciones de seguridad y te recomendamos que actualices. También se han realizado muchas correcciones de errores. Lee los registros de cambios para obtener más detalles: Puedes descargar los nuevos archivos en GitHub: A continuación, encontrarás la lista de problemas de seguridad corregidos en […]
28.04.26
¡Felicitaciones! Nos complace anunciar a nuestro nuevo socio Silver GLPI Network en Brasil: Pronet. Con 35 años de experiencia en la industria de TI, Pronet ha construido una sólida reputación como especialista de confianza en soporte técnico y gestión de servicios de TI (ITSM). Basándose en un enfoque estructurado de procesos, métricas y servicio al cliente, Pronet ayuda [...]
1 2 3 19
chevron-right
LinkedIn Facebook Pinterest YouTube rss Twitter instagram facebook en blanco rss-en-blanco linkedin en blanco Pinterest YouTube Twitter instagram