Back to Catalog

Generate GLPI support performance reports with SLA tracking & email delivery

Luis HernandezLuis Hernandez
584 views
2/3/2026
Official Page

Overview

This comprehensive n8n workflow automates the generation and distribution of detailed monthly technical support reports from GLPI (IT Service Management platform). The workflow intelligently calculates SLA compliance, analyzes technician performance, and delivers professionally formatted HTML reports via email.

✨ Key Features

Intelligent SLA Calculation

  • Business Hours Tracking: Automatically calculates resolution time considering only working hours (excludes weekends and lunch breaks)
  • Configurable Schedule: Customizable work hours (default: 8 AM - 12 PM, 1 PM - 6 PM)
  • Dynamic SLA Monitoring: Real-time compliance tracking with configurable thresholds (default: 24 hours)
  • Visual Indicators: Color-coded alerts for critical SLA breaches and high-volume warnings

Comprehensive Reporting

  • General Summary: Total cases, open, in-progress, resolved, and closed tickets
  • Performance Metrics: Total and average resolution hours in both decimal and formatted (hours/minutes) display
  • Technician Breakdown: Individual performance analysis per technician including case distribution and SLA compliance
  • Smart Alerts: Automatic warnings for high case volumes (>100 in-progress) and critical SLA levels (<50%)

Professional Email Delivery

  • Responsive HTML Design: Mobile-optimized email templates with elegant styling
  • Dynamic Content: Conditional formatting based on performance metrics
  • Automatic Scheduling: Monthly execution on the 6th day to ensure accurate SLA measurement

πŸ’Ό Business Benefits

Time Savings

  • Eliminates Manual Work: Saves 2-4 hours per month previously spent compiling reports manually
  • Automated Data Collection: No more exporting CSVs or copying data between systems
  • One-Click Setup: Configure once and receive reports automatically every month

Improved Decision Making

  • Real-Time Insights: Identify bottlenecks and performance issues immediately
  • Technician Accountability: Clear visibility into individual and team performance
  • SLA Compliance Tracking: Proactively manage service level agreements before they become critical

Enhanced Communication

  • Stakeholder Ready: Professional reports suitable for management presentations
  • Consistent Format: Standardized metrics ensure month-over-month comparability
  • Instant Distribution: Automatic email delivery to relevant stakeholders

πŸ”§ Technical Specifications

Requirements

  • n8n instance (self-hosted or cloud)
  • GLPI server with API access enabled
  • Gmail account (or any SMTP-compatible email service)
  • GLPI API credentials (App-Token and User credentials)

Configuration Points

  • Variables Node: Server URL, API tokens, entity name, work hours, SLA limits
  • Schedule Trigger: Monthly execution timing (default: 6th of each month)
  • Email Recipient: Target email address for report delivery
  • Date Range Logic: Automatic previous month calculation

Data Processing

  • Retrieves up to 999 tickets per execution (configurable)
  • Filters by entity and date range
  • Excludes weekends and non-business hours from calculations
  • Groups data by technician for detailed analysis

πŸ“‹ Setup Instructions

Prerequisites

  • GLPI Configuration: Enable API and configure the Tickets panel with required fields (ID, -Title, Status, Opening Date, Closing Date, Resolution Date, Priority, Requester, Assigned To)
  • API Credentials: Create Basic Auth credentials in n8n for GLPI API access
  • Email Authentication: Set up Gmail OAuth2 or SMTP credentials in n8n

Implementation Steps

  • Import the workflow JSON into your n8n instance
  • Configure the Variables node with your GLPI server details and business hours Set up GLPI API credentials in the HTTP Request nodes
  • Configure email credentials in the Gmail node Update the recipient email address Test the workflow manually before enabling the schedule
  • Activate the workflow for automatic monthly execution

