๐ก n8n Workflow Automation Templates: Webhooks โ Executive Summary
Technical architectural analysis, practical configuration manifests, and deployment instructions for n8n Workflow Automation Templates: Webhooks.
Llama3.2 with Google Translate for Korean
Connections
- Google Translate: console.cloud.google.com
- Ollama: Llama3.2
- Discord Webhook
json
{
"meta": {
"instanceId": "1a19f4be6eef8ebaf7996aee1a8ef99d60050c50a8ea3c82f3be98e328bd705b"
},
"nodes": [
{
"parameters": {
"model": "llama3.2:latest",
"options": {}
},
"id": "234545be-3648-46ee-a9b9-6a51a14ac569",
"name": "Ollama Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOllama",
"typeVersion": 1,
"position": [
1060,
640
],
"credentials": {
"ollamaApi": {
"id": "nbfApiRpOREhpoYm",
"name": "Ollama account"
}
}
},
{
"parameters": {
"text": "={{ $json.chatInput }}",
"translateTo": "en"
},
"id": "062621ab-20ba-4066-bfe4-e87e6eed8f5f",
"name": "Google Translate (KO-EN)",
"type": "n8n-nodes-base.googleTranslate",
"typeVersion": 2,
"position": [
760,
220
],
"credentials": {
"googleTranslateOAuth2Api": {
"id": "Ifp0iHkVsIZzV7oC",
"name": "Google Translate account"
}
}
},
{
"parameters": {
"authentication": "webhook",
"content": "=**# Question**\n- Origin: {{ $('When chat message received').item.json.chatInput }}\n- Translated: {{ $('Google Translate (KO-EN)').item.json.translatedText }}\n**# Answer**\n{{ $json.text }}",
"options": {},
"embeds": {
"values": [
{}
]
}
},
"id": "6006ff22-28b9-4f75-9c98-1d199ed7ae1b",
"name": "Discord",
"type": "n8n-nodes-base.discord",
"typeVersion": 2,
"position": [
1460,
440
],
"alwaysOutputData": false,
"credentials": {
"discordWebhookApi": {
"id": "AnZAGyvlhgMPEjhS",
"name": "Discord Webhook account"
}
}
},
{
"parameters": {
"customerId": "admin",
"message": "=\n{{ $('Basic LLM Chain').item.json.text }}"
},
"id": "8c4ba1b1-99f3-4eb5-a751-d6519979fdc5",
"name": "Customer Messenger (n8n training)",
"type": "n8n-nodes-base.n8nTrainingCustomerMessenger",
"typeVersion": 1,
"position": [
1660,
440
]
},
{
"parameters": {
"options": {}
},
"id": "2cff27be-378d-4453-b20c-434da17838ad",
"name": "When chat message received",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"typeVersion": 1.1,
"position": [
520,
220
],
"webhookId": "055870d1-25a7-48ff-8f87-3d35a3d193da"
},
{
"parameters": {
"promptType": "define",
"text": "={{ $json.translatedText }} However, Let's use md syntax that can be used in discord, such as -, **{string}**, etc. And Please answer in 2,000 characters or less."
},
"id": "8893a41c-24df-4000-8599-ee5298e5d215",
"name": "Basic LLM Chain",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"typeVersion": 1.4,
"position": [
1040,
440
]
}
],
"connections": {
"Ollama Chat Model": {
"ai_languageModel": [
[
{
"node": "Basic LLM Chain",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Google Translate (KO-EN)": {
"main": [
[
{
"node": "Basic LLM Chain",
"type": "main",
"index": 0
}
]
]
},
"Discord": {
"main": [
[
{
"node": "Customer Messenger (n8n training)",
"type": "main",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "Google Translate (KO-EN)",
"type": "main",
"index": 0
}
]
]
},
"Basic LLM Chain": {
"main": [
[
{
"node": "Discord",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {}
}
Youtube Summation //TODO
json
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
export PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
apk add --no-cache chromium nss freetype harfbuzz ca-certificates ttf-freefont nodejs yarn
cd /root/.n8n/nodes
rm -rf ./node_modules/
npm add [email protected]
npm install
json
apk update
apk upgrade
echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" > /etc/apk/repositories
echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories
apk add --no-cache dumb-init curl make gcc g++ python linux-headers binutils-gold gnupg libstdc++ nss chromium
npm install -g [email protected]
apk del --no-cache make gcc g++ python binutils-gold gnupg libstdc++
rm -rf /usr/include
rm -rf /var/cache/apk/* /root/.node-gyp /usr/share/man /tmp/*
json
export PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
sh -c "apk add --no-cache chromium nss freetype harfbuzz ca-certificates ttf-freefont nodejs yarn"
yarn add [email protected]
addgroup -S pptruser && adduser -S -G pptruser pptruser \
&& mkdir -p /home/pptruser/Downloads /app \
&& chown -R pptruser:pptruser /home/pptruser \
&& chown -R pptruser:pptruser /app




Leave a Reply