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": "Sage Chat Assistant",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "sage-chat",
"responseMode": "responseNode",
"options": {}
},
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
250,
300
]
},
{
"parameters": {
"model": "gpt-4",
"messages": {
"values": [
{
"role": "system",
"content": "You are Sage, a helpful assistant for Sproutify Micro - a microgreen farm management application. You help farmers with questions about growing microgreens, managing their farm operations, using the Sproutify platform, and troubleshooting issues. Be friendly, concise, and helpful. Focus on practical farming advice and platform guidance."
},
{
"role": "user",
"content": "={{ $json.message }}"
}
]
},
"options": {
"temperature": 0.7,
"maxTokens": 500
}
},
"name": "OpenAI",
"type": "n8n-nodes-base.openAi",
"typeVersion": 1,
"position": [
450,
300
]
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={{ { \"response\": $json.choices[0].message.content } }}"
},
"name": "Respond to Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1,
"position": [
650,
300
]
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "OpenAI",
"type": "main",
"index": 0
}
]
]
},
"OpenAI": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"staticData": null,
"tags": [],
"triggerCount": 0,
"updatedAt": "2025-01-22T00:00:00.000Z",
"versionId": "1"
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Sage Chat Assistant. Uses openAi. Webhook trigger; 3 nodes.
Source: https://github.com/boilermanc/sproutify-micro/blob/948ebe692dcdff0b1d8a4615aa809b2b775f4ca6/n8n-workflows/sage-chat-workflow.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.
The Ultimate Scraper for n8n uses Selenium and AI to retrieve any information displayed on a webpage. You can also use session cookies to log in to the targeted webpage for more advanced scraping need
z-Api. Uses httpRequest, openAi, redis, postgres. Webhook trigger; 61 nodes.
How it works: • Receives WhatsApp messages via webhook from Whapi.Cloud • Routes commands: AI chat (/ai), numeric commands (1-9), or help menu • Sends responses: text, images, documents, videos, conta
This workflow will allow you to use OpenAI Assistant API together with a chatting platform. This version is configured to work with Hubspot, however, the Hubspot modules can be replaced by other platf
Chatbot. Uses openAi, httpRequest. Webhook trigger; 25 nodes.