🎯 Use Cases

  • IT Support Teams: Track helpdesk performance and SLA compliance
  • Service Managers: Monitor team productivity and identify training needs
  • Executive Reporting: Provide high-level summaries to stakeholders
  • Resource Planning: Identify workload distribution and capacity issues
  • Compliance Auditing: Maintain historical records of SLA performance

πŸ“ˆ ROI Impact

  • Time Savings: 24-48 hours annually in manual reporting eliminated
  • Error Reduction: Eliminates human calculation errors in SLA tracking
  • Faster Response: Early alerts enable proactive issue resolution
  • Better Visibility: Data-driven insights improve team management

Image1.png image2.png

GLPI Support Performance Reports with SLA Tracking & Email Delivery

This n8n workflow automates the generation and delivery of GLPI support performance reports, including SLA tracking, directly to your email inbox. It's designed to simplify the process of monitoring helpdesk performance and ensuring service level agreements are met.

What it does

This workflow performs the following key steps:

  1. Schedules Report Generation: Triggers the workflow at a predefined interval (e.g., daily, weekly, monthly) to ensure regular report delivery.
  2. Fetches GLPI Data: Makes an HTTP request to the GLPI API to retrieve relevant support ticket data.
  3. Processes Data: Uses a "No Operation" node, possibly as a placeholder or for debugging, followed by an "Edit Fields (Set)" node to prepare the data for reporting.
  4. Generates HTML Report: Transforms the processed data into a structured HTML table, making it readable and suitable for email.
  5. Splits Data (if necessary): The "Split Out" node suggests that the data might be processed in batches or individual items, potentially for more granular reporting or to handle large datasets.
  6. Sends Email Report: Delivers the generated HTML report via Gmail to a specified recipient(s).

Prerequisites/Requirements

To use this workflow, you will need:

  • n8n Instance: A running n8n instance.
  • GLPI Instance: Access to a GLPI instance with an API that can be queried for support ticket data.
  • GLPI API Credentials: API key or authentication details for your GLPI instance to fetch data.
  • Gmail Account: A configured Gmail credential in n8n to send the reports.

Setup/Usage

  1. Import the Workflow: Download the provided JSON and import it into your n8n instance.
  2. Configure GLPI API:
    • Locate the "HTTP Request" node.
    • Update the URL field to point to your GLPI API endpoint for fetching support ticket data.
    • Configure the Authentication method (e.g., API Key, OAuth2) with your GLPI credentials.
  3. Adjust Data Processing (Optional):
    • Review the "Edit Fields (Set)" node. You might need to adjust the fields being set or transformed based on the specific data structure returned by your GLPI API and the desired report content.
    • If the "No Operation, do nothing" node is intended for a specific purpose, you may need to replace it with a relevant data processing node.
  4. Configure HTML Report:
    • Examine the "HTML" node. This node is responsible for generating the HTML table. You might need to adjust the HTML template within this node to match the specific fields and formatting you want in your report.
  5. Configure Gmail:
    • Locate the "Gmail" node.
    • Select your existing Gmail credential or create a new one.
    • Specify the To email address(es) where the reports should be sent.
    • Set the Subject for the email (e.g., "GLPI Support Performance Report - {{ $now.toFormat('yyyy-MM-dd') }}").
    • Ensure the Body is set to use the HTML output from the previous "HTML" node.
  6. Set Schedule:
    • Open the "Schedule Trigger" node.
    • Configure the Interval (e.g., daily, weekly, monthly) and Time according to your reporting needs.
  7. Activate the Workflow: Save and activate the workflow. It will now run automatically based on your defined schedule.

Related Templates

Auto-create TikTok videos with VEED.io AI avatars, ElevenLabs & GPT-4

