Envoyer automatiquement les tickets de support Vtiger vers Telegram (y compris les mises à jour d'état)

Intermédiaire

Ceci est unTicket Managementworkflow d'automatisation du domainecontenant 7 nœuds.Utilise principalement des nœuds comme If, Telegram, ScheduleTrigger, VtigerNode. Envoyer automatiquement les tickets de support Vtiger vers Telegram (avec mises à jour de statut)

Prérequis
  • Token Bot Telegram
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "id": "ymg0bc27jttcvbcj",
  "meta": {
    "instanceId": "ea2b41532677d34614d95d13d7d2ccb694657be482144baf71e7140df3b2a853",
    "templateCredsSetupCompleted": true
  },
  "name": "Auto-Send Vtiger Support Tickets to Telegram (with Status Update)",
  "tags": [],
  "nodes": [
    {
      "id": "e9ca7d91-ee88-4cc4-9c12-e638fbfb6e66",
      "name": "Déclencheur Planifié Toutes les n Minutes",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -816,
        -208
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "minutes",
              "minutesInterval": 1
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "81b830bc-e1d3-4d6b-9ef1-e323771b5b5f",
      "name": "VtigerCRM Récupérer les Tickets",
      "type": "n8n-nodes-vtiger-crm.vtigerNode",
      "position": [
        -592,
        -208
      ],
      "parameters": {
        "query_field": "select * from HelpDesk where ticketstatus='Open' order by id desc limit 1;"
      },
      "credentials": {
        "vtigerApi": {
          "id": "GDVMGSZb4YFb0cMz",
          "name": "SaadeddinTestCRM"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "ff439d91-3b2c-4f8e-9c38-aca0f09ce86c",
      "name": "Si des données sont retournées",
      "type": "n8n-nodes-base.if",
      "position": [
        -368,
        -208
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "1a4121a1-3315-48c6-b319-be947242e291",
              "operator": {
                "type": "string",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.result[0].id }}",
              "rightValue": ""
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "77eb4e5c-0048-4469-9815-df5534a7e9dd",
      "name": "Envoyer les Détails d'un Ticket à Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        112,
        -384
      ],
      "webhookId": "78ebd6db-cd6a-4eac-af64-133af5c81e89",
      "parameters": {
        "text": "=New ticket with the following details:\nTicketid: {{ $json.result[0].ticket_no }}\nTitle: {{ $json.result[0].ticket_title }}\nStatus: {{ $json.result[0].ticketstatus }}\nPriority: {{ $json.result[0].ticketpriorities }}\nSeverity: {{ $json.result[0].ticketseverities }}\nCategory: {{ $json.result[0].ticketcategories }}\nDescription: {{ $json.result[0].description }}",
        "chatId": "6885236190",
        "additionalFields": {
          "appendAttribution": false
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "lJq9SLWpaYUg6w8w",
          "name": "Telegram account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "70cd5610-46f4-42b0-8008-511a99b9888e",
      "name": "VtigerCRM Mettre à Jour le Statut du Ticket",
      "type": "n8n-nodes-vtiger-crm.vtigerNode",
      "position": [
        128,
        -176
      ],
      "parameters": {
        "operation": "update",
        "element_field": "={\n  \"ticketstatus\": \"In Progress\"\n}",
        "webservice_id_field": "={{ $json.result[0].id }}"
      },
      "credentials": {
        "vtigerApi": {
          "id": "GDVMGSZb4YFb0cMz",
          "name": "SaadeddinTestCRM"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "49cff4dc-a89e-4ebe-a1a9-6e9ef6fdd958",
      "name": "Aucune Opération, ne rien faire",
      "type": "n8n-nodes-base.noOp",
      "position": [
        -80,
        -16
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4a8d8029-2a1d-4704-90bd-712adca45596",
      "name": "Note Adhésive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -672,
        -704
      ],
      "parameters": {
        "width": 688,
        "height": 368,
        "content": "### 🎟️ Auto-Send Vtiger Tickets to Telegram  \n**(Real-time alerts + CRM update)**\nThis workflow runs **every 1 minute** to:\n- 📥 Fetch the most recent **open ticket** from Vtiger HelpDesk\n- 📲 Send a detailed message to **Telegram**\n- 🔁 Update the ticket status to **\"In Progress\"** to avoid duplicate alerts\n---\n> 💡 **Note:**  \n> This workflow uses a custom **Vtiger CRM** node from the **Community Nodes** registry.  \n> To install it in self-hosted n8n:\n> 1. Go to `Settings` → `Community Nodes`  \n> 2. Click **Install Node** and enter:\n> ```bash\n> n8n-nodes-vtiger-crm\n> ```\n---\n> ✅ Ideal for support teams that need **real-time alerts** and want to sync ticket progress across tools."
      },
      "typeVersion": 1
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "c66999f4-49e3-4e5f-8500-e5a8663d9f88",
  "connections": {
    "81b830bc-e1d3-4d6b-9ef1-e323771b5b5f": {
      "main": [
        [
          {
            "node": "ff439d91-3b2c-4f8e-9c38-aca0f09ce86c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ff439d91-3b2c-4f8e-9c38-aca0f09ce86c": {
      "main": [
        [
          {
            "node": "77eb4e5c-0048-4469-9815-df5534a7e9dd",
            "type": "main",
            "index": 0
          },
          {
            "node": "70cd5610-46f4-42b0-8008-511a99b9888e",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "49cff4dc-a89e-4ebe-a1a9-6e9ef6fdd958",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "70cd5610-46f4-42b0-8008-511a99b9888e": {
      "main": [
        []
      ]
    },
    "e9ca7d91-ee88-4cc4-9c12-e638fbfb6e66": {
      "main": [
        [
          {
            "node": "81b830bc-e1d3-4d6b-9ef1-e323771b5b5f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "77eb4e5c-0048-4469-9815-df5534a7e9dd": {
      "main": [
        []
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Intermédiaire - Gestion des tickets

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Workflows recommandés

Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds7
Catégorie1
Types de nœuds6
Description de la difficulté

Adapté aux utilisateurs expérimentés, avec des workflows de complexité moyenne contenant 6-15 nœuds

Auteur
Ahmed Saadawi

Ahmed Saadawi

@ahmedsaadawi

CRM consultant and automation expert with 15+ years of experience building AI-powered, no-code workflows for sales, support, and operations. Open to collaboration or custom solutions — let’s connect!

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34