yes
- User
yes
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
yes
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Here’s the n8n workflow JSON you can import directly into n8n. I’ve included placeholders for your API keys and credentials (you’ll need to replace these with your actual values in n8n):
{
"nodes": [
{
"parameters": {
"url": "https://dev.to/api/articles?username=YOUR_DEV_USERNAME",
"method": "GET",
"headers": [
{
"key": "api-key",
"value": "={{$credentials.devtoApiKey}}"
}
],
"responseFormat": "json",
"splitIntoItems": true
},
"name": "Get Dev.to Posts",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1.0,
"position": [
250,
300
]
},
{
"parameters": {
"functionCode": "return {\n json: {\n title: item.json.title,\n body: item.json.body_markdown,\n url: item.json.url\n }\n};"
},
"name": "Extract Title & Body",
"type": "n8n-nodes-base.functionItem",
"typeVersion": 1.0,
"position": [
450,
300
]
},
{
"parameters": {
"model": "gemini-pro",
"prompt": "Analyze the following blog post. Should I publish it on my blog?\nTitle: {{title}}\nContent: {{body}}\n\nAnswer only \"Yes\" or \"No\".",
"credentials": {
"googleApi": "={{$credentials.googleGemini}}"
}
},
"name": "Gemini Analysis",
"type": "n8n-nodes-base.googleGemini",
"typeVersion": 1.0,
"position": [
650,
300
]
},
{
"parameters": {
"conditions": {
"boolean": {
"value1": "={{$json[\"text\"]}}",
"value2": "Yes",
"operator": "equals"
}
}
},
"name": "IF Post Approved",
"type": "n8n-nodes-base.if",
"typeVersion": 1.0,
"position": [
850,
300
]
},
{
"parameters": {
"operation": "sendMessage",
"chatId": "YOUR_TELEGRAM_CHAT_ID",
"text": "New post recommended for your blog:\nTitle: {{title}}\nLink: {{url}}",
"credentials": {
"telegramApi": "={{$credentials.telegramBot}}"
}
},
"name": "Send to Telegram",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.0,
"position": [
1050,
300
]
}
],
"connections": {
"Get Dev.to Posts": {
"main": [
[
{
"node": "Extract Title & Body",
"type": "main",
"index": 0
}
]
]
},
"Extract Title & Body": {
"main": [
[
{
"node": "Gemini Analysis",
"type": "main",
"index": 0
}
]
]
},
"Gemini Analysis": {
"main": [
[
{
"node": "IF Post Approved",
"type": "main",
"index": 0
}
]
]
},
"IF Post Approved": {
"main": [
[],
[
{
"node": "Send to Telegram",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
}
}
Import into n8n:
Go to your n8n workspace → Workflows → Import → Paste the JSON.
Replace Placeholders:
YOUR_DEV_USERNAME: Your Dev.to username (e.g., johndoe).YOUR_TELEGRAM_CHAT_ID: Your Telegram chat ID (get via @userinfobot).devtoApiKey: Add a new credential in n8n (type: "Dev.to") with your Dev.to API key.googleGemini: Add a Google API credential (type: "Google") with your Gemini API key.telegramBot: Add a Telegram Bot credential (type: "Telegram") with your bot token.Test the Workflow:
Click Execute Workflow in n8n to test. Check your Telegram for messages!
Let me know if you need help setting up the credentials in n8n! 😊