The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "gantt/time-section",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "/predict",
"options": {}
},
"type": "n8n-nodes-base.webhook",
"typeVersion": 2.1,
"position": [
0,
0
],
"id": "f8b15166-5420-4cdc-b0f3-43a1e489278a",
"name": "Webhook"
},
{
"parameters": {
"jsCode": "const input = $json;\nreturn [{\n json: {\n model: \"llama-3.3-70b-versatile\",\n messages: [\n { role: \"system\", content: \"Tu es un assistant qui pr\u00e9dit la dur\u00e9e d\u2019un projet en semaines, mois ou ann\u00e9es, de fa\u00e7on r\u00e9aliste.\" },\n { role: \"user\", content: `Estime la dur\u00e9e du projet suivant : ${input.project}` }\n ]\n }\n}];\n"
},
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
208,
0
],
"id": "fce7ea91-a8b1-4aa4-8cef-caea5b4472bc",
"name": "Code in JavaScript"
},
{
"parameters": {
"method": "POST",
"url": "https://api.groq.com/openai/v1/chat/completions",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "<redacted-credential>"
},
{
"name": "content-type",
"value": "application/json"
}
]
},
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={{$json}}",
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.4,
"position": [
400,
0
],
"id": "db86d87c-aab2-4ccd-88f0-edd2c54aef88",
"name": "HTTP Request"
},
{
"parameters": {
"jsCode": "// R\u00e9cup\u00e8re la r\u00e9ponse brute de Groq\nconst output = $json.choices[0].message.content; \n// Exemple : \"Le projet prendra environ 5 semaines.\"\nreturn [{\n json: {\n id: 1,\n name: $json.project, // sujet du projet\n predicted_duration: output // texte directement renvoy\u00e9 par Groq\n }\n}];\n"
},
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
608,
0
],
"id": "95c61662-63a4-4efb-b0a1-d0b99f93e0f0",
"name": "Code in JavaScript1"
},
{
"parameters": {
"respondWith": "allIncomingItems",
"options": {}
},
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.5,
"position": [
816,
0
],
"id": "1c4a5b06-75a9-4d9d-8f15-ee61577b299e",
"name": "Respond to Webhook"
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Code in JavaScript",
"type": "main",
"index": 0
}
]
]
},
"Code in JavaScript": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "Code in JavaScript1",
"type": "main",
"index": 0
}
]
]
},
"Code in JavaScript1": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1",
"binaryMode": "separate"
},
"versionId": "4bbfe02b-4a54-44dd-a289-6d717428348f",
"id": "e3HBGDCEBElGFRyo",
"tags": []
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
gantt/time-section. Uses httpRequest. Webhook trigger; 5 nodes.
Source: https://github.com/jadliaissam-edu/PM-A-ia/blob/72488ac42b5529423e94366b01168c2ad56929ee/gantt_time-section.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This n8n template provides enterprise-level version control for your workflows using GitHub integration. Stop losing hours to broken workflows and manual exports – get proper commit history, visual di
This flow creates dummy files for every item added in your *Arrs (Radarr/Sonarr) with the tag .
This workflow acts as a central API gateway for all technical indicator agents in the Binance Spot Market Quant AI system. It listens for incoming webhook requests and dynamically routes them to the c
Sign PDF documents with legally-compliant digital signatures using X.509 certificates. Supports multiple PAdES signature levels (B, T, LT, LTA) with optional visible stamps.
📡 This workflow serves as the central Alpha Vantage API fetcher for Tesla trading indicators, delivering cleaned 20-point JSON outputs for three timeframes: , , and . It is required by the following a