πŸ’₯ Viral TikTok Video Machine: Auto-Create Videos with Your AI Avatar --- 🎯 Who is this for? This workflow is for content creators, marketers, and agencies who want to use Veed.io’s AI avatar technology to produce short, engaging TikTok videos automatically. It’s ideal for creators who want to appear on camera without recording themselves, and for teams managing multiple brands who need to generate videos at scale. --- βš™οΈ What problem this workflow solves Manually creating videos for TikTok can take hours β€” finding trends, writing scripts, recording, and editing. By combining Veed.io, ElevenLabs, and GPT-4, this workflow transforms a simple Telegram input into a ready-to-post TikTok video featuring your AI avatar powered by Veed.io β€” speaking naturally with your cloned voice. --- πŸš€ What this workflow does This automation links Veed.io’s video-generation API with multiple AI tools: Analyzes TikTok trends via Perplexity AI Writes a 10-second viral script using GPT-4 Generates your voiceover via ElevenLabs Uses Veed.io (Fabric 1.0 via FAL.ai) to animate your avatar and sync the lips to the voice Creates an engaging caption + hashtags for TikTok virality Publishes the video automatically via Blotato TikTok API Logs all results to Google Sheets for tracking --- 🧩 Setup Telegram Bot Create your bot via @BotFather Configure it as the trigger for sending your photo and theme Connect Veed.io Create an account on Veed.io Get your FAL.ai API key (Veed Fabric 1.0 model) Use HTTPS image/audio URLs compatible with Veed Fabric Other APIs Add Perplexity, ElevenLabs, and Blotato TikTok keys Connect your Google Sheet for logging results --- πŸ› οΈ How to customize this workflow Change your Avatar: Upload a new image through Telegram, and Veed.io will generate a new talking version automatically. Modify the Script Style: Adjust the GPT prompt for tone (educational, funny, storytelling). Adjust Voice Tone: Tweak ElevenLabs stability and similarity settings. Expand Platforms: Add Instagram, YouTube Shorts, or X (Twitter) posting nodes. Track Performance: Customize your Google Sheet to measure your most successful Veed.io-based videos. --- 🧠 Expected Outcome In just a few seconds after sending your photo and theme, this workflow β€” powered by Veed.io β€” creates a fully automated TikTok video featuring your AI avatar with natural lip-sync and voice. The result is a continuous stream of viral short videos, made without cameras, editing, or effort. --- βœ… Import the JSON file in n8n, add your API keys (including Veed.io via FAL.ai), and start generating viral TikTok videos starring your AI avatar today! πŸŽ₯ Watch This Tutorial --- πŸ“„ Documentation: Notion Guide Need help customizing? Contact me for consulting and support : Linkedin / Youtube

Dr. FirasBy Dr. Firas
39510

Generate song lyrics and music from text prompts using OpenAI and Fal.ai Minimax

Spark your creativity instantly in any chatβ€”turn a simple prompt like "heartbreak ballad" into original, full-length lyrics and a professional AI-generated music track, all without leaving your conversation. πŸ“‹ What This Template Does This chat-triggered workflow harnesses AI to generate detailed, genre-matched song lyrics (at least 600 characters) from user messages, then queues them for music synthesis via Fal.ai's minimax-music model. It polls asynchronously until the track is ready, delivering lyrics and audio URL back in chat. Crafts original, structured lyrics with verses, choruses, and bridges using OpenAI Submits to Fal.ai for melody, instrumentation, and vocals aligned to the style Handles long-running generations with smart looping and status checks Returns complete song package (lyrics + audio link) for seamless sharing πŸ”§ Prerequisites n8n account (self-hosted or cloud with chat integration enabled) OpenAI account with API access for GPT models Fal.ai account for AI music generation πŸ”‘ Required Credentials OpenAI API Setup Go to platform.openai.com β†’ API keys (sidebar) Click "Create new secret key" β†’ Name it (e.g., "n8n Songwriter") Copy the key and add to n8n as "OpenAI API" credential type Test by sending a simple chat completion request Fal.ai HTTP Header Auth Setup Sign up at fal.ai β†’ Dashboard β†’ API Keys Generate a new API key β†’ Copy it In n8n, create "HTTP Header Auth" credential: Name="Fal.ai", Header Name="Authorization", Header Value="Key [Your API Key]" Test with a simple GET to their queue endpoint (e.g., /status) βš™οΈ Configuration Steps Import the workflow JSON into your n8n instance Assign OpenAI API credentials to the "OpenAI Chat Model" node Assign Fal.ai HTTP Header Auth to the "Generate Music Track", "Check Generation Status", and "Fetch Final Result" nodes Activate the workflowβ€”chat trigger will appear in your n8n chat interface Test by messaging: "Create an upbeat pop song about road trips" 🎯 Use Cases Content Creators: YouTubers generating custom jingles for videos on the fly, streamlining production from idea to audio export Educators: Music teachers using chat prompts to create era-specific folk tunes for classroom discussions, fostering interactive learning Gift Personalization: Friends crafting anniversary R&B tracks from shared memories via quick chats, delivering emotional audio surprises Artist Brainstorming: Songwriters prototyping hip-hop beats in real-time during sessions, accelerating collaboration and iteration ⚠️ Troubleshooting Invalid JSON from AI Agent: Ensure the system prompt stresses valid JSON; test the agent standalone with a sample query Music Generation Fails (401/403): Verify Fal.ai API key has minimax-music access; check usage quotas in dashboard Status Polling Loops Indefinitely: Bump wait time to 45-60s for complex tracks; inspect fal.ai queue logs for bottlenecks Lyrics Under 600 Characters: Tweak agent prompt to enforce fuller structures like [V1][C][V2][B][C]; verify output length in executions

Daniel NkenchoBy Daniel Nkencho
601

Automate invoice processing with OCR, GPT-4 & Salesforce opportunity creation

PDF Invoice Extractor (AI) End-to-end pipeline: Watch Drive ➜ Download PDF ➜ OCR text ➜ AI normalize to JSON ➜ Upsert Buyer (Account) ➜ Create Opportunity ➜ Map Products ➜ Create OLI via Composite API ➜ Archive to OneDrive. --- Node by node (what it does & key setup) 1) Google Drive Trigger Purpose: Fire when a new file appears in a specific Google Drive folder. Key settings: Event: fileCreated Folder ID: google drive folder id Polling: everyMinute Creds: googleDriveOAuth2Api Output: Metadata { id, name, ... } for the new file. --- 2) Download File From Google Purpose: Get the file binary for processing and archiving. Key settings: Operation: download File ID: ={{ $json.id }} Creds: googleDriveOAuth2Api Output: Binary (default key: data) and original metadata. --- 3) Extract from File Purpose: Extract text from PDF (OCR as needed) for AI parsing. Key settings: Operation: pdf OCR: enable for scanned PDFs (in options) Output: JSON with OCR text at {{ $json.text }}. --- 4) Message a model (AI JSON Extractor) Purpose: Convert OCR text into strict normalized JSON array (invoice schema). Key settings: Node: @n8n/n8n-nodes-langchain.openAi Model: gpt-4.1 (or gpt-4.1-mini) Message role: system (the strict prompt; references {{ $json.text }}) jsonOutput: true Creds: openAiApi Output (per item): $.message.content β†’ the parsed JSON (ensure it’s an array). --- 5) Create or update an account (Salesforce) Purpose: Upsert Buyer as Account using an external ID. Key settings: Resource: account Operation: upsert External Id Field: taxid_c External Id Value: ={{ $json.message.content.buyer.tax_id }} Name: ={{ $json.message.content.buyer.name }} Creds: salesforceOAuth2Api Output: Account record (captures Id) for downstream Opportunity. --- 6) Create an opportunity (Salesforce) Purpose: Create Opportunity linked to the Buyer (Account). Key settings: Resource: opportunity Name: ={{ $('Message a model').item.json.message.content.invoice.code }} Close Date: ={{ $('Message a model').item.json.message.content.invoice.issue_date }} Stage: Closed Won Amount: ={{ $('Message a model').item.json.message.content.summary.grand_total }} AccountId: ={{ $json.id }} (from Upsert Account output) Creds: salesforceOAuth2Api Output: Opportunity Id for OLI creation. --- 7) Build SOQL (Code / JS) Purpose: Collect unique product codes from AI JSON and build a SOQL query for PricebookEntry by Pricebook2Id. Key settings: pricebook2Id (hardcoded in script): e.g., 01sxxxxxxxxxxxxxxx Source lines: $('Message a model').first().json.message.content.products Output: { soql, codes } --- 8) Query PricebookEntries (Salesforce) Purpose: Fetch PricebookEntry.Id for each Product2.ProductCode. Key settings: Resource: search Query: ={{ $json.soql }} Creds: salesforceOAuth2Api Output: Items with Id, Product2.ProductCode (used for mapping). --- 9) Code in JavaScript (Build OLI payloads) Purpose: Join lines with PBE results and Opportunity Id ➜ build OpportunityLineItem payloads. Inputs: OpportunityId: ={{ $('Create an opportunity').first().json.id }} Lines: ={{ $('Message a model').first().json.message.content.products }} PBE rows: from previous node items Output: { body: { allOrNone:false, records:[{ OpportunityLineItem... }] } } Notes: Converts discount_total ➜ per-unit if needed (currently commented for standard pricing). Throws on missing PBE mapping or empty lines. --- 10) Create Opportunity Line Items (HTTP Request) Purpose: Bulk create OLIs via Salesforce Composite API. Key settings: Method: POST URL: https://&lt;your-instance&gt;.my.salesforce.com/services/data/v65.0/composite/sobjects Auth: salesforceOAuth2Api (predefined credential) Body (JSON): ={{ $json.body }} Output: Composite API results (per-record statuses). --- 11) Update File to One Drive Purpose: Archive the original PDF in OneDrive. Key settings: Operation: upload File Name: ={{ $json.name }} Parent Folder ID: onedrive folder id Binary Data: true (from the Download node) Creds: microsoftOneDriveOAuth2Api Output: Uploaded file metadata. --- Data flow (wiring) Google Drive Trigger β†’ Download File From Google Download File From Google β†’ Extract from File β†’ Update File to One Drive Extract from File β†’ Message a model Message a model β†’ Create or update an account Create or update an account β†’ Create an opportunity Create an opportunity β†’ Build SOQL Build SOQL β†’ Query PricebookEntries Query PricebookEntries β†’ Code in JavaScript Code in JavaScript β†’ Create Opportunity Line Items --- Quick setup checklist πŸ” Credentials: Connect Google Drive, OneDrive, Salesforce, OpenAI. πŸ“‚ IDs: Drive Folder ID (watch) OneDrive Parent Folder ID (archive) Salesforce Pricebook2Id (in the JS SOQL builder) 🧠 AI Prompt: Use the strict system prompt; jsonOutput = true. 🧾 Field mappings: Buyer tax id/name β†’ Account upsert fields Invoice code/date/amount β†’ Opportunity fields Product name must equal your Product2.ProductCode in SF. βœ… Test: Drop a sample PDF β†’ verify: AI returns array JSON only Account/Opportunity created OLI records created PDF archived to OneDrive --- Notes & best practices If PDFs are scans, enable OCR in Extract from File. If AI returns non-JSON, keep β€œReturn only a JSON array” as the last line of the prompt and keep jsonOutput enabled. Consider adding validation on parsing.warnings to gate Salesforce writes. For discounts/taxes in OLI: Standard OLI fields don’t support per-line discount amounts directly; model them in UnitPrice or custom fields. Replace the Composite API URL with your org’s domain or use the Salesforce node’s Bulk Upsert for simplicity.

Le NguyenBy Le Nguyen
942