Skip to content

Instantly share code, notes, and snippets.

@alnutile
Created July 20, 2025 17:35
Show Gist options
  • Select an option

  • Save alnutile/7a7aa56143b2fc2fa94d8872f479c9d5 to your computer and use it in GitHub Desktop.

Select an option

Save alnutile/7a7aa56143b2fc2fa94d8872f479c9d5 to your computer and use it in GitHub Desktop.
NOCODE Getting Started With N8N see https://youtu.be/anW0cZ5jfpE
{
"name": "Workflow Exmaple",
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
-400,
-112
],
"id": "ae633776-5d2f-40a9-becc-64b30d353a9b",
"name": "When clicking ‘Execute workflow’"
},
{
"parameters": {
"httpMethod": "POST",
"path": "4dccc0c9-00e4-427f-8d77-bda5e3e005d1",
"responseMode": "lastNode",
"options": {}
},
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
-400,
256
],
"id": "b906c051-8cdd-43a3-9e84-96f057fdb74d",
"name": "Webhook",
"webhookId": "4dccc0c9-00e4-427f-8d77-bda5e3e005d1"
},
{
"parameters": {
"rule": {
"interval": [
{
"field": "weeks",
"triggerAtDay": [
1,
2,
3,
4,
5
],
"triggerAtHour": 7
}
]
}
},
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.2,
"position": [
-400,
80
],
"id": "98d85de2-4a6f-44fa-abfc-eb937e9d5606",
"name": "Schedule Trigger"
},
{
"parameters": {
"options": {}
},
"type": "n8n-nodes-base.emailReadImap",
"typeVersion": 2,
"position": [
-400,
448
],
"id": "d31bafa2-c6e9-427c-b98d-d5bcf77f60db",
"name": "Email Trigger (IMAP)",
"credentials": {
"imap": {
"id": "JHYcpJPuMG5tqIbt",
"name": "Assistant DailyAi"
}
},
"disabled": true
},
{
"parameters": {
"documentId": {
"__rl": true,
"value": "https://docs.google.com/spreadsheets/d/165e9YpWep6xaUcgcv3-3VcjEJ5BqumO5Gs06DoDYZ8Q/edit?gid=0#gid=0",
"mode": "url"
},
"sheetName": {
"__rl": true,
"value": "gid=0",
"mode": "list",
"cachedResultName": "Leads",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/165e9YpWep6xaUcgcv3-3VcjEJ5BqumO5Gs06DoDYZ8Q/edit#gid=0"
},
"options": {}
},
"type": "n8n-nodes-base.googleSheets",
"typeVersion": 4.6,
"position": [
-80,
-112
],
"id": "0af10a02-e343-40ab-ad47-8a997e83a38f",
"name": "Leads",
"credentials": {
"googleSheetsOAuth2Api": {
"id": "rWb3copWsrXALz2Z",
"name": "Google Sheets account 2"
}
}
},
{
"parameters": {
"documentId": {
"__rl": true,
"value": "https://docs.google.com/spreadsheets/d/165e9YpWep6xaUcgcv3-3VcjEJ5BqumO5Gs06DoDYZ8Q/edit?gid=0#gid=0",
"mode": "url"
},
"sheetName": {
"__rl": true,
"value": 1139481038,
"mode": "list",
"cachedResultName": "Tasks",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/165e9YpWep6xaUcgcv3-3VcjEJ5BqumO5Gs06DoDYZ8Q/edit#gid=1139481038"
},
"options": {}
},
"type": "n8n-nodes-base.googleSheets",
"typeVersion": 4.6,
"position": [
224,
-96
],
"id": "997bee0f-d943-4b52-9d34-54625a3c41f7",
"name": "Tasks",
"credentials": {
"googleSheetsOAuth2Api": {
"id": "rWb3copWsrXALz2Z",
"name": "Google Sheets account 2"
}
}
},
{
"parameters": {
"aggregate": "aggregateAllItemData",
"include": "allFieldsExcept",
"fieldsToExclude": "row_number",
"options": {}
},
"type": "n8n-nodes-base.aggregate",
"typeVersion": 1,
"position": [
-80,
112
],
"id": "c60b7d95-b207-4d31-aa89-b8ddf35aa36d",
"name": "Aggregate"
},
{
"parameters": {
"fieldsToSummarize": {
"values": [
{
"aggregation": "concatenate",
"field": "data"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.summarize",
"typeVersion": 1.1,
"position": [
-96,
336
],
"id": "a8288d00-467d-47c0-8973-f8cc8f1a0a40",
"name": "Leads1"
},
{
"parameters": {
"aggregate": "aggregateAllItemData",
"options": {}
},
"type": "n8n-nodes-base.aggregate",
"typeVersion": 1,
"position": [
224,
144
],
"id": "5184e8ee-c550-46de-bcf6-9f45822f069e",
"name": "Aggregate1"
},
{
"parameters": {
"fieldsToSummarize": {
"values": [
{
"aggregation": "concatenate",
"field": "data"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.summarize",
"typeVersion": 1.1,
"position": [
208,
352
],
"id": "8d2a07a3-7ec1-40ff-af9a-e9618ecfda72",
"name": "TasksSummarize"
},
{
"parameters": {
"promptType": "define",
"text": "=## Tasks\n{{ $json.concatenated_data }}\n\n\n## Leads\n{{ $('Leads1').first().json.concatenated_data }}\n",
"options": {
"systemMessage": "=Your role is to generate a morning message to help me stay focused on my incoming data\nThe date is {{ $now }}\n\nGet some daily news too about the ai industry using the search tool"
}
},
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 2.1,
"position": [
496,
-16
],
"id": "6f0fb37e-34ae-4696-8d04-481ca5d4bcdc",
"name": "AI Agent"
},
{
"parameters": {
"model": "llama-3.3-70b-versatile",
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.lmChatGroq",
"typeVersion": 1,
"position": [
416,
400
],
"id": "75d077cf-9b6d-4b65-9361-81c48df87a70",
"name": "Groq Chat Model",
"credentials": {
"groqApi": {
"id": "5VAmIAc6eGmXPmsp",
"name": "Groq account"
}
}
},
{
"parameters": {
"sessionIdType": "customKey",
"sessionKey": "12345"
},
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"typeVersion": 1.3,
"position": [
560,
400
],
"id": "e930c36c-7795-4474-976f-f7b316c46a32",
"name": "Simple Memory"
},
{
"parameters": {
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.toolSerpApi",
"typeVersion": 1,
"position": [
704,
416
],
"id": "3f563279-586c-454f-8c9c-4fc1619cd62d",
"name": "SearchTool",
"credentials": {
"serpApi": {
"id": "wDqpFKXyRIfbbEjw",
"name": "SerpFree Account"
}
}
},
{
"parameters": {
"channelId": "dbgo1bu13jre9815n1jxwdmkmw",
"message": "=Hello here are your updates here are your daily updates:\n\n{{ $json.output }}",
"attachments": [],
"otherOptions": {}
},
"type": "n8n-nodes-base.mattermost",
"typeVersion": 1,
"position": [
880,
-16
],
"id": "5ad5fdfd-7e24-4872-9c37-eb320475c4ca",
"name": "Post a message",
"credentials": {
"mattermostApi": {
"id": "AcMgrCqmCCmL2mZV",
"name": "Mattermost account"
}
}
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "4c68d2be-6138-4a84-840a-0cec8c0f29ed",
"name": "output",
"value": "={{ $('AI Agent').item.json.output }}",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
880,
240
],
"id": "534e65f9-0d28-4e9a-a53b-a4f3326119b4",
"name": "Edit Fields"
}
],
"pinData": {
"Webhook": [
{
"json": {
"headers": {
"connection": "upgrade",
"host": "n8n-do.dailyai.studio",
"x-real-ip": "24.60.183.124",
"x-forwarded-for": "24.60.183.124",
"x-forwarded-proto": "https",
"content-length": "24",
"content-type": "application/json",
"user-agent": "PostmanRuntime/7.44.1",
"accept": "*/*",
"postman-token": "0c11d157-b973-421b-b765-aca2e578f181",
"accept-encoding": "gzip, deflate, br"
},
"params": {},
"query": {},
"body": {
"example": "foo",
"baz": "boo"
},
"webhookUrl": "https://n8n-do.dailyai.studio/webhook/4dccc0c9-00e4-427f-8d77-bda5e3e005d1",
"executionMode": "production"
}
}
],
"Tasks": [
{
"json": {
"row_number": 2,
"Item": "Call Linda",
"Notes": "Make sure to discuss her automation needs",
"Related Lead": "",
"Due Date": "2025-06-28T15:00:00Z"
}
},
{
"json": {
"row_number": 2,
"Item": "Call Linda",
"Notes": "Make sure to discuss her automation needs",
"Related Lead": "",
"Due Date": "2025-06-28T15:00:00Z"
}
}
],
"Schedule Trigger": [
{
"json": {
"timestamp": "2025-07-18T11:23:51.430-04:00",
"Readable date": "July 18th 2025, 11:23:51 am",
"Readable time": "11:23:51 am",
"Day of week": "Friday",
"Year": "2025",
"Month": "July",
"Day of month": "18",
"Hour": "11",
"Minute": "23",
"Second": "51",
"Timezone": "America/New_York (UTC-04:00)"
}
}
]
},
"connections": {
"Webhook": {
"main": [
[
{
"node": "Leads",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Leads",
"type": "main",
"index": 0
}
]
]
},
"Leads": {
"main": [
[
{
"node": "Aggregate",
"type": "main",
"index": 0
}
]
]
},
"Tasks": {
"main": [
[
{
"node": "Aggregate1",
"type": "main",
"index": 0
}
]
]
},
"Aggregate": {
"main": [
[
{
"node": "Leads1",
"type": "main",
"index": 0
}
]
]
},
"Leads1": {
"main": [
[
{
"node": "Tasks",
"type": "main",
"index": 0
}
]
]
},
"Aggregate1": {
"main": [
[
{
"node": "TasksSummarize",
"type": "main",
"index": 0
}
]
]
},
"TasksSummarize": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Groq Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"SearchTool": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"AI Agent": {
"main": [
[
{
"node": "Post a message",
"type": "main",
"index": 0
}
]
]
},
"Post a message": {
"main": [
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields": {
"main": [
[]
]
}
},
"active": true,
"settings": {
"executionOrder": "v1"
},
"versionId": "570a1054-c4e9-4df1-97ff-1fc6a0a5fb73",
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "b77b374d91a001765a8bf2832badc1f8fcc5407c99c4c6f3f68d6413d663ef83"
},
"id": "nwz8pJ5iT0LIxADN",
"tags": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment