Générateur automatique de tickets
Ceci est unAI, IT Opsworkflow d'automatisation du domainecontenant 8 nœuds.Utilise principalement des nœuds comme Code, Slack, Webhook, Agent, LmChatOpenAi, combinant la technologie d'intelligence artificielle pour une automatisation intelligente. Générateur de tickets automatique : convertir les conversations Slack en tickets de projet structurés
- •Token Bot Slack ou URL Webhook
- •Point de terminaison HTTP Webhook (généré automatiquement par n8n)
- •Clé API OpenAI
Nœuds utilisés (8)
{
"id": "8PxWIzEWlqJ3Anov",
"meta": {
"instanceId": "6bcff5ef8a06e8086902526a05c2a4c7bf5da8101f89e582301ed78094606f40",
"templateCredsSetupCompleted": true
},
"name": "Auto-Ticket Maker",
"tags": [],
"nodes": [
{
"id": "a1297b26-107e-40dd-9695-8ecb0534cacb",
"name": "Modèle de chat OpenAI",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-80,
360
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1",
"cachedResultName": "gpt-4.1"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "KLN8ZfDzv8mW6pyu",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "5b67ef11-54e0-41b0-afd0-f3c4f359e513",
"name": "Déclencheur Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
-520,
100
],
"webhookId": "e5d97187-896a-423b-9ba7-e23044ae1d7e",
"parameters": {
"path": "slack-ticket-maker",
"options": {},
"httpMethod": "POST"
},
"typeVersion": 2
},
{
"id": "02cbd3c7-b0ac-4556-a00b-6f357ed8f7e9",
"name": "Code",
"type": "n8n-nodes-base.code",
"position": [
-300,
100
],
"parameters": {
"jsCode": "// Extract and reformat the nested payload\nconst originalPayload = $input.all()[0];\nconst slackEvent = originalPayload.json.body[\"\"];\n\n// Create clean new structure\nreturn {\n headers: originalPayload.json.headers,\n slack: {\n user: slackEvent.user,\n channel: slackEvent.channel,\n text: slackEvent.text.replace(/<@U.*?>/, \"\").trim(),\n team: slackEvent.team,\n timestamp: slackEvent.event_ts,\n is_thread: !!slackEvent.thread_ts,\n thread_id: slackEvent.thread_ts || \"main\"\n }\n};"
},
"typeVersion": 2
},
{
"id": "bee83d84-b9b6-454a-91dd-eda6087ad2fd",
"name": "Simple Mémoire",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
140,
360
],
"parameters": {
"sessionKey": "=slack_{{$json['slack']['channel']}}_user_{{$json['slack']['user']}}",
"sessionIdType": "customKey"
},
"typeVersion": 1.3
},
{
"id": "eaccaa91-8a69-49fd-8dd4-418f4ea1dbd0",
"name": "AI PM Wellington",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-40,
100
],
"parameters": {
"text": "=Your job is receiving a message {{ $json[\"slack\"][\"text\"] }} and breaking it into tickets (epics, tasks and so on) for development/execution of a task\n\nSetps:\n> Avaluate the level of complexibility, how many cards to make and how you should structure it\n\n>Ask for a project name\n\n> If more information is needed, specify and ask it. Don't create the tickets and wait for a response. You may only ask for information up to 2 times before creating the tickets.\n\n> Break the ticket/project into EPICS, and then write tickets for each of those Epics\n\n> Tickets should have:\n- Title (MUST)\n- Short Description (MUST)\nSections with bullet points:\n1. Objectives / Goals\n2. Definition of Done\n3. Requirements / Acceptance Criteria\n4. Implementation Details\n5. Risks & Challenges\n6. Testing & Validation\n7. Timeline & Milestones\n8. Related Notes & References\n9. Additional Comments / Open Questions\n\n> The bullet points should be brief and concise \n\n> You sould ALWAYS send the messages to the Slack channel.\n\n> Format only tickets as MARKDOWN\n\n> Each ticket must be surrounded by a code block (```)\nExample: ```ticket```",
"options": {},
"promptType": "define"
},
"typeVersion": 1.8
},
{
"id": "09a6a284-8d70-4b3b-9a66-3c9045528552",
"name": "Slack",
"type": "n8n-nodes-base.slack",
"position": [
320,
100
],
"webhookId": "7408d0f3-4e82-4a45-8ad6-9e573fdc7f30",
"parameters": {
"text": "={{$json[\"output\"]}}",
"select": "channel",
"channelId": {
"__rl": true,
"mode": "list",
"value": "C08QXSK7U1H",
"cachedResultName": "ticket-maker"
},
"otherOptions": {}
},
"credentials": {
"slackApi": {
"id": "tp5KWuJ5R85fEonh",
"name": "Slack account"
}
},
"typeVersion": 2.3
},
{
"id": "bcfb3867-8c8c-45a9-a0a6-9286a42e8fdf",
"name": "Note adhésive",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1080,
-100
],
"parameters": {
"color": 3,
"width": 640,
"height": 560,
"content": "# Varritech Free Workflows for n8n\n\nAccess our collection of **free, ready-to-use n8n workflows** designed to streamline your data operations and automation needs.\n\n## What You'll Get:\n- Pre-built data integration workflows\n- Time-saving automation templates\n- Step-by-step implementation guides\n- Regular updates with new workflows\n\n## How to Use:\n1. Download our free workflows\n2. Import into your n8n instance\n3. Configure with your credentials\n4. Start automating immediately\n\n**Note:** For additional workflows, tutorials, and technical support, visit our website at [varritech.com](https://varritech.com)\n\n*Unlock the full potential of n8n with Varritech's workflow solutions!*"
},
"typeVersion": 1
},
{
"id": "af714830-26e0-4e93-8c46-765c0ccb445c",
"name": "Note adhésive1",
"type": "n8n-nodes-base.stickyNote",
"position": [
520,
60
],
"parameters": {
"color": 4,
"width": 640,
"height": 560,
"content": "# Need Help Maximizing Your AI Workflows?\n\nThank you for using our **Auto-Ticket Maker** workflow! While this automation handles ticket creation, there's much more AI can do for your organization:\n\n## Looking for Expert Support With:\n- **Eliminating Redundant Tasks** - Need help identifying and automating repetitive processes across your organization?\n- **Implementing 500% Development Acceleration** - Want access to our complete suite of optimization workflows for project management, sales, marketing, and engineering teams?\n- **Prompt Engineering Expertise** - Looking for customized recommendations to get the most effective output from your AI systems?\n\n**Varritech is here to help!** Our team has built dozens of production-grade AI workflows that have transformed how our clients operate. The same systems that accelerated our own development by 500% can be adapted for your specific needs.\n\nVisit [varritech.com](https://varritech.com) for expert assistance with turning AI automation into a powerful competitive advantage."
},
"typeVersion": 1
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "9fe68472-1bb0-4950-a4aa-eb2f51ecbfe9",
"connections": {
"02cbd3c7-b0ac-4556-a00b-6f357ed8f7e9": {
"main": [
[
{
"node": "eaccaa91-8a69-49fd-8dd4-418f4ea1dbd0",
"type": "main",
"index": 0
}
]
]
},
"Webhook": {
"main": [
[
{
"node": "02cbd3c7-b0ac-4556-a00b-6f357ed8f7e9",
"type": "main",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "eaccaa91-8a69-49fd-8dd4-418f4ea1dbd0",
"type": "ai_memory",
"index": 0
}
]
]
},
"eaccaa91-8a69-49fd-8dd4-418f4ea1dbd0": {
"main": [
[
{
"node": "09a6a284-8d70-4b3b-9a66-3c9045528552",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "eaccaa91-8a69-49fd-8dd4-418f4ea1dbd0",
"type": "ai_languageModel",
"index": 0
}
]
]
}
}
}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 - Intelligence Artificielle, Opérations IT
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
Partager ce workflow