Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Mike-FreeAI/be7f8859bdd9391e438d0681504553b0 to your computer and use it in GitHub Desktop.
Save Mike-FreeAI/be7f8859bdd9391e438d0681504553b0 to your computer and use it in GitHub Desktop.
(Files content cropped to 300k characters, download full ingest to see more)
================================================
FILE: workflows/02GdRzvsuHmSSgBw_#️⃣Nostr_#damus_AI_Powered_Reporting_+_Gmail_+_Telegram.json
================================================
{
"id": "02GdRzvsuHmSSgBw",
"meta": {
"instanceId": "31e69f7f4a77bf465b805824e303232f0227212ae922d12133a0f96ffeab4fef",
"templateCredsSetupCompleted": true
},
"name": "#️⃣Nostr #damus AI Powered Reporting + Gmail + Telegram",
"tags": [],
"nodes": [
{
"id": "e9c4c7bf-0cce-456e-9b95-726669e4b260",
"name": "When clicking ‘Test workflow’",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-500,
-60
],
"parameters": {},
"typeVersion": 1
},
{
"id": "b8f57e15-8a6e-4a29-a6e8-745bebbd1f44",
"name": "Get HTML",
"type": "n8n-nodes-base.markdown",
"position": [
880,
-840
],
"parameters": {
"mode": "markdownToHtml",
"options": {},
"markdown": "={{ $json.text }}"
},
"typeVersion": 1
},
{
"id": "8b212119-9b69-449c-8a3b-4fdc5b085f30",
"name": "Gmail Themes",
"type": "n8n-nodes-base.gmail",
"position": [
1080,
-840
],
"webhookId": "e07f9378-bfa5-48ac-88fd-0ef88a725ede",
"parameters": {
"sendTo": "[email protected]",
"message": "={{ $json.data }}",
"options": {
"appendAttribution": false
},
"subject": "#damus"
},
"credentials": {
"gmailOAuth2": {
"id": "1xpVDEQ1yx8gV022",
"name": "Gmail account"
}
},
"typeVersion": 2.1
},
{
"id": "b7fc214b-72cb-4caf-8563-7b2f13a1110d",
"name": "Get HTML Report",
"type": "n8n-nodes-base.markdown",
"position": [
880,
80
],
"parameters": {
"mode": "markdownToHtml",
"options": {},
"markdown": "={{ $json.text }}"
},
"typeVersion": 1
},
{
"id": "dd7580bc-f97c-4ad1-8556-2329f88bea75",
"name": "#damus Themes List",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
500,
-400
],
"parameters": {
"text": "=Extract a list of themes from this: {{ $json.text }}\n\nDo not include any preamble or further explanation.",
"promptType": "define"
},
"typeVersion": 1.5
},
{
"id": "60a9d8fe-4ba0-4450-8073-4108b832981e",
"name": "#damus Thread Themes",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
500,
-840
],
"parameters": {
"text": "=Tell me the theme and highlight some common threads associated with these Nostr threads that are all #damus. Specifically mention the main reason #damus is hashtagged. These are the threads: {{ $json.content.toJsonString() }}",
"promptType": "define"
},
"typeVersion": 1.5
},
{
"id": "72ab08a7-f729-46e3-8a4d-56005cabaf17",
"name": "#damus Themes & Threads Report",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
500,
80
],
"parameters": {
"text": "=**Task:** Analyze the attached file containing Nostr threads using the hashtag #damus. Provide a detailed report with examples thread based on the following themes. Got deep and seek out the underlying motivation of the users who posted the threads: \n\n## Themes\n{{ $json.text }}\n\n1. **Overall Theme:** Summarize the central topic(s) discussed across the threads.\n2. **Common Threads:** Identify recurring topics or ideas that unify the posts.\n3. **Key Highlights:** Extract specific examples or quotes that illustrate prominent themes.\n4. **Insights and Observations:** Offer insights on how the #damus community engages with the app and its ecosystem.\n5. **Suggestions for Improvement:** If applicable, suggest ways to enhance user experience or community engagement based on the analysis.\n\n**Requirements:**\n- Expand on each theme with comprehensive details and analysis.\n- Use bullet points or numbered lists for clarity.\n- Include relevant quotes or examples from the text to support your analysis.\n- Ensure your response is detailed, well-structured, and easy to read.\n\n**Context:** The analysis should focus on understanding how users interact with Damus, their appreciation for its features, challenges they face, and how it fits into the broader Nostr ecosystem.\n\n## Nostr thread with hashtag #damus: \n{{ $json.content.toJsonString() }}\n\n",
"promptType": "define"
},
"typeVersion": 1.5
},
{
"id": "55362e03-ca0b-4f5e-a7ff-02828522fc7d",
"name": "gemini-2.0-flash-lite-preview",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
600,
-680
],
"parameters": {
"options": {
"temperature": 0.4
},
"modelName": "=models/gemini-2.0-flash-lite-preview"
},
"credentials": {
"googlePalmApi": {
"id": "L9UNQHflYlyF9Ngd",
"name": "Google Gemini(PaLM) Api account"
}
},
"typeVersion": 1
},
{
"id": "7f457b3f-d39b-4062-ada0-5e81f3768857",
"name": "gemini-2.0-flash-lite-preview1",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
600,
-240
],
"parameters": {
"options": {
"temperature": 0.4
},
"modelName": "models/gemini-2.0-flash-lite-preview"
},
"credentials": {
"googlePalmApi": {
"id": "L9UNQHflYlyF9Ngd",
"name": "Google Gemini(PaLM) Api account"
}
},
"typeVersion": 1
},
{
"id": "bd68e36a-2fa7-4b78-96d8-9c4f97388249",
"name": "gemini-2.0-flash-lite-preview2",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
600,
240
],
"parameters": {
"options": {
"temperature": 0.4
},
"modelName": "models/gemini-2.0-flash-lite-preview"
},
"credentials": {
"googlePalmApi": {
"id": "L9UNQHflYlyF9Ngd",
"name": "Google Gemini(PaLM) Api account"
}
},
"typeVersion": 1
},
{
"id": "24f378ca-8a10-441f-886d-136314fa30de",
"name": "Gmail Report",
"type": "n8n-nodes-base.gmail",
"position": [
1080,
80
],
"webhookId": "e07f9378-bfa5-48ac-88fd-0ef88a725ede",
"parameters": {
"sendTo": "[email protected]",
"message": "={{ $json.data }}",
"options": {
"appendAttribution": false
},
"subject": "#damus"
},
"credentials": {
"gmailOAuth2": {
"id": "1xpVDEQ1yx8gV022",
"name": "Gmail account"
}
},
"typeVersion": 2.1
},
{
"id": "f4814872-577a-4243-ac1b-e152e147dca0",
"name": "Aggregate #damus Content",
"type": "n8n-nodes-base.aggregate",
"position": [
120,
-140
],
"parameters": {
"options": {},
"fieldsToAggregate": {
"fieldToAggregate": [
{
"fieldToAggregate": "content"
}
]
}
},
"typeVersion": 1
},
{
"id": "d2079c9e-b743-4353-bda9-e269168f5461",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
360,
-940
],
"parameters": {
"color": 6,
"width": 960,
"height": 420,
"content": "## #damus Threads Themes"
},
"typeVersion": 1
},
{
"id": "5f69afb5-6e3c-4f65-84bb-8c1f4544b2c5",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
360,
-480
],
"parameters": {
"color": 5,
"width": 520,
"height": 420,
"content": "## #damus Threads Themes"
},
"typeVersion": 1
},
{
"id": "6de3d9d2-98be-4102-9ed5-cda48b37eee7",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
360,
-20
],
"parameters": {
"color": 4,
"width": 960,
"height": 420,
"content": "## #damus Threads & Threads Report"
},
"typeVersion": 1
},
{
"id": "42f333ce-bdd7-4950-9ef1-ae797a671f5d",
"name": "Merge Themes and Content",
"type": "n8n-nodes-base.merge",
"position": [
1000,
-160
],
"parameters": {
"mode": "combine",
"options": {},
"combineBy": "combineByPosition"
},
"typeVersion": 3
},
{
"id": "7ff77e60-03ed-4937-b923-74a7f588fd2a",
"name": "Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-500,
-260
],
"parameters": {
"rule": {
"interval": [
{}
]
}
},
"typeVersion": 1.2
},
{
"id": "d1939a96-1e68-4d90-a456-55852c941e28",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-280,
-580
],
"parameters": {
"color": 6,
"width": 340,
"height": 700,
"content": "## Get Nostr Threads with Hashtag #damus\n\nThe social network you control\nYour very own social network for your friends or business.\nAvailable Now on iOS, iPad and macOS (M1/M2)\n\nhttps://nostr.com/\nhttps://damus.io/\nhttps://damus.io/notedeck/\n\n### n8n Community Node https://github.com/ocknamo/n8n-nodes-nostrobots\n"
},
"typeVersion": 1
},
{
"id": "89905442-bf8d-40d2-a9b1-fb3cf3a2ac44",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
940,
-640
],
"parameters": {
"width": 320,
"height": 280,
"content": "## Telegram \n"
},
"typeVersion": 1
},
{
"id": "aee0f3eb-7b0e-4df1-968d-5abe1c22e26a",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
940,
280
],
"parameters": {
"width": 320,
"height": 280,
"content": "## Telegram \n"
},
"typeVersion": 1
},
{
"id": "f6b00109-74ef-4522-b568-6426b054bea3",
"name": "Telegram Themes",
"type": "n8n-nodes-base.telegram",
"position": [
1040,
-560
],
"webhookId": "8406b3d2-5ac6-452d-847f-c0886c8cd058",
"parameters": {
"text": "={{ $json.text.slice(0, 4000) }}",
"chatId": "={{ $env.TELEGRAM_CHAT_ID }}",
"additionalFields": {
"parse_mode": "HTML",
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"id": "pAIFhguJlkO3c7aQ",
"name": "Telegram account"
}
},
"typeVersion": 1.2
},
{
"id": "3e7e9c70-43c6-4074-be9a-2f5ed6c4fb0e",
"name": "Telegram Themes & Threads",
"type": "n8n-nodes-base.telegram",
"position": [
1040,
360
],
"webhookId": "8406b3d2-5ac6-452d-847f-c0886c8cd058",
"parameters": {
"text": "={{ $json.text.slice(0, 4000) }}",
"chatId": "={{ $env.TELEGRAM_CHAT_ID }}",
"additionalFields": {
"parse_mode": "HTML",
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"id": "pAIFhguJlkO3c7aQ",
"name": "Telegram account"
}
},
"typeVersion": 1.2
},
{
"id": "5bc52456-7bbc-445a-8ffd-f47403a4b978",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-580,
-340
],
"parameters": {
"color": 4,
"width": 260,
"height": 460,
"content": "## Try Me!"
},
"typeVersion": 1
},
{
"id": "3b61555e-4e20-41d2-8fb7-490a2488f5f2",
"name": "Nostr Read #damus",
"type": "n8n-nodes-nostrobots.nostrobotsread",
"position": [
-160,
-140
],
"parameters": {
"from": 180,
"hashtag": "#damus",
"strategy": "hashtag"
},
"typeVersion": 1
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "06d6edc0-ed5c-48d1-abe6-22b04368d19b",
"connections": {
"Get HTML": {
"main": [
[
{
"node": "Gmail Themes",
"type": "main",
"index": 0
}
]
]
},
"Get HTML Report": {
"main": [
[
{
"node": "Gmail Report",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Nostr Read #damus",
"type": "main",
"index": 0
}
]
]
},
"Nostr Read #damus": {
"main": [
[
{
"node": "Aggregate #damus Content",
"type": "main",
"index": 0
}
]
]
},
"#damus Themes List": {
"main": [
[
{
"node": "Merge Themes and Content",
"type": "main",
"index": 0
}
]
]
},
"#damus Thread Themes": {
"main": [
[
{
"node": "Get HTML",
"type": "main",
"index": 0
},
{
"node": "#damus Themes List",
"type": "main",
"index": 0
},
{
"node": "Telegram Themes",
"type": "main",
"index": 0
}
]
]
},
"Aggregate #damus Content": {
"main": [
[
{
"node": "#damus Thread Themes",
"type": "main",
"index": 0
},
{
"node": "Merge Themes and Content",
"type": "main",
"index": 1
}
]
]
},
"Merge Themes and Content": {
"main": [
[
{
"node": "#damus Themes & Threads Report",
"type": "main",
"index": 0
}
]
]
},
"gemini-2.0-flash-lite-preview": {
"ai_languageModel": [
[
{
"node": "#damus Thread Themes",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"#damus Themes & Threads Report": {
"main": [
[
{
"node": "Get HTML Report",
"type": "main",
"index": 0
},
{
"node": "Telegram Themes & Threads",
"type": "main",
"index": 0
}
]
]
},
"gemini-2.0-flash-lite-preview1": {
"ai_languageModel": [
[
{
"node": "#damus Themes List",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"gemini-2.0-flash-lite-preview2": {
"ai_languageModel": [
[
{
"node": "#damus Themes & Threads Report",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"When clicking ‘Test workflow’": {
"main": [
[
{
"node": "Nostr Read #damus",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/0KZs18Ti2KXKoLIr_✨🩷Automated_Social_Media_Content_Publishing_Factory_+_System_Prompt_Composition.json
================================================
{
"id": "0KZs18Ti2KXKoLIr",
"meta": {
"instanceId": "31e69f7f4a77bf465b805824e303232f0227212ae922d12133a0f96ffeab4fef",
"templateCredsSetupCompleted": true
},
"name": "✨🩷Automated Social Media Content Publishing Factory + System Prompt Composition",
"tags": [],
"nodes": [
{
"id": "74fb48a6-1acd-4693-9b8e-39b36c5649a9",
"name": "When chat message received",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-520,
-2080
],
"webhookId": "faddb40a-7048-4398-a0f9-d239a19c32ce",
"parameters": {
"options": {}
},
"typeVersion": 1.1
},
{
"id": "09f4a998-2d69-4683-9251-2694a77efeba",
"name": "Sticky Note20",
"type": "n8n-nodes-base.stickyNote",
"position": [
-600,
-1720
],
"parameters": {
"color": 7,
"height": 240,
"content": "## LLM"
},
"typeVersion": 1
},
{
"id": "03b93e0b-a917-41f6-b99e-5a27ad07cd3e",
"name": "Sticky Note21",
"type": "n8n-nodes-base.stickyNote",
"position": [
-600,
-1460
],
"parameters": {
"color": 7,
"height": 240,
"content": "## Chat Memory"
},
"typeVersion": 1
},
{
"id": "b6c61fe5-a519-4bdb-8641-3149362fbb54",
"name": "Sticky Note22",
"type": "n8n-nodes-base.stickyNote",
"position": [
-620,
-2160
],
"parameters": {
"color": 4,
"width": 300,
"height": 280,
"content": "## 👍Start Here"
},
"typeVersion": 1
},
{
"id": "2cf0448a-76de-4b2c-a200-953d47e29a52",
"name": "Sticky Note32",
"type": "n8n-nodes-base.stickyNote",
"position": [
1980,
-2000
],
"parameters": {
"color": 2,
"width": 340,
"height": 420,
"content": "## Social Media Publishing Router"
},
"typeVersion": 1
},
{
"id": "dff757e6-8ef4-4479-a9f8-71cb814fb8ef",
"name": "Sticky Note33",
"type": "n8n-nodes-base.stickyNote",
"position": [
-300,
-1640
],
"parameters": {
"color": 6,
"height": 240,
"content": "## 1️⃣ X - Twitter"
},
"typeVersion": 1
},
{
"id": "fda64627-952a-4be9-b4c5-799d8c7801ad",
"name": "X-Twiter",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
-220,
-1540
],
"parameters": {
"name": "create_x_twitter_posts_tool",
"fields": {
"values": [
{
"name": "route",
"stringValue": "=xtwitter"
},
{
"name": "user_prompt",
"stringValue": "={{ $('When chat message received').item.json.chatInput }}"
}
]
},
"workflowId": {
"__rl": true,
"mode": "id",
"value": "={{ $workflow.id }}"
},
"description": "Use this tool to create XTwitter posts",
"jsonSchemaExample": ""
},
"typeVersion": 1.2
},
{
"id": "5023b0b3-468b-4cbb-829c-e06aaf822b99",
"name": "Sticky Note34",
"type": "n8n-nodes-base.stickyNote",
"position": [
-40,
-1640
],
"parameters": {
"color": 6,
"height": 240,
"content": "## 2️⃣ Instagram"
},
"typeVersion": 1
},
{
"id": "781df8c5-0b06-42a4-bbe9-6948ae345599",
"name": "Instagram",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
40,
-1540
],
"parameters": {
"name": "create_instagram_posts_tool",
"fields": {
"values": [
{
"name": "route",
"stringValue": "=instagram"
},
{
"name": "user_prompt",
"stringValue": "={{ $('When chat message received').item.json.chatInput }}"
}
]
},
"workflowId": {
"__rl": true,
"mode": "id",
"value": "={{ $workflow.id }}"
},
"description": "Use this tool to create Instagram posts",
"jsonSchemaExample": ""
},
"typeVersion": 1.2
},
{
"id": "8687d1ff-06ee-44c7-a26e-f08da72bbd15",
"name": "Window Buffer Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
-520,
-1360
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "30cbcc50-e19b-43ea-8f0a-5e2021dc5e48",
"name": "When Executed by Another Workflow",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
-700,
-560
],
"parameters": {
"workflowInputs": {
"values": [
{
"name": "user_prompt"
},
{
"name": "route"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "0b9b7f07-d603-4890-96b0-f815feb38185",
"name": "Sticky Note35",
"type": "n8n-nodes-base.stickyNote",
"position": [
220,
-1640
],
"parameters": {
"color": 6,
"height": 240,
"content": "## 3️⃣ Facebook"
},
"typeVersion": 1
},
{
"id": "12b17b82-8f98-4d80-9b49-aa9860827e01",
"name": "Sticky Note36",
"type": "n8n-nodes-base.stickyNote",
"position": [
480,
-1640
],
"parameters": {
"color": 6,
"height": 240,
"content": "## 4️⃣ LinkedIn"
},
"typeVersion": 1
},
{
"id": "71dc9ccf-3691-4c0d-b53b-f3ff10f382a9",
"name": "Facebook",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
300,
-1540
],
"parameters": {
"name": "create_facebook_posts_tool",
"fields": {
"values": [
{
"name": "route",
"stringValue": "=facebook"
},
{
"name": "user_prompt",
"stringValue": "={{ $('When chat message received').item.json.chatInput }}"
}
]
},
"workflowId": {
"__rl": true,
"mode": "id",
"value": "={{ $workflow.id }}"
},
"description": "Use this tool to create Facebook posts",
"jsonSchemaExample": ""
},
"typeVersion": 1.2
},
{
"id": "f953cd87-88a8-451f-841e-78227949b64d",
"name": "LinkedIn",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
560,
-1540
],
"parameters": {
"name": "create_linkedin_posts_tool",
"fields": {
"values": [
{
"name": "route",
"stringValue": "=linkedin"
},
{
"name": "user_prompt",
"stringValue": "={{ $('When chat message received').item.json.chatInput }}"
}
]
},
"workflowId": {
"__rl": true,
"mode": "id",
"value": "={{ $workflow.id }}"
},
"description": "Use this tool to create LinkedIn posts",
"jsonSchemaExample": ""
},
"typeVersion": 1.2
},
{
"id": "97b6829d-6c9d-410a-8fa0-d89d884fd76e",
"name": "Sticky Note37",
"type": "n8n-nodes-base.stickyNote",
"position": [
-40,
-1380
],
"parameters": {
"color": 6,
"height": 240,
"content": "## 5️⃣Threads"
},
"typeVersion": 1
},
{
"id": "463259f7-71b4-492f-b05a-d1a958917d5c",
"name": "Sticky Note38",
"type": "n8n-nodes-base.stickyNote",
"position": [
220,
-1380
],
"parameters": {
"color": 6,
"height": 240,
"content": "## 6️⃣YouTube Shorts"
},
"typeVersion": 1
},
{
"id": "0cd9003b-8eeb-4e4a-9f1f-5f6b611d5194",
"name": "Short",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
40,
-1280
],
"parameters": {
"name": "create_threads_posts_tool",
"fields": {
"values": [
{
"name": "route",
"stringValue": "=threads"
},
{
"name": "user_prompt",
"stringValue": "={{ $('When chat message received').item.json.chatInput }}"
}
]
},
"workflowId": {
"__rl": true,
"mode": "id",
"value": "={{ $workflow.id }}"
},
"description": "Use this tool to create Threads posts",
"jsonSchemaExample": ""
},
"typeVersion": 1.2
},
{
"id": "54c2bf4b-8053-4e9d-beb4-570db66f9bd4",
"name": "YouTube Short",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
300,
-1280
],
"parameters": {
"name": "create_youtube_short_tool",
"fields": {
"values": [
{
"name": "route",
"stringValue": "=youtube_short"
},
{
"name": "user_prompt",
"stringValue": "={{ $('When chat message received').item.json.chatInput }}"
},
{
"name": "llm",
"stringValue": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Value', ``, 'string') }}"
}
]
},
"workflowId": {
"__rl": true,
"mode": "id",
"value": "={{ $workflow.id }}"
},
"description": "Use this tool to create a YouTube short",
"jsonSchemaExample": ""
},
"typeVersion": 1.2
},
{
"id": "a72c3242-3a8b-444f-9623-fbcb0b47a817",
"name": "Sticky Note18",
"type": "n8n-nodes-base.stickyNote",
"position": [
-340,
-1720
],
"parameters": {
"color": 7,
"width": 1100,
"height": 620,
"content": "## Social Media Agent Tools"
},
"typeVersion": 1
},
{
"id": "586a33ae-3546-4b31-9235-9a8fcfd28598",
"name": "Sticky Note25",
"type": "n8n-nodes-base.stickyNote",
"position": [
-500,
-940
],
"parameters": {
"color": 6,
"width": 3520,
"height": 820,
"content": "# 🏭Social Media Content Factory"
},
"typeVersion": 1
},
{
"id": "153da903-fcd3-4694-aaa4-bef2b300d158",
"name": "pollinations.ai1",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueErrorOutput",
"maxTries": 5,
"position": [
1440,
-560
],
"parameters": {
"url": "=https://image.pollinations.ai/prompt/{{ $json.output.common_schema.image_suggestion.replaceAll(' ','-').replaceAll(',','').replaceAll('.','').slice(0,100) }}",
"options": {}
},
"retryOnFail": true,
"typeVersion": 4.2
},
{
"id": "6c114f0b-1395-4fe6-8de7-0b3d0d9fd6b2",
"name": "Sticky Note26",
"type": "n8n-nodes-base.stickyNote",
"position": [
1340,
-720
],
"parameters": {
"color": 7,
"width": 300,
"height": 340,
"content": "## Create Post Image\nhttps://pollinations.ai/\nhttps://image.pollinations.ai/prompt/[your image description]\n\n"
},
"typeVersion": 1
},
{
"id": "e196ea9b-f5d0-4fa6-a3d9-bea2f98fd872",
"name": "Save Image to imgbb.com",
"type": "n8n-nodes-base.httpRequest",
"position": [
1760,
-680
],
"parameters": {
"url": "https://api.imgbb.com/1/upload",
"method": "POST",
"options": {
"redirect": {
"redirect": {}
}
},
"sendBody": true,
"sendQuery": true,
"contentType": "multipart-form-data",
"bodyParameters": {
"parameters": [
{
"name": "image",
"parameterType": "formBinaryData",
"inputDataFieldName": "data"
}
]
},
"queryParameters": {
"parameters": [
{
"name": "expiration",
"value": "0"
},
{
"name": "key",
"value": "={{ $env.IMGBB_API_KEY}} "
}
]
}
},
"typeVersion": 4.2
},
{
"id": "225e34be-26ee-40d7-88d6-e866420e083a",
"name": "Sticky Note41",
"type": "n8n-nodes-base.stickyNote",
"position": [
1980,
-2280
],
"parameters": {
"width": 340,
"height": 180,
"content": "💡Notes\n\nUpdate all Social Media Platform Credentials as required.\n\nAdjust parameters and content for each platform to suit your needs."
},
"typeVersion": 1
},
{
"id": "2f48f19d-92c1-478a-b7fa-3fc3b1100993",
"name": "Sticky Note42",
"type": "n8n-nodes-base.stickyNote",
"position": [
1240,
-1760
],
"parameters": {
"color": 4,
"width": 400,
"height": 360,
"content": "# 👍 Approve Content Before Proceeding"
},
"typeVersion": 1
},
{
"id": "ce4e9f3c-801a-478e-8ffc-008c5e7d4e49",
"name": "Gmail",
"type": "n8n-nodes-base.gmail",
"position": [
2640,
-780
],
"webhookId": "cfc2a53d-14a7-47e1-8385-c0b0792d9843",
"parameters": {
"sendTo": "={{ $env.TELEGRAM_CHAT_ID }}",
"message": "={{ $json.output }}",
"options": {
"appendAttribution": false
},
"subject": "=Social Media Content - {{ $('Social Content').item.json.output.title }}"
},
"credentials": {
"gmailOAuth2": {
"id": "1xpVDEQ1yx8gV022",
"name": "Gmail account"
}
},
"typeVersion": 2.1
},
{
"id": "31ee0735-c863-476c-9c4a-41b50ae9c61a",
"name": "Social Media Schema",
"type": "n8n-nodes-base.googleDocs",
"position": [
-320,
-700
],
"parameters": {
"operation": "get",
"documentURL": "=12345"
},
"credentials": {
"googleDocsOAuth2Api": {
"id": "YWEHuG28zOt532MQ",
"name": "Google Docs account"
}
},
"typeVersion": 2
},
{
"id": "18cfde4e-2637-496c-acca-070bdb84c2ba",
"name": "Social Media System Prompt",
"type": "n8n-nodes-base.googleDocs",
"position": [
-320,
-420
],
"parameters": {
"operation": "get",
"documentURL": "=12345"
},
"credentials": {
"googleDocsOAuth2Api": {
"id": "YWEHuG28zOt532MQ",
"name": "Google Docs account"
}
},
"typeVersion": 2
},
{
"id": "383ce472-ccf8-47fb-aa36-5b8aacbcd64f",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-440,
-840
],
"parameters": {
"color": 7,
"width": 1120,
"height": 640,
"content": "## Prompt & Schema Composition from External Sources"
},
"typeVersion": 1
},
{
"id": "8d2a2a64-bbaa-4692-94ed-2f541d0d40ca",
"name": "gpt-40-mini",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
2320,
-600
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini",
"cachedResultName": "gpt-4o-mini"
},
"options": {
"responseFormat": "text"
}
},
"credentials": {
"openAiApi": {
"id": "jEMSvKmtYfzAkhe6",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "6e5faa4d-25a1-4dbe-998e-3255ed181ac5",
"name": "Instagram Image",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueRegularOutput",
"position": [
2440,
-1940
],
"parameters": {
"url": "https://graph.facebook.com/v20.0/[your-unique-id]/media",
"method": "POST",
"options": {},
"sendQuery": true,
"authentication": "predefinedCredentialType",
"queryParameters": {
"parameters": [
{
"name": "image_url",
"value": "={{ $json.output.social_image.medium.url }}"
},
{
"name": "caption",
"value": "={{ $json.output.caption }}"
}
]
},
"nodeCredentialType": "facebookGraphApi"
},
"credentials": {
"facebookGraphApi": {
"id": "PzDfmiwB7GPtmSaP",
"name": "Facebook Graph account"
}
},
"typeVersion": 4.2
},
{
"id": "958793c8-7a74-498f-ac75-256232469fbc",
"name": "X Post",
"type": "n8n-nodes-base.twitter",
"onError": "continueRegularOutput",
"position": [
2640,
-2180
],
"parameters": {
"text": "={{ $json.data.social_content.schema.post }}",
"additionalFields": {}
},
"credentials": {
"twitterOAuth2Api": {
"id": "wRDruLTCqjQ7C5jq",
"name": "X account"
}
},
"typeVersion": 2,
"alwaysOutputData": true
},
{
"id": "1f04a4b5-e97d-4574-abdb-270265da77fa",
"name": "Instragram Post",
"type": "n8n-nodes-base.facebookGraphApi",
"onError": "continueRegularOutput",
"position": [
2640,
-2000
],
"parameters": {
"edge": "media_publish",
"node": "[your-unique-id]",
"options": {
"queryParameters": {
"parameter": [
{
"name": "creation_id",
"value": "={{ $json.id }}"
},
{
"name": "caption",
"value": "={{ $('Social Media Publishing Router').item.json.output.caption }}"
}
]
}
},
"graphApiVersion": "v20.0",
"httpRequestMethod": "POST"
},
"credentials": {
"facebookGraphApi": {
"id": "PzDfmiwB7GPtmSaP",
"name": "Facebook Graph account"
}
},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "92a917ff-d20d-4bbc-be8f-00e17be83ea2",
"name": "Facebook Post",
"type": "n8n-nodes-base.facebookGraphApi",
"onError": "continueRegularOutput",
"position": [
2640,
-1820
],
"parameters": {
"edge": "photos",
"node": "[your-unique-id]",
"options": {
"queryParameters": {
"parameter": [
{
"name": "message",
"value": "={{ $json.output.post }}\n\n{{ $json.output.call_to_action }}\n"
}
]
}
},
"sendBinaryData": true,
"graphApiVersion": "v20.0",
"httpRequestMethod": "POST",
"binaryPropertyName": "data"
},
"credentials": {
"facebookGraphApi": {
"id": "PzDfmiwB7GPtmSaP",
"name": "Facebook Graph account"
}
},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "6c80332d-1aaf-4f3a-91fd-58c25f20ee0c",
"name": "LinkedIn Post",
"type": "n8n-nodes-base.linkedIn",
"onError": "continueRegularOutput",
"position": [
2640,
-1640
],
"parameters": {
"text": "={{ $json.data.social_content.schema.post }}\n{{ $json.data.social_content.schema.call_to_action }}\n{{ $json.data.social_content.common_schema.hashtags }}\n",
"postAs": "organization",
"organization": "12345678",
"additionalFields": {},
"binaryPropertyName": "=data",
"shareMediaCategory": "IMAGE"
},
"credentials": {
"linkedInOAuth2Api": {
"id": "WMm6pzAEgNd4wJdO",
"name": "LinkedIn account"
}
},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "f9d80261-8543-4a12-969c-eecd58513ef2",
"name": "Gmail User for Approval",
"type": "n8n-nodes-base.gmail",
"position": [
1380,
-1600
],
"webhookId": "abfae12d-ddcf-4981-ad33-bb7a8cc115a2",
"parameters": {
"sendTo": "={{ $env.TELEGRAM_CHAT_ID }}",
"message": "={{ $json.output }}",
"options": {
"limitWaitTime": {
"values": {
"resumeUnit": "minutes",
"resumeAmount": 45
}
}
},
"subject": "=🔥FOR APPROVAL🔥 {{$('Extract as JSON').item.json.data.social_content.root_schema.name }}",
"operation": "sendAndWait",
"approvalOptions": {
"values": {
"approvalType": "double"
}
}
},
"credentials": {
"gmailOAuth2": {
"id": "1xpVDEQ1yx8gV022",
"name": "Gmail account"
}
},
"typeVersion": 2.1
},
{
"id": "97c2dec9-9e1e-4a42-9538-8a37392114e6",
"name": "Get Social Post Image",
"type": "n8n-nodes-base.httpRequest",
"position": [
1640,
-1340
],
"parameters": {
"url": "={{ $('Extract as JSON').item.json.data.social_image.medium.url }}",
"options": {}
},
"retryOnFail": true,
"typeVersion": 4.2
},
{
"id": "b5b6b7b9-d275-4c1a-a3c5-195b13be1538",
"name": "gpt-40-mini1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
860,
-1420
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini",
"cachedResultName": "gpt-4o-mini"
},
"options": {
"responseFormat": "text"
}
},
"credentials": {
"openAiApi": {
"id": "jEMSvKmtYfzAkhe6",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "0b5b8237-9e34-44b7-82d9-372a12c67546",
"name": "gpt-4o-mini",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
780,
-360
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini",
"cachedResultName": "gpt-4o-mini"
},
"options": {
"responseFormat": "json_object"
}
},
"credentials": {
"openAiApi": {
"id": "jEMSvKmtYfzAkhe6",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "df61bbeb-1432-434b-9993-18362dba097f",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1840,
-1220
],
"parameters": {
"color": 5,
"width": 760,
"height": 1540,
"content": "<system>\nYou are a specialized content creation AI for social media platforms.\nYour primary function is generating platform-optimized social media content across various platforms including LinkedIn, Instagram, Facebook, Twitter (X), Threads, and YouTube Shorts. Each piece of content must:\nMatch the specific platform's audience expectations and algorithm preferences\nShowcase relevant expertise in your field\nDeliver actionable insights for your target audience\nDrive meaningful engagement through value-driven content\nOBJECTIVES:\nCreate platform-specific content following each platform's best practices\nImplement strategic hashtag usage combining general and trending tags\nDesign content that encourages user interaction and community building\nMaintain consistent brand voice while adapting to platform requirements\nIncorporate data-driven insights to maximize content performance\nOUTPUT REQUIREMENTS:\nDeliver content in valid JSON format according to the platform-specific schema\nInclude all required fields as specified in the schema\nOmit any explanatory text or code fencing in your response\nTailor content specifically to the platform indicated in the user's request\nFor each content request, adapt your output based on the platform guidelines. Never provide URLS for video or image suggestions and only describe the suggestion.\n</system>\n\n\n<rules>\nOnly provide final response in valid JSON for the appropriate social platform\nNever include any preamble or further explanation\nAlways remove any ``` ```json\n</rules>\n\n\n<linkedin>\n**Style**: Professional and insightful.\n**Tone**: Business-oriented; focus on automation use cases, industry insights, and community impact.\n**Content Length**: 3-4 sentences; concise but detailed.\n**Hashtags**: #Innovation #Automation #WorkflowSolutions #DigitalTransformation #Leadership\n**Call to Action (CTA)**: Encourage comments or visits to workflows.diy's website for more insights.\n</linkedin>\n\n<instagram>\n**Style**: Visual storytelling with creative captions.\n**Tone**: Inspirational and engaging; use emojis for relatability.\n**Content Length**: 2-3 sentences paired with eye-catching visuals (e.g., infographics or workflow demos).\n**Visuals**: Showcase milestones (e.g., new workflow launches), tutorials, or product highlights.\n**CTA**: Use phrases like \"Swipe to learn more,\" \"Tag your team,\" or \"Check out the link below!\"\n**Link Placement**: Add the provided link before hashtags; if no link is provided, use \"Visit our website: https://example.com\"\n**Hashtags**: #AutomationLife #TechInnovation #WorkflowTips #Programming #Engineering\n</instagram>\n\n<facebook>\n**Style**: Friendly and community-focused.\n**Tone**: Relatable; highlight user success stories or company achievements in automation.\n**Content Length**: 2-3 sentences; conversational yet professional.\n**Hashtags**: #SmallBusinessAutomation #Entrepreneurship #Leadership #WorkflowInnovation\n**CTA**: Encourage likes, shares, comments (e.g., \"What's your favorite automation tip?\").\n</facebook>\n\n<xtwitter>\n**Style**: Concise and impactful.\n**Tone**: Crisp and engaging; spark curiosity in 150 characters or less.\n**Hashtags**: #WorkflowTrends #AIWorkflows #AutomationTips #NoCodeSolutions\n**CTA**: Drive quick engagement through retweets or replies (e.g., \"What's your go-to n8n workflow?\").\n</xtwitter>\n\n<threads>\n**Style**: Conversational and community-driven posts.\n**Tone**: Casual yet informative; encourage discussions around automation trends or innovations.\n**Content Length**: 1-2 short paragraphs with a question or thought-provoking statement at the end.\n**Hashtags**: Similar to Instagram but tailored for trending Threads topics related to automation.\n</threads>\n\n<youtube_short>\n**Style**: Short-form video content showcasing quick workflow tutorials or use cases.\n**Tone**: Authoritative yet approachable; establish workflows.diy as a leader in n8n automation solutions.\n**Content Length**:\n Tutorials/Reviews (long-form): 5-10 minutes\n Shorts/Highlights (short-form): Under 1 minute\n**CTA**: Encourage subscriptions, likes, comments (e.g., \"Subscribe for more workflow tips!\").\n</youtube_short>\n\n\n\n\n"
},
"typeVersion": 1
},
{
"id": "ddf3d7d3-0218-4ba0-b990-34a6220a53fa",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1060,
-1220
],
"parameters": {
"color": 3,
"height": 1540,
"content": "<common>\n{\n \"type\": \"object\",\n \"properties\": {\n \"hashtags\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"image_suggestion\": {\n \"type\": \"string\"\n }\n }\n}\n</common>\n\n<root>\n{\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"additional_notes\": {\n \"type\": \"string\"\n }\n }\n}\n</root>\n\n<linkedin>\n{\n \"type\": \"object\",\n \"properties\": {\n \"post\": {\n \"type\": \"string\"\n },\n \"call_to_action\": {\n \"type\": \"string\"\n }\n }\n}\n</linkedin>\n\n<instagram>\n{\n \"type\": \"object\",\n \"properties\": {\n \"caption\": {\n \"type\": \"string\"\n },\n \"emojis\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"call_to_action\": {\n \"type\": \"string\"\n }\n }\n}\n</instagram>\n\n<facebook>\n{\n \"type\": \"object\",\n \"properties\": {\n \"post\": {\n \"type\": \"string\"\n },\n \"call_to_action\": {\n \"type\": \"string\"\n }\n }\n}\n</facebook>\n\n<xtwitter>\n{\n \"type\": \"object\",\n \"properties\": {\n \"video_suggestion\": {\n \"type\": \"string\"\n },\n \"post\": {\n \"type\": \"string\"\n },\n \"character_limit\": {\n \"type\": \"integer\"\n }\n }\n}\n</xtwitter>\n\n<threads>\n{\n \"type\": \"object\",\n \"properties\": {\n \"text_post\": {\n \"type\": \"string\"\n },\n \"call_to_action\": {\n \"type\": \"string\"\n }\n }\n}\n</threads>\n\n<youtube_short>\n{\n \"type\": \"object\",\n \"properties\": {\n \"video_suggestion\": {\n \"type\": \"string\"\n },\n \"title\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"call_to_action\": {\n \"type\": \"string\"\n }\n }\n}\n</youtube_short>\n\n\n\n"
},
"typeVersion": 1
},
{
"id": "72b378bd-6035-45da-8c76-ddd897d107c7",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-400,
-480
],
"parameters": {
"color": 5,
"width": 260,
"height": 240,
"content": "### 👈System Prompt"
},
"typeVersion": 1
},
{
"id": "ba60e52d-722a-4f07-86b4-f4ea64cb2bab",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-400,
-760
],
"parameters": {
"color": 3,
"width": 260,
"height": 240,
"content": "### 👈Social Media Schema"
},
"typeVersion": 1
},
{
"id": "bc1ff038-26ad-44d6-94d1-2c1f72a9bf87",
"name": "Schema",
"type": "n8n-nodes-base.set",
"position": [
-60,
-700
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "9d6d41f2-7216-4659-af34-7215298494d9",
"name": "schema",
"type": "string",
"value": "={{ $json.content }}"
},
{
"id": "7d8c85f5-3f4a-4d72-bef0-0957c6ce82a4",
"name": "platform",
"type": "string",
"value": "={{ $('When Executed by Another Workflow').item.json.route }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "777d231c-f69c-4b48-bec5-6674175703bc",
"name": "System Prompt",
"type": "n8n-nodes-base.set",
"position": [
-60,
-420
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "5f789b37-b021-4cd4-b359-fdfbb9b71c2b",
"name": "system_prompt_doc_id",
"type": "string",
"value": "={{ $json.documentId }}"
},
{
"id": "daac5758-38ad-4afe-966b-a9b4b89691b2",
"name": "system_prompt",
"type": "string",
"value": "={{ $json.content }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "3813a552-cf99-49ca-9617-7eaac56f6819",
"name": "Parse Schema",
"type": "n8n-nodes-base.code",
"position": [
140,
-700
],
"parameters": {
"jsCode": "// Get the input data from previous node\nconst inputData = $input.first().json;\nconst xmlString = inputData.schema;\n\nconsole.log(inputData)\n\n// Function to extract content between XML tags with better regex handling\nfunction extractFromXmlTags(xmlString, tagName) {\n const regex = new RegExp(`<${tagName}>(.*?)<\\/${tagName}>`, 'gs');\n const match = regex.exec(xmlString);\n return match ? match[1].trim() : null;\n}\n\n// Get the platform from the input or use a default\nconst platform = inputData.platform;\n\n// Extract the content from the specified tag\nconst extractedContent = extractFromXmlTags(xmlString, platform);\nconst rootContent = extractFromXmlTags(xmlString, 'root');\nconst commonContent = extractFromXmlTags(xmlString, 'common');\n\njsonData = JSON.parse(extractedContent);\nrootSchema = JSON.parse(rootContent);\ncommonSchema = JSON.parse(commonContent);\n\n// Return the result\nreturn {\n json: {\n schema: jsonData,\n root_schema: rootSchema,\n common_schema: commonSchema\n }\n};\n"
},
"typeVersion": 2
},
{
"id": "c55da4a1-91f8-4d17-ad73-730013a99231",
"name": "Parse System Prompt",
"type": "n8n-nodes-base.code",
"position": [
140,
-420
],
"parameters": {
"jsCode": "// Get the input data from previous node\nconst inputData = $input.first().json;\nconst xmlString = inputData.system_prompt;\n\n// Function to extract all content between XML tags\nfunction extractAllXmlTags(xmlString) {\n // Create a result object to store tag contents\n const result = {};\n \n // Regular expression to find all XML tags and their content\n // This regex matches opening tag, content, and closing tag\n const tagRegex = /<([^>\\/]+)>([\\s\\S]*?)<\\/\\1>/g;\n \n // Find all matches\n let match;\n while ((match = tagRegex.exec(xmlString)) !== null) {\n const tagName = match[1].trim();\n const content = match[2].trim();\n \n // Store the content with the tag name as the key\n result[tagName] = content;\n }\n \n return result;\n}\n\n// Extract all XML tags and their content\nconst extractedTags = extractAllXmlTags(xmlString);\n\n// Return the result as a JSON object\nreturn {\n json: {\n system_config: extractedTags\n }\n};\n"
},
"typeVersion": 2
},
{
"id": "1767c787-943b-43d6-86cb-3fb60eaf878e",
"name": "Compose Prompt & Schema",
"type": "n8n-nodes-base.set",
"position": [
520,
-560
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "9216ad1c-a281-4c94-835d-e20507ef0cb5",
"name": "route",
"type": "string",
"value": "={{ $json.route }}"
},
{
"id": "e6ca5cdf-5139-4db7-b065-ee52028216c5",
"name": "user_prompt",
"type": "string",
"value": "={{ $json.user_prompt }}"
},
{
"id": "2927cd6f-c351-49df-954b-9f87b0338c58",
"name": "system_config.system",
"type": "string",
"value": "={{ $json.system_config.system }}"
},
{
"id": "829b1519-9ffa-44d7-8caa-455e15b30614",
"name": "system_config.rules",
"type": "string",
"value": "={{ $json.system_config.rules }}"
},
{
"id": "b44472ba-6e98-448b-bad6-e02da8b32b0a",
"name": "={{ $json.route }}",
"type": "string",
"value": "={{ $json.system_config[$json.route.toLowerCase()] }}"
},
{
"id": "a96e8c30-1d44-4e23-9ef4-95d7303ea41e",
"name": "root_schema",
"type": "object",
"value": "={{ $json.root_schema }}"
},
{
"id": "6cb68192-10f3-496d-88ca-289ee0c19940",
"name": "common_schema",
"type": "object",
"value": "={{ $json.common_schema }}"
},
{
"id": "8f9b85f0-abaa-46c2-ba98-897f6a677105",
"name": "schema",
"type": "object",
"value": "={{ $json.schema }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "b7d78f57-ee83-4e03-ada6-fd6e2048c272",
"name": "Social Media Content Creator",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
800,
-560
],
"parameters": {
"text": "=Social Media Platform: {{ $json.route }}\nUser Prompt: {{ $json.user_prompt }}\n",
"options": {
"systemMessage": "={{ $json.system_config.system }}\n\n<tools>\nYou have been provided with an internet search tool. Use this tool to find relavent information about the users request before responding. Todays date is: {{ $now }}\n</tools>\n\n<rules>\n{{ $json.system_config.rules }}\n- Output must conform to provided JSON schema\n</rules>\n\nFollow this Output JSON Schema:\n{\n root_schema: {{ $json.root_schema.toJsonString() }},\n common_schema: {{ $json.common_schema.toJsonString()}},\n schema: {{ $json.schema.toJsonString() }}\n}"
},
"promptType": "define"
},
"typeVersion": 1.7
},
{
"id": "35469698-0eb5-4238-85d1-c67ccbacf2cb",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1880,
-1400
],
"parameters": {
"color": 7,
"width": 1100,
"height": 1760,
"content": "# External System Prompt and Schema"
},
"typeVersion": 1
},
{
"id": "12b55edd-ff51-423b-a153-96a8a2a09678",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
2380,
-2280
],
"parameters": {
"color": 6,
"width": 700,
"height": 1240,
"content": "# 📄 Publish to Social Media "
},
"typeVersion": 1
},
{
"id": "78cd8af0-c10c-4bf5-8420-63061e7687bc",
"name": "Merge Prompts and Schema",
"type": "n8n-nodes-base.merge",
"position": [
340,
-560
],
"parameters": {
"mode": "combine",
"options": {},
"combineBy": "combineByPosition",
"numberInputs": 3
},
"typeVersion": 3
},
{
"id": "e7a62296-729b-45df-bd15-002ccaae2fa0",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
720,
-680
],
"parameters": {
"width": 400,
"height": 480,
"content": "## Social Media Content Creator"
},
"typeVersion": 1
},
{
"id": "f6cb5a95-4047-4e41-a635-a73681fe6d8b",
"name": "Social Content",
"type": "n8n-nodes-base.set",
"position": [
1180,
-560
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "8c318996-aa79-4970-b8d7-33ae1931c8c6",
"name": "output",
"type": "object",
"value": "={{ $json.output }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "148df311-24db-4243-bc62-1a51579720d7",
"name": "Save Image to Google Drive",
"type": "n8n-nodes-base.googleDrive",
"position": [
1760,
-480
],
"parameters": {
"name": "={{ $json.output.root_schema.name.replaceAll(' ','-').replaceAll(',','').replaceAll('.','') }}",
"driveId": {
"__rl": true,
"mode": "id",
"value": "=My Drive"
},
"options": {},
"folderId": {
"__rl": true,
"mode": "id",
"value": "=12345"
}
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "UhdXGYLTAJbsa0xX",
"name": "Google Drive account"
}
},
"typeVersion": 3
},
{
"id": "f84ab889-d193-4d9a-8e8b-4f35805edaa4",
"name": "Merge",
"type": "n8n-nodes-base.merge",
"position": [
1980,
-560
],
"parameters": {
"mode": "combine",
"options": {
"includeUnpaired": true
},
"combineBy": "combineByPosition",
"numberInputs": 3
},
"typeVersion": 3
},
{
"id": "ca43646b-ca79-4ff6-ac02-da4f668e7aeb",
"name": "Sticky Note8",
"type": "n8n-nodes-base.stickyNote",
"position": [
2200,
-880
],
"parameters": {
"color": 7,
"width": 660,
"height": 420,
"content": "## Send Social Media Image and Post Contents to Gmail\n(optional)"
},
"typeVersion": 1
},
{
"id": "cf7bda38-260f-42c0-b60a-6a93181712de",
"name": "Sticky Note9",
"type": "n8n-nodes-base.stickyNote",
"position": [
2120,
-420
],
"parameters": {
"color": 7,
"width": 840,
"height": 260,
"content": "## Prepare Social Media Post and Save to Google Drive"
},
"typeVersion": 1
},
{
"id": "13cafb9c-5f04-4193-8f0e-0384f68d5e45",
"name": "Save Social Post to Google Drive",
"type": "n8n-nodes-base.googleDrive",
"position": [
2560,
-340
],
"parameters": {
"name": "={{ $json.response.google_drive_image.id }}",
"content": "={{ $json.response.toJsonString() }}",
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive"
},
"options": {},
"folderId": {
"__rl": true,
"mode": "id",
"value": "= 12345"
},
"operation": "createFromText"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "UhdXGYLTAJbsa0xX",
"name": "Google Drive account"
}
},
"typeVersion": 3
},
{
"id": "2bdecf8d-e180-4795-92c2-6158adf71daf",
"name": "Google Drive Image Meta",
"type": "n8n-nodes-base.set",
"position": [
2200,
-340
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "769d86e6-3764-4023-8932-f25f7d4fe34a",
"name": "id",
"type": "string",
"value": "={{ $json.id }}"
},
{
"id": "4ccae0cc-d246-477c-9e94-3be461134d01",
"name": "webContentLink",
"type": "string",
"value": "={{ $json.webContentLink }}"
},
{
"id": "74e22694-c7e6-4598-8e87-8ea6ae00144e",
"name": "webViewLink",
"type": "string",
"value": "={{ $json.webViewLink }}"
},
{
"id": "e8eedbbf-7d42-475b-a748-0afbe8b730da",
"name": "thumbnailLink",
"type": "string",
"value": "={{ $json.thumbnailLink }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "d6e4902a-af19-45a4-8253-432135e17998",
"name": "Social Post JSON",
"type": "n8n-nodes-base.set",
"position": [
2380,
-340
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "b705af39-d286-4461-956c-d963ea151734",
"name": "response",
"type": "object",
"value": "={ \n \"route\": \"{{ $('When Executed by Another Workflow').item.json.route }}\",\n \"social_image\": {{ $('Merge').item.json.data.toJsonString() }},\n \"social_content\": {{ $('Social Content').item.json.output.toJsonString() }},\n \"google_drive_image\": {{ $json.toJsonString() }}\n}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "b35623e6-9ddc-4091-905f-7b485efc5d60",
"name": "Respond with Google Drive Id",
"type": "n8n-nodes-base.set",
"position": [
2740,
-340
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "ad353ca7-059a-4108-88b9-fb92720a34fe",
"name": "response",
"type": "string",
"value": "={{ $json.id }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "410c3924-1011-480d-874c-a395c243f4c6",
"name": "Telegram Success Message (Optional)",
"type": "n8n-nodes-base.telegram",
"position": [
1760,
-880
],
"webhookId": "93342863-02c0-42ee-98c3-a2ec72b3bf12",
"parameters": {
"text": "Image created successfully",
"chatId": "={{ $env.TELEGRAM_CHAT_ID }}",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"id": "pAIFhguJlkO3c7aQ",
"name": "Telegram account"
}
},
"typeVersion": 1.2
},
{
"id": "eba8445d-55da-43e2-b2aa-4822168a70ea",
"name": "Telegram Error Message (Optional)",
"type": "n8n-nodes-base.telegram",
"position": [
1760,
-300
],
"webhookId": "93342863-02c0-42ee-98c3-a2ec72b3bf12",
"parameters": {
"text": "Error creating image (Debugging)",
"chatId": "={{ $env.TELEGRAM_CHAT_ID }}",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"id": "pAIFhguJlkO3c7aQ",
"name": "Telegram account"
}
},
"typeVersion": 1.2
},
{
"id": "af2c4945-0dac-4398-b8ad-329066eefedd",
"name": "Social Media Publishing Router",
"type": "n8n-nodes-base.switch",
"position": [
2080,
-1900
],
"parameters": {
"rules": {
"values": [
{
"outputKey": "1️⃣X-Twitter",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.data.route }}",
"rightValue": "xtwitter"
}
]
},
"renameOutput": true
},
{
"outputKey": " 2️⃣Instagram",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "86d44336-bab7-422f-9266-fcb513252d19",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.data.route }}",
"rightValue": "instagram"
}
]
},
"renameOutput": true
},
{
"outputKey": " 3️⃣Facebook",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "29f37628-6381-46af-babb-74bf00b4a849",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.data.route }}",
"rightValue": "facebook"
}
]
},
"renameOutput": true
},
{
"outputKey": "4️⃣Linkedin",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "fdb7c8aa-4108-43f6-8f6b-71cd8f383d2a",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.data.route }}",
"rightValue": "=linkedin"
}
]
},
"renameOutput": true
},
{
"outputKey": "5️⃣Threads",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "956baedd-4a0b-4e41-b85c-ef2c84332bdc",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.data.route }}",
"rightValue": "threads"
}
]
},
"renameOutput": true
},
{
"outputKey": "6️⃣YouTube Short",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "4d690442-197c-4ff9-b176-b55dfabaecc9",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.data.route }}",
"rightValue": "youtube_short"
}
]
},
"renameOutput": true
}
]
},
"options": {}
},
"typeVersion": 3.2
},
{
"id": "682ee752-8e7f-4ee5-b617-88d7c1f7d4e7",
"name": "Prepare Email Contents",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
880,
-1600
],
"parameters": {
"text": "=Use the HTML template and populate [fields] as required from this: {{ $json.data.social_content.toJsonString() }}\n-----\nOnly output HTML without code block tags, preamble or further explanation in the format provided.\n\n## HTML Template\n<table style=\"max-width:640px;min-width:320px;width:100%;border-collapse:collapse;font-family:Arial,sans-serif;margin:20px auto\">\n <tbody>\n <tr>\n <td colspan=\"2\" style=\"background-color:#ffffff;padding:15px;text-align:left\">\n <img src=\"{{ $json.data.google_drive_image.thumbnailLink }}\" alt=\"{{ $json.data.social_content.root_schema.name }}\" style=\"max-width:100%;height:auto;\">\n </td>\n </tr>\n <tr>\n <td colspan=\"2\" style=\"background-color:#efefef;padding:15px;font-size:20px;text-align:left;font-weight:bold\">\n {{ $json.data.social_content.root_schema.name }}\n </td>\n </tr>\n <tr>\n <td style=\"background-color:#f9f9f9;padding:15px;width:30%;text-align:left\"><strong>[label_1]:</strong></td>\n <td style=\"background-color:#f9f9f9;padding:15px;text-align:left\">[content_1]</td>\n </tr>\n <tr>\n <td style=\"background-color:#f1f1f1;padding:15px;text-align:left\"><strong>[label_2]:</strong></td>\n <td style=\"background-color:#f1f1f1;padding:15px;text-align:left\">[content_2]</td>\n </tr>\n\n [continue the pattern ...]\n\n <tr>\n <td colspan=\"2\" style=\"background-color:#efefef;padding:15px;text-align:left\">\n <strong>[footer_label]:</strong> [footer_content]\n </td>\n </tr>\n </tbody>\n</table>\n\n",
"options": {},
"promptType": "define"
},
"typeVersion": 1.7
},
{
"id": "eeab0159-cb24-4653-ba14-461740c8753c",
"name": "Is Approved?",
"type": "n8n-nodes-base.if",
"position": [
1380,
-1340
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "313cec9b-aad5-4f9c-a209-afe83af53df0",
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
},
"leftValue": "={{ $json.data.approved }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2
},
{
"id": "dbe7cd63-9ec0-46cd-9255-8c1dc738847d",
"name": "File Id",
"type": "n8n-nodes-base.set",
"position": [
1200,
-2080
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "efb1c03b-8465-443d-a442-b76b8cd86a73",
"name": "output",
"type": "object",
"value": "={{ $json.output }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "cdb01e90-c54c-4ae4-87e2-75a3baec2295",
"name": "Get Social Post from Google Drive",
"type": "n8n-nodes-base.googleDrive",
"position": [
1380,
-2080
],
"parameters": {
"fileId": {
"__rl": true,
"mode": "id",
"value": "={{ $json.output.response }}"
},
"options": {},
"operation": "download"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "UhdXGYLTAJbsa0xX",
"name": "Google Drive account"
}
},
"typeVersion": 3
},
{
"id": "aea6ec59-fcf4-4b5a-9fbc-86d9eb834388",
"name": "Extract as JSON",
"type": "n8n-nodes-base.extractFromFile",
"position": [
1560,
-2080
],
"parameters": {
"options": {},
"operation": "fromJson"
},
"typeVersion": 1
},
{
"id": "70ccf82d-3871-40cd-8dc0-961e36acd070",
"name": "Merge Image and Post Contents",
"type": "n8n-nodes-base.merge",
"position": [
1820,
-1840
],
"parameters": {
"mode": "combine",
"options": {},
"combineBy": "combineByPosition"
},
"typeVersion": 3
},
{
"id": "077f7110-215f-4ccf-8546-41d21c1105ad",
"name": "Sticky Note10",
"type": "n8n-nodes-base.stickyNote",
"position": [
2540,
-1460
],
"parameters": {
"width": 320,
"height": 380,
"content": ""
},
"typeVersion": 1
},
{
"id": "650a4191-6ed6-4868-b433-f44a0ddf959b",
"name": "Implement Threads Here",
"type": "n8n-nodes-base.noOp",
"position": [
2640,
-1420
],
"parameters": {},
"typeVersion": 1
},
{
"id": "59651d51-92ce-42e5-a9c7-4faa18526ef2",
"name": "Implement YouTube Shorts Here",
"type": "n8n-nodes-base.noOp",
"position": [
2640,
-1260
],
"parameters": {},
"typeVersion": 1
},
{
"id": "7cb931d5-d890-4ea6-9fca-84b934dd911c",
"name": "X Response",
"type": "n8n-nodes-base.set",
"position": [
2840,
-2180
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "4015bb20-da3b-4781-ab8c-46f4d826138e",
"name": "output",
"type": "string",
"value": "={{ $('Social Media Publishing Router').item.json.data.route }}\n\n{{ $('Social Media Publishing Router').item.json.data.social_content.root_schema.name }}\n\n{{ $('Social Media Publishing Router').item.json.data.social_content.schema.post }}\n\n![{{ $('Social Media Publishing Router').item.json.data.social_content.root_schema.name }}]({{ $('Social Media Publishing Router').item.json.data.social_image.thumb.url }})"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "90c4faa3-3376-41d1-83e7-0c4c2bc03de5",
"name": "Instagram Response",
"type": "n8n-nodes-base.set",
"position": [
2840,
-2000
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "da8fe7e3-e74d-46b6-91eb-1bf4432b73b0",
"name": "output",
"type": "string",
"value": "={{ $('Social Media Publishing Router').item.json.data.route }} \n{{ $('Social Media Publishing Router').item.json.data.social_content.root_schema.name }}\n{{ $('Social Media Publishing Router').item.json.data.social_content.schema.caption }}\n![{{ $('Social Media Publishing Router').item.json.data.social_content.root_schema.name }}]({{ $('Social Media Publishing Router').item.json.data.social_image.thumb.url }})"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "de57e2c7-acac-4268-a535-e90f00548956",
"name": "Facebook Response",
"type": "n8n-nodes-base.set",
"position": [
2840,
-1820
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "e349e314-2967-456f-856a-85727bdf94f3",
"name": "output",
"type": "string",
"value": "={{ $('Social Media Publishing Router').item.json.data.route }}\n\n{{ $('Social Media Publishing Router').item.json.data.social_content.root_schema.name }}\n\n{{ $('Social Media Publishing Router').item.json.data.social_content.schema.post }}\n\n![{{ $('Social Media Publishing Router').item.json.data.social_content.root_schema.name }}]({{ $('Social Media Publishing Router').item.json.data.social_image.thumb.url }})"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "030e8933-0eae-4e6c-956d-dce0e702b163",
"name": "LinkedIn Response",
"type": "n8n-nodes-base.set",
"position": [
2840,
-1640
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "88404fde-a41b-4da5-bbdb-0e41b879a52c",
"name": "output",
"type": "string",
"value": "={{ $('Social Media Publishing Router').item.json.data.route }}\n\n{{ $('Social Media Publishing Router').item.json.data.social_content.root_schema.name }}\n\n{{ $('Social Media Publishing Router').item.json.data.social_content.schema.post }}\n\n![{{ $('Social Media Publishing Router').item.json.data.social_content.root_schema.name }}]({{ $('Social Media Publishing Router').item.json.data.social_image.thumb.url }})\n"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "d48b6b3a-9410-4012-85bf-f70b4e91eccb",
"name": "Sticky Note11",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1060,
-1300
],
"parameters": {
"color": 3,
"height": 80,
"content": "## Social Media Schema"
},
"typeVersion": 1
},
{
"id": "e3ef0a13-42ca-4021-aeb5-2230f4ac7eac",
"name": "Sticky Note12",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1840,
-1300
],
"parameters": {
"color": 5,
"width": 760,
"height": 80,
"content": "## System Prompt"
},
"typeVersion": 1
},
{
"id": "11457221-fa5e-41f4-93a5-bb3eea3f02a9",
"name": "Sticky Note13",
"type": "n8n-nodes-base.stickyNote",
"position": [
-120,
-2200
],
"parameters": {
"width": 620,
"height": 320,
"content": "# Social Media Router Agent"
},
"typeVersion": 1
},
{
"id": "f40e9cde-1810-4471-9751-6da724a06f6c",
"name": "🤖Social Media Router Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
60,
-2080
],
"parameters": {
"text": "=You are a helpful assistant that uses the provided tools. Respond with a valid JSON object.\n\nUser prompt: {{ $json.chatInput }}",
"options": {
"systemMessage": "## RULES\n- You do not answer the users questions directly and your sole purpose is to call the appropriate tool to and provide the verbatim response.\n\n## TOOLS\n- create_x_twitter_posts_tool: Use this tool to create X-Twitter posts\n- create_instagram_posts_tool: Use this tool to create Instagram posts\n- create_facebook_posts_tool: Use this tool to create Facebook posts\n- create_linkedin_posts_tool: Use this tool to create LinkedIn posts\n- create_threads_posts_tool: Use this tool to create Threads posts\n- create_youtube_short_tool: Use this tool to create a YouTube short\n\n\n"
},
"promptType": "define"
},
"typeVersion": 1.7
},
{
"id": "e6715ea6-f70d-427b-bf3d-499ed8040140",
"name": "Sticky Note14",
"type": "n8n-nodes-base.stickyNote",
"position": [
800,
-1720
],
"parameters": {
"width": 400,
"height": 440,
"content": "## Prepare Email Approval Contents as HTML"
},
"typeVersion": 1
},
{
"id": "cbb2a190-8aad-4e09-9d5c-a43dbcb32184",
"name": "SerpAPI",
"type": "@n8n/n8n-nodes-langchain.toolSerpApi",
"position": [
980,
-360
],
"parameters": {
"options": {}
},
"credentials": {
"serpApi": {
"id": "DfdkTTaZtPp0iHYv",
"name": "SerpAPI account"
}
},
"typeVersion": 1
},
{
"id": "58da1f9e-caa4-4ea2-8b02-3e734758af80",
"name": "Sticky Note15",
"type": "n8n-nodes-base.stickyNote",
"position": [
-500,
-120
],
"parameters": {
"color": 7,
"width": 3520,
"height": 680,
"content": "# 💫Features & Benefits"
},
"typeVersion": 1
},
{
"id": "e65c6e37-0523-4e7d-b634-d3499aef5516",
"name": "Sticky Note16",
"type": "n8n-nodes-base.stickyNote",
"position": [
-440,
-40
],
"parameters": {
"color": 7,
"width": 680,
"height": 280,
"content": "## 1️⃣System Prompt Composition from External Source\nCentralized prompt management: Store and update system prompts in Google Docs for easy team collaboration\n\n- Consistent brand voice: Ensure all generated content maintains consistent tone and style across platforms\n\n- Flexible customization: Quickly modify prompts without changing workflow code\n\n- Version control: Track changes to prompts over time with Google Docs revision history\n\n- Role-specific access: Control who can edit core prompts while allowing broader viewing access\n"
},
"typeVersion": 1
},
{
"id": "b7ccbaa4-3c33-4f32-a72d-fb693b9c63d6",
"name": "Sticky Note17",
"type": "n8n-nodes-base.stickyNote",
"position": [
-440,
260
],
"parameters": {
"color": 7,
"width": 680,
"height": 260,
"content": "## 2️⃣Output Schema Composition from External Source\n- Structured content generation: Enforce consistent JSON output formats for each platform\n\n- Platform-specific optimization: Tailor content structure to each social network's requirements\n\n- Reduced errors: Validate content against schemas before publishing\n\n- Easy updates: Modify schemas as platform requirements change without workflow modifications\n\n- Standardized metadata: Ensure all required fields are included for each platform"
},
"typeVersion": 1
},
{
"id": "b36e874a-a893-439d-bd29-524ea567b695",
"name": "Sticky Note19",
"type": "n8n-nodes-base.stickyNote",
"position": [
720,
-40
],
"parameters": {
"color": 7,
"width": 400,
"height": 520,
"content": "## 4️⃣ Dynamic Social Media Content Creator Agent with Web Search Tool to Match Social Post and Platform Schema\n\n- Real-time research: Incorporate current events and trending topics into content\n\n- Fact-checking: Verify information before publishing to maintain credibility\n\n- Competitive analysis: Reference industry trends and competitor content\n\n- Contextual relevance: Create content that responds to current market conditions\n\n- Enhanced engagement: Generate content that aligns with trending conversations"
},
"typeVersion": 1
},
{
"id": "d57e47d1-e95e-45b6-95cf-a8952320da35",
"name": "Sticky Note23",
"type": "n8n-nodes-base.stickyNote",
"position": [
1160,
-40
],
"parameters": {
"color": 7,
"width": 340,
"height": 520,
"content": "## 5️⃣ Dynamic Image Creation to Match Social Post & Platform Schema\n\n- Visual consistency: Generate platform-optimized images that match content themes\n\n- Automated alt text: Create accessibility-compliant image descriptions\n\n- Multi-format output: Generate images in various dimensions for different platforms\n\n- Brand compliance: Ensure all visuals align with brand guidelines\n\n- Reduced design bottlenecks: Eliminate waiting for custom graphics for each post"
},
"typeVersion": 1
},
{
"id": "4323fd33-f2ff-434a-bd44-0ecb59fc4962",
"name": "Sticky Note24",
"type": "n8n-nodes-base.stickyNote",
"position": [
1520,
-40
],
"parameters": {
"color": 7,
"width": 300,
"height": 520,
"content": "## 6️⃣ Image Archiving to Multiple Cloud Services for Future Use\n\n- Redundant storage: Prevent content loss with multi-location backups\n\n-Searchable repository: Build a library of past content for reference and reuse\n\n- Asset tracking: Maintain records of which images were used for which campaigns\n\n- Compliance documentation: Keep records of published content for regulatory purposes\n\n- Resource optimization: Reuse successful visual assets for future campaigns"
},
"typeVersion": 1
},
{
"id": "e0dc7e2a-275f-4389-973a-e0d92af6de6c",
"name": "Sticky Note27",
"type": "n8n-nodes-base.stickyNote",
"position": [
1840,
-40
],
"parameters": {
"color": 7,
"width": 260,
"height": 520,
"content": "## 7️⃣ Telegram Messaging for Workflow Status \n\n- Real-time notifications: Get immediate alerts about workflow execution\n\n- Error tracking: Quickly identify and address failures in the content pipeline\n\n- Team coordination: Keep stakeholders informed of content progress\n\n- Audit trail: Maintain records of when content was created and published\n\n- Remote monitoring: Track workflow execution from mobile devices"
},
"typeVersion": 1
},
{
"id": "0d9940df-faad-4adc-a79f-4b89f2f2d16e",
"name": "Sticky Note28",
"type": "n8n-nodes-base.stickyNote",
"position": [
2120,
-40
],
"parameters": {
"color": 7,
"width": 840,
"height": 280,
"content": "## 8️⃣ Optional Workflow Reporting to Gmail in with Structured HTML Content\n- Executive summaries: Provide management with clean, formatted reports\n\n- Content approval: Enable stakeholders to review content before publishing\n\n- Performance tracking: Document content metrics in standardized formats\n\n- Schedule adherence: Monitor if content is being published according to plan\n\n- Resource allocation: Track time and effort spent on different content types"
},
"typeVersion": 1
},
{
"id": "febb3aa7-d0ed-422a-b115-33863889a152",
"name": "Sticky Note29",
"type": "n8n-nodes-base.stickyNote",
"position": [
2120,
260
],
"parameters": {
"color": 7,
"width": 840,
"height": 260,
"content": "## 9️⃣ Social Post Archiving to Google Drive for Future Use\n- Content library: Build a searchable repository of all published content\n\n- Performance correlation: Connect content with its performance metrics\n\n- Compliance records: Maintain documentation of published materials\n\n- Content repurposing: Easily find and adapt past successful content\n\n- Campaign documentation: Group related content for campaign analysis"
},
"typeVersion": 1
},
{
"id": "697fab77-d1bb-41d8-8683-193230471721",
"name": "Sticky Note30",
"type": "n8n-nodes-base.stickyNote",
"position": [
260,
-40
],
"parameters": {
"width": 420,
"height": 960,
"content": "## 3️⃣Dynamic System Prompt and Platform Schema Composition based on User Prompt using External Sources\n- Centralized prompt management: Store all system prompts in a single external source for easier maintenance and updates\n\n- Platform-specific optimization: Automatically tailor content to each platform's unique requirements and audience expectations\n\n- Consistent brand voice: Ensure all generated content maintains your brand's tone and messaging guidelines across platforms\n\n- Reduced technical debt: Modify prompts and schemas without changing workflow code or redeploying applications\n\n- Collaborative improvement: Enable marketing teams to refine prompts without developer intervention\n\n- Version control: Track changes to prompts and schemas over time with document revision history\n\n- A/B testing capability: Easily test different prompt variations to optimize content performance\n\n- Scalable content strategy: Add support for new platforms by simply creating new prompt and schema documents\n\n- Dynamic adaptation: Respond to platform algorithm changes by quickly updating external prompt documents\n\n- Knowledge preservation: Maintain institutional knowledge about effective platform-specific content strategies\n\n- Reduced onboarding time: New team members can understand content requirements by reviewing documented prompts\n\n- Compliance management: Ensure all generated content follows legal and brand guidelines by centralizing rules"
},
"typeVersion": 1
},
{
"id": "11ba3bef-7036-416b-a63d-a82cf7cbe30f",
"name": "Prepare Social Media Email Contents",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
2300,
-780
],
"parameters": {
"text": "=Use the HTML template and populate [fields] as required from this: {{ $('pollinations.ai1').item.json.output.toJsonString() }}\n-----\nOnly output HTML without code block tags, preamble or further explanation in the format provided.\n\n## HTML Template\n<table style=\"max-width:640px;min-width:320px;width:100%;border-collapse:collapse;font-family:Arial,sans-serif;margin:20px auto\">\n <tbody>\n <tr>\n <td colspan=\"2\" style=\"background-color:#ffffff;padding:15px;text-align:left\">\n <img src=\"{{ $json.thumbnailLink }}\" alt=\"{{ $json.output.root_schema.name }}\" style=\"max-width:100%;height:auto;\">\n </td>\n </tr>\n <tr>\n <td colspan=\"2\" style=\"background-color:#efefef;padding:15px;font-size:20px;text-align:left;font-weight:bold\">\n {{ $json.output.root_schema.name }}\n </td>\n </tr>\n <tr>\n <td style=\"background-color:#f9f9f9;padding:15px;width:30%;text-align:left\"><strong>Platform:</strong></td>\n <td style=\"background-color:#f9f9f9;padding:15px;text-align:left\">{{ $('Compose Prompt & Schema').item.json.route }}</td>\n </tr>\n <tr>\n <td style=\"background-color:#f9f9f9;padding:15px;width:30%;text-align:left\"><strong>[label_1]:</strong></td>\n <td style=\"background-color:#f9f9f9;padding:15px;text-align:left\">[content_1]</td>\n </tr>\n <tr>\n <td style=\"background-color:#f1f1f1;padding:15px;text-align:left\"><strong>[label_2]:</strong></td>\n <td style=\"background-color:#f1f1f1;padding:15px;text-align:left\">[content_2]</td>\n </tr>\n\n [continue the pattern ...]\n\n <tr>\n <td colspan=\"2\" style=\"background-color:#efefef;padding:15px;text-align:left\">\n <strong>[footer_label]:</strong> [footer_content]\n </td>\n </tr>\n </tbody>\n</table>\n\n",
"options": {},
"promptType": "define"
},
"typeVersion": 1.7
},
{
"id": "1dc19a25-ff27-4582-a574-279831f7bc28",
"name": "Sticky Note43",
"type": "n8n-nodes-base.stickyNote",
"position": [
-760,
-340
],
"parameters": {
"height": 500,
"content": "💡Notes\n\n- Create Google Doc for the Social Media Schema and copy the provided schema.\n\n- Update the Google Doc ID in the Social Media Schema node.\n\n- Create Google Doc for the Social Media System Prompt and copy the provided System Prompt.\n\n- Update the Google Doc ID in the Social Media System Prompt node.\n\n\n\nAdjust system prompt and platform specific prompts to suit your needs."
},
"typeVersion": 1
},
{
"id": "6b1d2ad9-9ad8-4a33-ab7d-430f96dc317c",
"name": "Sticky Note44",
"type": "n8n-nodes-base.stickyNote",
"position": [
1340,
-360
],
"parameters": {
"width": 300,
"content": "💡Notes\n\nReplace pollinations.ai with any online image generation service that produces an image file you can download."
},
"typeVersion": 1
},
{
"id": "e7c2d9ba-6b9a-404f-a84d-8e90e4c5f4bb",
"name": "Sticky Note45",
"type": "n8n-nodes-base.stickyNote",
"position": [
720,
-840
],
"parameters": {
"width": 400,
"height": 140,
"content": "💡Notes\n\nReplace Chat model with other LLMs and test out the results. Add more tools or try other web search tools to suit your use case."
},
"typeVersion": 1
},
{
"id": "00204106-dd0f-46d5-89c8-60fd92f1388e",
"name": "gpt-4o",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-520,
-1620
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o",
"cachedResultName": "gpt-4o"
},
"options": {
"responseFormat": "json_object"
}
},
"credentials": {
"openAiApi": {
"id": "jEMSvKmtYfzAkhe6",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
}
],
"active": false,
"pinData": {
"Social Media Schema": [
{
"json": {
"content": "<common>\n{\n \"type\": \"object\",\n \"properties\": {\n \"hashtags\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"image_suggestion\": {\n \"type\": \"string\"\n }\n }\n}\n</common>\n\n<root>\n{\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"additional_notes\": {\n \"type\": \"string\"\n }\n }\n}\n</root>\n\n<linkedin>\n{\n \"type\": \"object\",\n \"properties\": {\n \"post\": {\n \"type\": \"string\"\n },\n \"call_to_action\": {\n \"type\": \"string\"\n }\n }\n}\n</linkedin>\n\n<instagram>\n{\n \"type\": \"object\",\n \"properties\": {\n \"caption\": {\n \"type\": \"string\"\n },\n \"emojis\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"call_to_action\": {\n \"type\": \"string\"\n }\n }\n}\n</instagram>\n\n<facebook>\n{\n \"type\": \"object\",\n \"properties\": {\n \"post\": {\n \"type\": \"string\"\n },\n \"call_to_action\": {\n \"type\": \"string\"\n }\n }\n}\n</facebook>\n\n<xtwitter>\n{\n \"type\": \"object\",\n \"properties\": {\n \"video_suggestion\": {\n \"type\": \"string\"\n },\n \"post\": {\n \"type\": \"string\"\n },\n \"character_limit\": {\n \"type\": \"integer\"\n }\n }\n}\n</xtwitter>\n\n<threads>\n{\n \"type\": \"object\",\n \"properties\": {\n \"text_post\": {\n \"type\": \"string\"\n },\n \"call_to_action\": {\n \"type\": \"string\"\n }\n }\n}\n</threads>\n\n<youtube_short>\n{\n \"type\": \"object\",\n \"properties\": {\n \"video_suggestion\": {\n \"type\": \"string\"\n },\n \"title\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"call_to_action\": {\n \"type\": \"string\"\n }\n }\n}\n</youtube_short>\n\n\n\n",
"documentId": "[your-doc-id-here]"
}
}
],
"Social Media System Prompt": [
{
"json": {
"content": "<system>\nYou are a specialized content creation AI for social media platforms.\nYour primary function is generating platform-optimized social media content across various platforms including LinkedIn, Instagram, Facebook, Twitter (X), Threads, and YouTube Shorts. Each piece of content must:\nMatch the specific platform's audience expectations and algorithm preferences\nShowcase relevant expertise in your field\nDeliver actionable insights for your target audience\nDrive meaningful engagement through value-driven content\nOBJECTIVES:\nCreate platform-specific content following each platform's best practices\nImplement strategic hashtag usage combining general and trending tags\nDesign content that encourages user interaction and community building\nMaintain consistent brand voice while adapting to platform requirements\nIncorporate data-driven insights to maximize content performance\nOUTPUT REQUIREMENTS:\nDeliver content in valid JSON format according to the platform-specific schema\nInclude all required fields as specified in the schema\nOmit any explanatory text or code fencing in your response\nTailor content specifically to the platform indicated in the user's request\nFor each content request, adapt your output based on the platform guidelines and ensure it aligns with your organization's mission and values. Never provide URLS for video or image suggestions and only describe the suggestion.\n</system>\n\n\n<rules>\n- Only provide final response in valid JSON for the appropriate social platform\n- Never include any preamble or further explanation\n- Always remove any ``` ```json\n</rules>\n\n\n<linkedin>\n**Style**: Professional and insightful.\n**Tone**: Business-oriented; focus on automation use cases, industry insights, and community impact.\n**Content Length**: 3-4 sentences; concise but detailed.\n**Hashtags**: #Innovation #Automation #WorkflowSolutions #DigitalTransformation #Leadership\n**Call to Action (CTA)**: Encourage comments or visits to workflows.diy's website for more insights.\n</linkedin>\n\n<instagram>\n**Style**: Visual storytelling with creative captions.\n**Tone**: Inspirational and engaging; use emojis for relatability.\n**Content Length**: 2-3 sentences paired with eye-catching visuals (e.g., infographics or workflow demos).\n**Visuals**: Showcase milestones (e.g., new workflow launches), tutorials, or product highlights.\n**CTA**: Use phrases like \"Swipe to learn more,\" \"Tag your team,\" or \"Check out the link below!\"\n**Link Placement**: Add the provided link before hashtags; if no link is provided, use \"Visit our website: https://workflows.diy.\"\n**Hashtags**: #AutomationLife #TechInnovation #WorkflowTips #Programming #Engineering\n</instagram>\n\n<facebook>\n**Style**: Friendly and community-focused.\n**Tone**: Relatable; highlight user success stories or company achievements in automation.\n**Content Length**: 2-3 sentences; conversational yet professional.\n**Hashtags**: #SmallBusinessAutomation #Entrepreneurship #Leadership #WorkflowInnovation\n**CTA**: Encourage likes, shares, comments (e.g., \"What's your favorite automation tip?\").\n</facebook>\n\n<xtwitter>\n**Style**: Concise and impactful.\n**Tone**: Crisp and engaging; spark curiosity in 150 characters or less.\n**Hashtags**: #WorkflowTrends #AIWorkflows #AutomationTips #NoCodeSolutions\n**CTA**: Drive quick engagement through retweets or replies (e.g., \"What's your go-to n8n workflow?\").\n</xtwitter>\n\n<threads>\n**Style**: Conversational and community-driven posts.\n**Tone**: Casual yet informative; encourage discussions around automation trends or innovations.\n**Content Length**: 1-2 short paragraphs with a question or thought-provoking statement at the end.\n**Hashtags**: Similar to Instagram but tailored for trending Threads topics related to automation.\n</threads>\n\n<youtube_short>\n**Style**: Short-form video content showcasing quick workflow tutorials or use cases.\n**Tone**: Authoritative yet approachable; establish workflows.diy as a leader in n8n automation solutions.\n**Content Length**:\n - Tutorials/Reviews (long-form): 5-10 minutes\n - Shorts/Highlights (short-form): Under 1 minute\n**CTA**: Encourage subscriptions, likes, comments (e.g., \"Subscribe for more workflow tips!\").\n</youtube_short>\n\n\n\n",
"documentId": "[your-doc-id-here]"
}
}
],
"When Executed by Another Workflow": [
{
"json": {
"route": "instagram",
"user_prompt": "i need an instagram post about using n8n to transform business automation with reference to a related historical fact and example"
}
}
]
},
"settings": {
"executionOrder": "v1"
},
"versionId": "110ac387-48e7-4ed2-98d6-0e3ddbb34063",
"connections": {
"Gmail": {
"main": [
[]
]
},
"Merge": {
"main": [
[
{
"node": "Prepare Social Media Email Contents",
"type": "main",
"index": 0
},
{
"node": "Google Drive Image Meta",
"type": "main",
"index": 0
}
]
]
},
"Short": {
"ai_tool": [
[
{
"node": "🤖Social Media Router Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Schema": {
"main": [
[
{
"node": "Parse Schema",
"type": "main",
"index": 0
}
]
]
},
"X Post": {
"main": [
[
{
"node": "X Response",
"type": "main",
"index": 0
}
]
]
},
"gpt-4o": {
"ai_languageModel": [
[
{
"node": "🤖Social Media Router Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"File Id": {
"main": [
[
{
"node": "Get Social Post from Google Drive",
"type": "main",
"index": 0
}
]
]
},
"SerpAPI": {
"ai_tool": [
[
{
"node": "Social Media Content Creator",
"type": "ai_tool",
"index": 0
}
]
]
},
"Facebook": {
"ai_tool": [
[
{
"node": "🤖Social Media Router Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"LinkedIn": {
"ai_tool": [
[
{
"node": "🤖Social Media Router Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"X-Twiter": {
"ai_tool": [
[
{
"node": "🤖Social Media Router Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Instagram": {
"ai_tool": [
[
{
"node": "🤖Social Media Router Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"gpt-40-mini": {
"ai_languageModel": [
[
{
"node": "Prepare Social Media Email Contents",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"gpt-4o-mini": {
"ai_languageModel": [
[
{
"node": "Social Media Content Creator",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Is Approved?": {
"main": [
[
{
"node": "Get Social Post Image",
"type": "main",
"index": 0
}
]
]
},
"Parse Schema": {
"main": [
[
{
"node": "Merge Prompts and Schema",
"type": "main",
"index": 0
}
]
]
},
"gpt-40-mini1": {
"ai_languageModel": [
[
{
"node": "Prepare Email Contents",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Facebook Post": {
"main": [
[
{
"node": "Facebook Response",
"type": "main",
"index": 0
}
]
]
},
"LinkedIn Post": {
"main": [
[
{
"node": "LinkedIn Response",
"type": "main",
"index": 0
}
]
]
},
"System Prompt": {
"main": [
[
{
"node": "Parse System Prompt",
"type": "main",
"index": 0
}
]
]
},
"YouTube Short": {
"ai_tool": [
[
{
"node": "🤖Social Media Router Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Social Content": {
"main": [
[
{
"node": "pollinations.ai1",
"type": "main",
"index": 0
}
]
]
},
"Extract as JSON": {
"main": [
[
{
"node": "Merge Image and Post Contents",
"type": "main",
"index": 0
},
{
"node": "Prepare Email Contents",
"type": "main",
"index": 0
}
]
]
},
"Instagram Image": {
"main": [
[
{
"node": "Instragram Post",
"type": "main",
"index": 0
}
]
]
},
"Instragram Post": {
"main": [
[
{
"node": "Instagram Response",
"type": "main",
"index": 0
}
]
]
},
"Social Post JSON": {
"main": [
[
{
"node": "Save Social Post to Google Drive",
"type": "main",
"index": 0
}
]
]
},
"pollinations.ai1": {
"main": [
[
{
"node": "Telegram Success Message (Optional)",
"type": "main",
"index": 0
},
{
"node": "Save Image to imgbb.com",
"type": "main",
"index": 0
},
{
"node": "Save Image to Google Drive",
"type": "main",
"index": 0
},
{
"node": "Merge",
"type": "main",
"index": 1
}
],
[
{
"node": "Telegram Error Message (Optional)",
"type": "main",
"index": 0
}
]
]
},
"Parse System Prompt": {
"main": [
[
{
"node": "Merge Prompts and Schema",
"type": "main",
"index": 2
}
]
]
},
"Social Media Schema": {
"main": [
[
{
"node": "Schema",
"type": "main",
"index": 0
}
]
]
},
"Window Buffer Memory": {
"ai_memory": [
[
{
"node": "🤖Social Media Router Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Get Social Post Image": {
"main": [
[
{
"node": "Merge Image and Post Contents",
"type": "main",
"index": 1
}
]
]
},
"Prepare Email Contents": {
"main": [
[
{
"node": "Gmail User for Approval",
"type": "main",
"index": 0
}
]
]
},
"Compose Prompt & Schema": {
"main": [
[
{
"node": "Social Media Content Creator",
"type": "main",
"index": 0
}
]
]
},
"Gmail User for Approval": {
"main": [
[
{
"node": "Is Approved?",
"type": "main",
"index": 0
}
]
]
},
"Google Drive Image Meta": {
"main": [
[
{
"node": "Social Post JSON",
"type": "main",
"index": 0
}
]
]
},
"Save Image to imgbb.com": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"Merge Prompts and Schema": {
"main": [
[
{
"node": "Compose Prompt & Schema",
"type": "main",
"index": 0
}
]
]
},
"Save Image to Google Drive": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 2
}
]
]
},
"Social Media System Prompt": {
"main": [
[
{
"node": "System Prompt",
"type": "main",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "🤖Social Media Router Agent",
"type": "main",
"index": 0
}
]
]
},
"Social Media Content Creator": {
"main": [
[
{
"node": "Social Content",
"type": "main",
"index": 0
}
]
]
},
"Merge Image and Post Contents": {
"main": [
[
{
"node": "Social Media Publishing Router",
"type": "main",
"index": 0
}
]
]
},
"🤖Social Media Router Agent": {
"main": [
[
{
"node": "File Id",
"type": "main",
"index": 0
}
]
]
},
"Social Media Publishing Router": {
"main": [
[
{
"node": "X Post",
"type": "main",
"index": 0
}
],
[
{
"node": "Instagram Image",
"type": "main",
"index": 0
}
],
[
{
"node": "Facebook Post",
"type": "main",
"index": 0
}
],
[
{
"node": "LinkedIn Post",
"type": "main",
"index": 0
}
],
[
{
"node": "Implement Threads Here",
"type": "main",
"index": 0
}
],
[
{
"node": "Implement YouTube Shorts Here",
"type": "main",
"index": 0
}
]
]
},
"Save Social Post to Google Drive": {
"main": [
[
{
"node": "Respond with Google Drive Id",
"type": "main",
"index": 0
}
]
]
},
"Get Social Post from Google Drive": {
"main": [
[
{
"node": "Extract as JSON",
"type": "main",
"index": 0
}
]
]
},
"When Executed by Another Workflow": {
"main": [
[
{
"node": "Social Media System Prompt",
"type": "main",
"index": 0
},
{
"node": "Social Media Schema",
"type": "main",
"index": 0
},
{
"node": "Merge Prompts and Schema",
"type": "main",
"index": 1
}
]
]
},
"Prepare Social Media Email Contents": {
"main": [
[
{
"node": "Gmail",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/0wfomsVO0TQtQkwU_Complete_Guide_to_Setting_Up_and_Generating_TOTP_Codes_in_n8n_🔐.json
================================================
{
"id": "0wfomsVO0TQtQkwU",
"meta": {
"instanceId": "2e75c9fb3cdcf631da470c0180f0739986baa0ee860de53281e9edc3491b82a3"
},
"name": "Complete Guide to Setting Up and Generating TOTP Codes in n8n 🔐",
"tags": [],
"nodes": [
{
"id": "0fe95b9a-be2b-4022-829e-8b6c801e5baf",
"name": "When clicking ‘Test workflow’",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-280,
-340
],
"parameters": {},
"typeVersion": 1
},
{
"id": "02fee6b5-7770-4889-b9bb-89bface8872d",
"name": "TOTP",
"type": "n8n-nodes-base.totp",
"position": [
-40,
-340
],
"parameters": {
"options": {}
},
"credentials": {
"totpApi": {
"id": "9487Zco8UqMQWnpf",
"name": "TOTP account Mars55"
}
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"timezone": "Asia/Tehran",
"callerPolicy": "workflowsFromSameOwner",
"executionOrder": "v1"
},
"versionId": "d7a5fff3-3fcd-45cd-ba06-564097567ff5",
"connections": {
"When clicking ‘Test workflow’": {
"main": [
[
{
"node": "TOTP",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1001_typeform_feedback_workflow.json
================================================
{
"id": "1001",
"name": "typeform feedback workflow",
"nodes": [
{
"name": "Typeform Trigger",
"type": "n8n-nodes-base.typeformTrigger",
"notes": "course feedback",
"position": [
450,
300
],
"webhookId": "1234567890",
"parameters": {
"formId": "yxcvbnm"
},
"credentials": {
"typeformApi": "typeform"
},
"notesInFlow": true,
"typeVersion": 1
},
{
"name": "IF",
"type": "n8n-nodes-base.if",
"notes": "filter feedback",
"position": [
850,
300
],
"parameters": {
"conditions": {
"number": [
{
"value1": "={{$json[\"usefulness\"]}}",
"value2": 3,
"operation": "largerEqual"
}
],
"string": [],
"boolean": []
}
},
"notesInFlow": true,
"typeVersion": 1
},
{
"name": "Google Sheets",
"type": "n8n-nodes-base.googleSheets",
"notes": "positive feedback",
"position": [
1050,
200
],
"parameters": {
"range": "positive_feedback!A:C",
"options": {},
"sheetId": "asdfghjklöä",
"operation": "append",
"authentication": "oAuth2"
},
"credentials": {
"googleSheetsOAuth2Api": "google_sheets_oauth"
},
"notesInFlow": true,
"typeVersion": 1
},
{
"name": "Set",
"type": "n8n-nodes-base.set",
"notes": "capture typeform data",
"position": [
650,
300
],
"parameters": {
"values": {
"number": [
{
"name": "usefulness",
"value": "={{$json[\"How useful was the course?\"]}}"
}
],
"string": [
{
"name": "opinion",
"value": "={{$json[\"Your opinion on the course:\"]}}"
}
],
"boolean": []
},
"options": {},
"keepOnlySet": true
},
"notesInFlow": true,
"typeVersion": 1
},
{
"name": "Google Sheets1",
"type": "n8n-nodes-base.googleSheets",
"notes": "negative feedback",
"position": [
1050,
400
],
"parameters": {
"range": "negative_feedback!A:C",
"keyRow": 1,
"options": {},
"sheetId": "qwertzuiop",
"operation": "append",
"authentication": "oAuth2"
},
"credentials": {
"googleSheetsOAuth2Api": "google_sheets_oauth"
},
"notesInFlow": true,
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {
"IF": {
"main": [
[
{
"node": "Google Sheets",
"type": "main",
"index": 0
}
],
[
{
"node": "Google Sheets1",
"type": "main",
"index": 0
}
]
]
},
"Set": {
"main": [
[
{
"node": "IF",
"type": "main",
"index": 0
}
]
]
},
"Typeform Trigger": {
"main": [
[
{
"node": "Set",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1001_workflow_1001.json
================================================
{
"nodes": [
{
"name": "Bitwarden",
"type": "n8n-nodes-base.bitwarden",
"position": [
470,
320
],
"parameters": {
"name": "documentation",
"resource": "group",
"operation": "create",
"additionalFields": {}
},
"credentials": {
"bitwardenApi": "Bitwarden API Credentials"
},
"typeVersion": 1
},
{
"name": "Bitwarden1",
"type": "n8n-nodes-base.bitwarden",
"position": [
670,
320
],
"parameters": {
"resource": "member",
"operation": "getAll",
"returnAll": true
},
"credentials": {
"bitwardenApi": "Bitwarden API Credentials"
},
"typeVersion": 1
},
{
"name": "Bitwarden2",
"type": "n8n-nodes-base.bitwarden",
"position": [
870,
320
],
"parameters": {
"groupId": "={{$node[\"Bitwarden\"].json[\"id\"]}}",
"resource": "group",
"memberIds": "={{$json[\"id\"]}}",
"operation": "updateMembers"
},
"credentials": {
"bitwardenApi": "Bitwarden API Credentials"
},
"typeVersion": 1
},
{
"name": "Bitwarden3",
"type": "n8n-nodes-base.bitwarden",
"position": [
1070,
320
],
"parameters": {
"groupId": "={{$node[\"Bitwarden\"].json[\"id\"]}}",
"resource": "group",
"operation": "getMembers"
},
"credentials": {
"bitwardenApi": "Bitwarden API Credentials"
},
"typeVersion": 1
}
],
"connections": {
"Bitwarden": {
"main": [
[
{
"node": "Bitwarden1",
"type": "main",
"index": 0
}
]
]
},
"Bitwarden1": {
"main": [
[
{
"node": "Bitwarden2",
"type": "main",
"index": 0
}
]
]
},
"Bitwarden2": {
"main": [
[
{
"node": "Bitwarden3",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1003_New_tweets.json
================================================
{
"id": 1003,
"name": "New tweets",
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
240,
260
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Twitter",
"type": "n8n-nodes-base.twitter",
"position": [
520,
160
],
"parameters": {
"limit": 100,
"operation": "search",
"searchText": "verstappen",
"additionalFields": {
"resultType": "mixed"
}
},
"typeVersion": 1
},
{
"name": "Set_AT_list",
"type": "n8n-nodes-base.set",
"position": [
780,
360
],
"parameters": {
"values": {
"number": [
{
"name": "Likes",
"value": "={{$node[\"Twitter\"].json[\"favorite_count\"] ? $node[\"Twitter\"].json[\"favorite_count\"] : 0 }}"
}
],
"string": [
{
"name": "Tweet",
"value": "={{$node[\"get airtable list\"].json[\"fields\"][\"Tweet\"]}}"
},
{
"name": "Tweet_id",
"value": "={{$node[\"get airtable list\"].json[\"fields\"][\"Tweet_id\"]}}"
},
{
"name": "Tweet URL",
"value": "={{$node[\"get airtable list\"].json[\"fields\"][\"Tweet URL\"]}}"
},
{
"name": "Author",
"value": "={{$node[\"get airtable list\"].json[\"fields\"][\"Author\"]}}"
},
{
"name": "Time",
"value": "={{$node[\"get airtable list\"].json[\"fields\"][\"Time\"]}}"
}
]
},
"options": {
"dotNotation": false
},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "get airtable list",
"type": "n8n-nodes-base.airtable",
"position": [
520,
360
],
"parameters": {
"table": "tbl6rexxFBodzKVoC",
"operation": "list",
"application": "app36P08S3Jzki6qJ",
"additionalOptions": {}
},
"credentials": {
"airtableApi": {
"id": "2",
"name": "airtable_api"
}
},
"typeVersion": 1
},
{
"name": "set twitter data",
"type": "n8n-nodes-base.set",
"position": [
780,
160
],
"parameters": {
"values": {
"number": [
{
"name": "Likes",
"value": "={{$node[\"Twitter\"].json[\"favorite_count\"]}}"
}
],
"string": [
{
"name": "Tweet",
"value": "={{$node[\"Twitter\"].json[\"text\"]}}"
},
{
"name": "Tweet_id",
"value": "={{$node[\"Twitter\"].json[\"id\"]}}"
},
{
"name": "Tweet URL",
"value": "=https://twitter.com/{{$node[\"Twitter\"].json[\"user\"][\"screen_name\"]}}/status/{{$node[\"Twitter\"].json[\"id_str\"]}}"
},
{
"name": "Author",
"value": "={{$node[\"Twitter\"].json[\"in_reply_to_screen_name\"]}}"
},
{
"name": "Time",
"value": "={{$node[\"Twitter\"].json[\"created_at\"]}}"
}
]
},
"options": {
"dotNotation": false
},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "Leave only new tweets",
"type": "n8n-nodes-base.merge",
"position": [
1060,
260
],
"parameters": {
"mode": "removeKeyMatches",
"propertyName1": "Tweet_id",
"propertyName2": "Tweet_id"
},
"typeVersion": 1
},
{
"name": "Append new tweets to airtable",
"type": "n8n-nodes-base.airtable",
"position": [
1300,
260
],
"parameters": {
"table": "tbl6rexxFBodzKVoC",
"options": {},
"operation": "append",
"application": "app36P08S3Jzki6qJ",
"addAllFields": "={{true}}"
},
"credentials": {
"airtableApi": {
"id": "2",
"name": "airtable_api"
}
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {
"Twitter": {
"main": [
[
{
"node": "set twitter data",
"type": "main",
"index": 0
}
]
]
},
"Set_AT_list": {
"main": [
[
{
"node": "Leave only new tweets",
"type": "main",
"index": 1
}
]
]
},
"set twitter data": {
"main": [
[
{
"node": "Leave only new tweets",
"type": "main",
"index": 0
}
]
]
},
"get airtable list": {
"main": [
[
{
"node": "Set_AT_list",
"type": "main",
"index": 0
}
]
]
},
"Leave only new tweets": {
"main": [
[
{
"node": "Append new tweets to airtable",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "Twitter",
"type": "main",
"index": 0
},
{
"node": "get airtable list",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1005_workflow_1005.json
================================================
{
"nodes": [
{
"name": "Plivo",
"type": "n8n-nodes-base.plivo",
"position": [
1030,
400
],
"parameters": {
"message": "=Hey! The temperature outside is {{$node[\"OpenWeatherMap\"].json[\"main\"][\"temp\"]}}°C."
},
"credentials": {
"plivoApi": "Plivo API Credentials"
},
"typeVersion": 1
},
{
"name": "OpenWeatherMap",
"type": "n8n-nodes-base.openWeatherMap",
"position": [
830,
400
],
"parameters": {
"cityName": "berlin"
},
"credentials": {
"openWeatherMapApi": "owm"
},
"typeVersion": 1
},
{
"name": "Cron",
"type": "n8n-nodes-base.cron",
"position": [
630,
400
],
"parameters": {
"triggerTimes": {
"item": [
{
"hour": 9
}
]
}
},
"typeVersion": 1
}
],
"connections": {
"Cron": {
"main": [
[
{
"node": "OpenWeatherMap",
"type": "main",
"index": 0
}
]
]
},
"OpenWeatherMap": {
"main": [
[
{
"node": "Plivo",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/100_Create_a_new_task_in_Todoist.json
================================================
{
"id": "100",
"name": "Create a new task in Todoist",
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
550,
250
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Todoist",
"type": "n8n-nodes-base.todoist",
"position": [
750,
250
],
"parameters": {
"content": "",
"options": {}
},
"credentials": {
"todoistApi": ""
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {
"On clicking 'execute'": {
"main": [
[
{
"node": "Todoist",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/100_On_new_Stripe_Invoice_Payment_update_Hubspot_and_notify_the_team_in_Slack.json
================================================
{
"id": 100,
"name": "On new Stripe Invoice Payment update Hubspot and notify the team in Slack",
"nodes": [
{
"name": "When Invoice Paid",
"type": "n8n-nodes-base.stripeTrigger",
"position": [
400,
460
],
"webhookId": "47727266-5233-48e5-b7f7-e47252840a4e",
"parameters": {
"events": [
"invoice.payment_succeeded"
]
},
"credentials": {
"stripeApi": {
"id": "39",
"name": "Stripe account"
}
},
"typeVersion": 1
},
{
"name": "Update Deal to Paid",
"type": "n8n-nodes-base.hubspot",
"position": [
1240,
500
],
"parameters": {
"dealId": "={{$json[\"id\"]}}",
"operation": "update",
"updateFields": {
"customPropertiesUi": {
"customPropertiesValues": [
{
"value": "Yes",
"property": "paid"
}
]
}
},
"authentication": "oAuth2"
},
"credentials": {
"hubspotOAuth2Api": {
"id": "60",
"name": "Hubspot account 2"
}
},
"typeVersion": 1
},
{
"name": "Find Deal based on PO Number",
"type": "n8n-nodes-base.hubspot",
"position": [
820,
480
],
"parameters": {
"operation": "search",
"filterGroupsUi": {
"filterGroupsValues": [
{
"filtersUi": {
"filterValues": [
{
"value": "={{$json[\"data\"][\"object\"][\"custom_fields\"][0][\"value\"]}}",
"propertyName": "po_number"
}
]
}
}
]
},
"additionalFields": {}
},
"credentials": {
"hubspotApi": {
"id": "57",
"name": "Hubspot account"
}
},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"name": "If no PO Number",
"type": "n8n-nodes-base.if",
"position": [
600,
460
],
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json[\"data\"][\"object\"][\"custom_fields\"]}}",
"operation": "isEmpty"
}
]
}
},
"typeVersion": 1
},
{
"name": "If no deal found for PO",
"type": "n8n-nodes-base.if",
"position": [
1020,
480
],
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json[\"id\"]}}",
"operation": "isEmpty"
}
]
}
},
"typeVersion": 1
},
{
"name": "Send invoice paid message",
"type": "n8n-nodes-base.slack",
"position": [
1420,
500
],
"parameters": {
"text": ":sparkles: An invoice has been paid :sparkles:",
"channel": "team-accounts",
"blocksUi": {
"blocksValues": []
},
"attachments": [
{
"color": "#00FF04",
"fields": {
"item": [
{
"short": true,
"title": "Amount",
"value": "={{$node[\"When Invoice Paid\"].json[\"data\"][\"object\"][\"amount_paid\"]/100}}"
},
{
"short": true,
"title": "Currency",
"value": "={{$node[\"When Invoice Paid\"].json[\"data\"][\"object\"][\"currency\"]}}"
},
{
"short": false,
"title": "Customer Name",
"value": "={{$node[\"When Invoice Paid\"].json[\"data\"][\"object\"][\"customer_name\"]}}"
},
{
"short": false,
"title": "Customer Email",
"value": "={{$node[\"When Invoice Paid\"].json[\"data\"][\"object\"][\"customer_email\"]}}"
},
{
"short": true,
"title": "PO Number",
"value": "={{$node[\"When Invoice Paid\"].json[\"data\"][\"object\"][\"custom_fields\"][0][\"value\"]}}"
},
{
"short": true,
"title": "",
"value": "="
}
]
},
"footer": "=*Transaction ID:* {{$node[\"When Invoice Paid\"].json[\"id\"]}}"
}
],
"otherOptions": {}
},
"credentials": {
"slackApi": {
"id": "53",
"name": "Slack Access Token"
}
},
"typeVersion": 1
},
{
"name": "Send no PO Message",
"type": "n8n-nodes-base.slack",
"position": [
800,
240
],
"parameters": {
"text": ":x: Stripe Payment with no PO Number :x:",
"channel": "team-accounts",
"blocksUi": {
"blocksValues": []
},
"attachments": [
{
"color": "#FF3C00",
"fields": {
"item": [
{
"short": true,
"title": "Amount",
"value": "={{$json[\"data\"][\"object\"][\"amount_paid\"] / 100}}"
},
{
"short": true,
"title": "Currency",
"value": "={{$json[\"data\"][\"object\"][\"currency\"]}}"
},
{
"short": false,
"title": "Customer Name",
"value": "={{$json[\"data\"][\"object\"][\"customer_name\"]}}"
},
{
"short": false,
"title": "Customer Email",
"value": "={{$json[\"data\"][\"object\"][\"customer_email\"]}}"
}
]
},
"footer": "=*Transaction ID:* {{$json[\"id\"]}}"
}
],
"otherOptions": {}
},
"credentials": {
"slackApi": {
"id": "53",
"name": "Slack Access Token"
}
},
"typeVersion": 1
},
{
"name": "Send Deal not found message",
"type": "n8n-nodes-base.slack",
"position": [
1180,
240
],
"parameters": {
"text": ":x: Unable to find Deal for the below payment :x:",
"channel": "team-accounts",
"blocksUi": {
"blocksValues": []
},
"attachments": [
{
"color": "#FF3C00",
"fields": {
"item": [
{
"short": true,
"title": "Amount",
"value": "={{$node[\"When Invoice Paid\"].json[\"data\"][\"object\"][\"amount_paid\"]/100}}"
},
{
"short": true,
"title": "Currency",
"value": "={{$node[\"When Invoice Paid\"].json[\"data\"][\"object\"][\"currency\"]}}"
},
{
"short": false,
"title": "Customer Name",
"value": "={{$node[\"When Invoice Paid\"].json[\"data\"][\"object\"][\"customer_name\"]}}"
},
{
"short": false,
"title": "Customer Email",
"value": "={{$node[\"When Invoice Paid\"].json[\"data\"][\"object\"][\"customer_email\"]}}"
},
{
"short": true,
"title": "PO Number",
"value": "={{$node[\"When Invoice Paid\"].json[\"data\"][\"object\"][\"custom_fields\"][0][\"value\"]}}"
}
]
},
"footer": "=*Transaction ID:* {{$node[\"When Invoice Paid\"].json[\"id\"]}}"
}
],
"otherOptions": {}
},
"credentials": {
"slackApi": {
"id": "53",
"name": "Slack Access Token"
}
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {
"If no PO Number": {
"main": [
[
{
"node": "Send no PO Message",
"type": "main",
"index": 0
}
],
[
{
"node": "Find Deal based on PO Number",
"type": "main",
"index": 0
}
]
]
},
"When Invoice Paid": {
"main": [
[
{
"node": "If no PO Number",
"type": "main",
"index": 0
}
]
]
},
"Update Deal to Paid": {
"main": [
[
{
"node": "Send invoice paid message",
"type": "main",
"index": 0
}
]
]
},
"If no deal found for PO": {
"main": [
[
{
"node": "Send Deal not found message",
"type": "main",
"index": 0
}
],
[
{
"node": "Update Deal to Paid",
"type": "main",
"index": 0
}
]
]
},
"Find Deal based on PO Number": {
"main": [
[
{
"node": "If no deal found for PO",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/100_workflow_100.json
================================================
{
"nodes": [
{
"name": "Data 1",
"type": "n8n-nodes-base.function",
"position": [
602,
350
],
"parameters": {
"functionCode": "items[0].json = {\n\"data\": [\n{\n\"pointer\": \"12345\",\n\"panel\": \"234234\",\n\"subject\": \"Blah Blah\",\n\"note\": \"\",\n\"interviewers\": [\n{\n\"id\": \"111222333\",\n\"name\": \"Bobby Johnson\",\n\"email\": \"[email protected]\"\n}\n],\n\"timezone\": \"America/Los_Angeles\",\n},\n{\n\"pointer\": \"98754\",\n\"panel\": \"3243234\",\n\"subject\": \"Yadda Yadda\",\n\"note\": \"\",\n\"interviewers\": [\n{\n\"id\": \"444555666\",\n\"name\": \"Billy Johnson\",\n\"email\": \"[email protected]\"\n}\n],\n\"timezone\": \"America/Los_Angeles\",\n},\n],\n\"hasNext\": false\n};\nreturn items;\n"
},
"typeVersion": 1
},
{
"name": "Data 2",
"type": "n8n-nodes-base.function",
"position": [
602,
550
],
"parameters": {
"functionCode": "items[0].json = [\n{\n\"name\": \"test\",\n\"fields\": {\n\"FirstName\": \"Bobby\",\n\"LastName\": \"Johnson\",\n\"JobTitleDescription\": \"Recruiter\",\n\"HomeDepartmentDescription\": \"Recruiting Team\",\n\"Photo\": [\n{\n\"x\": \"attPuc6gAIHUOHjsY\",\n\"url\": \"http://urlto.com/BobbyPhoto.jpg\",\n\"filename\": \"photo.jpg\",\n\"size\": 28956,\n\"type\": \"image/jpeg\"\n}\n],\n\"eid\": \"111222333\"\n},\n\"createdTime\": \"2019-09-23T04:06:48.000Z\"\n},\n{\n\"name\": \"test2\",\n\"fields\": {\n\"FirstName\": \"Billy\",\n\"LastName\": \"Johnson\",\n\"JobTitleDescription\": \"CEO\",\n\"HomeDepartmentDescription\": \"Boss Team\",\n\"Photo\": [\n{\n\"x\": \"attPuc6gAIHUOHjsY\",\n\"url\": \"http://urlto.com/BillyPhoto.jpg\",\n\"filename\": \"photo.jpg\",\n\"size\": 28956,\n\"type\": \"image/jpeg\"\n}\n],\n\"eid\": \"444555666\"\n},\n\"createdTime\": \"2019-09-23T04:06:48.000Z\"\n}\n,\n{\n\"name\": \"test3\",\n\"fields\": {\n\"FirstName\": \"Susan\",\n\"LastName\": \"Smith\",\n\"JobTitleDescription\": \"CFO\",\n\"HomeDepartmentDescription\": \"Boss Team\",\n\"Photo\": [\n{\n\"x\": \"attPuc6gAIHUOHjsY\",\n\"url\": \"http://urlto.com/SusanPhoto.jpg\",\n\"filename\": \"photo.jpg\",\n\"size\": 28956,\n\"type\": \"image/jpeg\"\n}\n],\n\"eid\": \"777888999\"\n},\n\"createdTime\": \"2019-09-23T04:06:48.000Z\"\n}\n];\nreturn items;"
},
"typeVersion": 1
},
{
"name": "Convert Data 1",
"type": "n8n-nodes-base.function",
"position": [
752,
350
],
"parameters": {
"functionCode": "const newItems = [];\n\nfor (const item of items[0].json.data) {\n newItems.push({ json: item });\n}\n\nreturn newItems;"
},
"typeVersion": 1
},
{
"name": "Convert Data 2",
"type": "n8n-nodes-base.function",
"position": [
752,
550
],
"parameters": {
"functionCode": "const newItems = [];\n\nfor (const item of items[0].json) {\n newItems.push({ json: item });\n}\n\nreturn newItems;"
},
"typeVersion": 1
},
{
"name": "Merge",
"type": "n8n-nodes-base.merge",
"position": [
990,
430
],
"parameters": {
"mode": "mergeByKey",
"propertyName1": "interviewers[0].id",
"propertyName2": "fields.eid"
},
"typeVersion": 1
}
],
"connections": {
"Data 1": {
"main": [
[
{
"node": "Convert Data 1",
"type": "main",
"index": 0
}
]
]
},
"Data 2": {
"main": [
[
{
"node": "Convert Data 2",
"type": "main",
"index": 0
}
]
]
},
"Convert Data 1": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"Convert Data 2": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
}
]
]
}
}
}
================================================
FILE: workflows/101_workflow_101.json
================================================
{
"nodes": [
{
"name": "Write Binary File",
"type": "n8n-nodes-base.writeBinaryFile",
"position": [
800,
350
],
"parameters": {
"fileName": "test.json"
},
"typeVersion": 1
},
{
"name": "Make Binary",
"type": "n8n-nodes-base.function",
"position": [
600,
350
],
"parameters": {
"functionCode": "items[0].binary = {\n data: {\n data: new Buffer(JSON.stringify(items[0].json, null, 2)).toString('base64')\n }\n};\nreturn items;"
},
"typeVersion": 1
},
{
"name": "Create Example Data",
"type": "n8n-nodes-base.function",
"position": [
390,
350
],
"parameters": {
"functionCode": "items[0].json = {\n \"text\": \"asdf\",\n \"number\": 1\n};\nreturn items;"
},
"typeVersion": 1
}
],
"connections": {
"Make Binary": {
"main": [
[
{
"node": "Write Binary File",
"type": "main",
"index": 0
}
]
]
},
"Create Example Data": {
"main": [
[
{
"node": "Make Binary",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1021_workflow_1021.json
================================================
{
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
250,
320
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Copper",
"type": "n8n-nodes-base.copper",
"position": [
450,
320
],
"parameters": {
"name": "Harshil",
"resource": "person",
"additionalFields": {
"emails": {
"emailFields": [
{
"email": "[email protected]",
"category": "work"
}
]
}
}
},
"credentials": {
"copperApi": "Copper API Credentials"
},
"typeVersion": 1
},
{
"name": "Copper1",
"type": "n8n-nodes-base.copper",
"position": [
650,
320
],
"parameters": {
"personId": "={{$json[\"id\"]}}",
"resource": "person",
"operation": "update",
"updateFields": {
"phone_numbers": {
"phoneFields": [
{
"number": "1234567890",
"category": "work"
}
]
}
}
},
"credentials": {
"copperApi": "Copper API Credentials"
},
"typeVersion": 1
},
{
"name": "Copper2",
"type": "n8n-nodes-base.copper",
"position": [
850,
320
],
"parameters": {
"personId": "={{$json[\"id\"]}}",
"resource": "person",
"operation": "get"
},
"credentials": {
"copperApi": "Copper API Credentials"
},
"typeVersion": 1
}
],
"connections": {
"Copper": {
"main": [
[
{
"node": "Copper1",
"type": "main",
"index": 0
}
]
]
},
"Copper1": {
"main": [
[
{
"node": "Copper2",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "Copper",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1028_Loading_data_into_a_spreadsheet.json
================================================
{
"id": "1028",
"name": "Loading data into a spreadsheet",
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
160,
300
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Set",
"type": "n8n-nodes-base.set",
"position": [
650,
300
],
"parameters": {
"values": {
"string": [
{
"name": "Name",
"value": "={{$json[\"properties\"][\"firstname\"][\"value\"]}} {{$json[\"properties\"][\"lastname\"][\"value\"]}}"
},
{
"name": "Email",
"value": "={{$json[\"identity-profiles\"][0][\"identities\"][0][\"value\"]}}"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "Mock data (CRM Contacts)",
"type": "n8n-nodes-base.function",
"notes": "\"Get contacts\" data from Hubspot node. ",
"position": [
400,
300
],
"parameters": {
"functionCode": "var newItems = [];\nnewItems.push({json:{\n \"addedAt\": 1606827045601,\n \"vid\": 1,\n \"canonical-vid\": 1,\n \"merged-vids\": [],\n \"portal-id\": 8924380,\n \"is-contact\": true,\n \"profile-token\": \"AO_T-mMZqmgHPI5CLLlw2qE24AlgWOJUL0LdMb2CegxeMzQK1LXyh7iZAgjNd-00ZdPAfnFU9Lv_7nq6qlrKvfAh8hr_cw-VBH1RCCMgHHYQ06DOXoIGAlViWmMKY-0lF9dv7lBVOMf5\",\n \"profile-url\": \"https://app.hubspot.com/contacts/8924380/contact/1\",\n \"properties\": {\n \"firstname\": {\n \"value\": \"Maria\"\n },\n \"lastmodifieddate\": {\n \"value\": \"1606827057310\"\n },\n \"company\": {\n \"value\": \"HubSpot\"\n },\n \"lastname\": {\n \"value\": \"Johnson (Sample Contact)\"\n }\n },\n \"form-submissions\": [],\n \"identity-profiles\": [\n {\n \"vid\": 1,\n \"saved-at-timestamp\": 1606827045478,\n \"deleted-changed-timestamp\": 0,\n \"identities\": [\n {\n \"type\": \"EMAIL\",\n \"value\": \"[email protected]\",\n \"timestamp\": 1606827045444,\n \"is-primary\": true\n },\n {\n \"type\": \"LEAD_GUID\",\n \"value\": \"cfa8b21f-164e-4c9a-aab1-1235c81a7d26\",\n \"timestamp\": 1606827045475\n }\n ]\n }\n ],\n \"merge-audits\": []\n }});\nnewItems.push({json:{\n \"addedAt\": 1606827045834,\n \"vid\": 51,\n \"canonical-vid\": 51,\n \"merged-vids\": [],\n \"portal-id\": 8924380,\n \"is-contact\": true,\n \"profile-token\": \"AO_T-mMX1jbZjaachMJ8t1F2yRdvyAvsir5RMvooW7XjbPZTdAv8hc24U0Rnc_PDF1gp1qmc8Tg2hDytOaRXRiWVyg-Eg8rbPFEiXNdU6jfMneow46tsSiQH1yyRf03mMi5ALZXMVfyA\",\n \"profile-url\": \"https://app.hubspot.com/contacts/8924380/contact/51\",\n \"properties\": {\n \"firstname\": {\n \"value\": \"Brian\"\n },\n \"lastmodifieddate\": {\n \"value\": \"1606827060106\"\n },\n \"company\": {\n \"value\": \"HubSpot\"\n },\n \"lastname\": {\n \"value\": \"Halligan (Sample Contact)\"\n }\n },\n \"form-submissions\": [],\n \"identity-profiles\": [\n {\n \"vid\": 51,\n \"saved-at-timestamp\": 1606827045720,\n \"deleted-changed-timestamp\": 0,\n \"identities\": [\n {\n \"type\": \"EMAIL\",\n \"value\": \"[email protected]\",\n \"timestamp\": 1606827045444,\n \"is-primary\": true\n },\n {\n \"type\": \"LEAD_GUID\",\n \"value\": \"d3749acc-06e1-4511-84fd-7b0d847f6eff\",\n \"timestamp\": 1606827045717\n }\n ]\n }\n ],\n \"merge-audits\": []\n } });\nreturn newItems;"
},
"notesInFlow": true,
"typeVersion": 1
},
{
"name": "Replace me",
"type": "n8n-nodes-base.noOp",
"notes": "Google Sheet/ Airtable/ Database with an \"append\" or \"Add row\" operation",
"position": [
910,
300
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {
"Set": {
"main": [
[
{
"node": "Replace me",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "Mock data (CRM Contacts)",
"type": "main",
"index": 0
}
]
]
},
"Mock data (CRM Contacts)": {
"main": [
[
{
"node": "Set",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1028_workflow_1028.json
================================================
{
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
250,
320
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Copper",
"type": "n8n-nodes-base.copper",
"position": [
450,
320
],
"parameters": {
"name": "Harshil",
"resource": "person",
"additionalFields": {
"emails": {
"emailFields": [
{
"email": "[email protected]",
"category": "work"
}
]
}
}
},
"credentials": {
"copperApi": "Copper API Credentials"
},
"typeVersion": 1
},
{
"name": "Copper1",
"type": "n8n-nodes-base.copper",
"position": [
650,
320
],
"parameters": {
"personId": "={{$json[\"id\"]}}",
"resource": "person",
"operation": "update",
"updateFields": {
"phone_numbers": {
"phoneFields": [
{
"number": "1234567890",
"category": "work"
}
]
}
}
},
"credentials": {
"copperApi": "Copper API Credentials"
},
"typeVersion": 1
},
{
"name": "Copper2",
"type": "n8n-nodes-base.copper",
"position": [
850,
320
],
"parameters": {
"personId": "={{$json[\"id\"]}}",
"resource": "person",
"operation": "get"
},
"credentials": {
"copperApi": "Copper API Credentials"
},
"typeVersion": 1
}
],
"connections": {
"Copper": {
"main": [
[
{
"node": "Copper1",
"type": "main",
"index": 0
}
]
]
},
"Copper1": {
"main": [
[
{
"node": "Copper2",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "Copper",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/102_Insert_data_into_a_new_row_for_a_table_in_Coda.json
================================================
{
"id": "102",
"name": "Insert data into a new row for a table in Coda",
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
250,
300
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Coda",
"type": "n8n-nodes-base.coda",
"position": [
650,
300
],
"parameters": {
"docId": "",
"options": {},
"tableId": ""
},
"credentials": {
"codaApi": ""
},
"typeVersion": 1
},
{
"name": "Set",
"type": "n8n-nodes-base.set",
"position": [
450,
300
],
"parameters": {
"values": {
"string": [
{
"name": "Column 1",
"value": "This is column 1 data"
},
{
"name": "Column 2",
"value": "This is column 2 data"
},
{
"name": "Column 3",
"value": "This is column 3 data"
}
]
},
"options": {}
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {
"Set": {
"main": [
[
{
"node": "Coda",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "Set",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/102_Send_updates_about_the_position_of_the_ISS_every_minute_to_a_topic_in_ActiveMQ.json
================================================
{
"id": "102",
"name": "Send updates about the position of the ISS every minute to a topic in ActiveMQ",
"nodes": [
{
"name": "Cron",
"type": "n8n-nodes-base.cron",
"position": [
510,
300
],
"parameters": {
"triggerTimes": {
"item": [
{
"mode": "everyMinute"
}
]
}
},
"typeVersion": 1
},
{
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"position": [
710,
300
],
"parameters": {
"url": "https://api.wheretheiss.at/v1/satellites/25544/positions",
"options": {},
"queryParametersUi": {
"parameter": [
{
"name": "timestamps",
"value": "={{Date.now();}}"
}
]
}
},
"typeVersion": 1
},
{
"name": "Set",
"type": "n8n-nodes-base.set",
"position": [
910,
300
],
"parameters": {
"values": {
"number": [
{
"name": "Latitude",
"value": "={{$node[\"HTTP Request\"].json[\"0\"][\"latitude\"]}}"
},
{
"name": "Longitude",
"value": "={{$node[\"HTTP Request\"].json[\"0\"][\"longitude\"]}}"
},
{
"name": "Timestamp",
"value": "={{$node[\"HTTP Request\"].json[\"0\"][\"timestamp\"]}}"
}
],
"string": [
{
"name": "Name",
"value": "={{$node[\"HTTP Request\"].json[\"0\"][\"name\"]}}"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "AMQP Sender",
"type": "n8n-nodes-base.amqp",
"position": [
1110,
300
],
"parameters": {
"sink": "iss-postition",
"options": {}
},
"credentials": {
"amqp": "ampq"
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {
"Set": {
"main": [
[
{
"node": "AMQP Sender",
"type": "main",
"index": 0
}
]
]
},
"Cron": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "Set",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1035_workflow_1035.json
================================================
{
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
270,
280
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Google Slides",
"type": "n8n-nodes-base.googleSlides",
"position": [
470,
280
],
"parameters": {
"operation": "getSlides",
"returnAll": true,
"authentication": "oAuth2",
"presentationId": "11myCBTn3IT-Iww01WMz43L7HUmQdL6cCR6NCtpsZer0"
},
"credentials": {
"googleSlidesOAuth2Api": "Google Slides Credentials"
},
"typeVersion": 1
},
{
"name": "Google Slides1",
"type": "n8n-nodes-base.googleSlides",
"position": [
670,
280
],
"parameters": {
"download": true,
"resource": "page",
"operation": "getThumbnail",
"pageObjectId": "={{$json[\"objectId\"]}}",
"authentication": "oAuth2",
"presentationId": "={{$node[\"Google Slides\"].parameter[\"presentationId\"]}}"
},
"credentials": {
"googleSlidesOAuth2Api": "Google Slides Credentials"
},
"typeVersion": 1
}
],
"connections": {
"Google Slides": {
"main": [
[
{
"node": "Google Slides1",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "Google Slides",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1039_workflow_1039.json
================================================
{
"nodes": [
{
"name": "Mattermost",
"type": "n8n-nodes-base.mattermost",
"position": [
650,
200
],
"parameters": {
"message": "={{$json[\"contact\"][\"firstName\"]}} from {{$json[\"contact\"][\"company\"]}} has replied back to your campaign.",
"channelId": "qx9yo1i9z3bg5qcy5a1oxnh69c",
"attachments": [],
"otherOptions": {}
},
"credentials": {
"mattermostApi": "Mattermost Credentials"
},
"typeVersion": 1
},
{
"name": "Emelia Trigger",
"type": "n8n-nodes-base.emeliaTrigger",
"position": [
450,
200
],
"webhookId": "f53bc370-a8cb-4748-8f81-be7ae9b94972",
"parameters": {
"events": [
"replied"
],
"campaignId": "6054d068b374b64365740101"
},
"credentials": {
"emeliaApi": "Emelia API Credentials"
},
"typeVersion": 1
}
],
"connections": {
"Emelia Trigger": {
"main": [
[
{
"node": "Mattermost",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/103_Create_a_new_customer_in_Chargebee.json
================================================
{
"id": "103",
"name": "Create a new customer in Chargebee",
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
250,
300
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Chargebee",
"type": "n8n-nodes-base.chargebee",
"position": [
460,
300
],
"parameters": {
"resource": "customer",
"properties": {
"last_name": "",
"first_name": ""
}
},
"credentials": {
"chargebeeApi": ""
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {
"On clicking 'execute'": {
"main": [
[
{
"node": "Chargebee",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/103_verify_email.json
================================================
{
"id": "103",
"name": "verify email",
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
440,
510
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Create Email Item",
"type": "n8n-nodes-base.functionItem",
"position": [
640,
510
],
"parameters": {
"functionCode": "item.email = \"[email protected]\";\nreturn item;"
},
"typeVersion": 1
},
{
"name": "Check Email Exists",
"type": "n8n-nodes-base.uproc",
"position": [
850,
510
],
"parameters": {
"tool": "checkEmailExists",
"email": "={{$node[\"Create Email Item\"].json[\"email\"]}}",
"additionalOptions": {}
},
"credentials": {
"uprocApi": "miquel-uproc"
},
"typeVersion": 1
},
{
"name": "Email Exists?",
"type": "n8n-nodes-base.if",
"position": [
1050,
510
],
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$node[\"Check Email Exists\"].json[\"message\"][\"response\"]}}",
"value2": "deliverable"
}
]
}
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {
"Create Email Item": {
"main": [
[
{
"node": "Check Email Exists",
"type": "main",
"index": 0
}
]
]
},
"Check Email Exists": {
"main": [
[
{
"node": "Email Exists?",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "Create Email Item",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1041_workflow_1041.json
================================================
{
"nodes": [
{
"name": "Mattermost",
"type": "n8n-nodes-base.mattermost",
"position": [
650,
200
],
"parameters": {
"message": "={{$json[\"contact\"][\"firstName\"]}} from {{$json[\"contact\"][\"company\"]}} has replied back to your campaign.",
"channelId": "qx9yo1i9z3bg5qcy5a1oxnh69c",
"attachments": [],
"otherOptions": {}
},
"credentials": {
"mattermostApi": "Mattermost Credentials"
},
"typeVersion": 1
},
{
"name": "Emelia Trigger",
"type": "n8n-nodes-base.emeliaTrigger",
"position": [
450,
200
],
"webhookId": "f53bc370-a8cb-4748-8f81-be7ae9b94972",
"parameters": {
"events": [
"replied"
],
"campaignId": "6054d068b374b64365740101"
},
"credentials": {
"emeliaApi": "Emelia API Credentials"
},
"typeVersion": 1
}
],
"connections": {
"Emelia Trigger": {
"main": [
[
{
"node": "Mattermost",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1047_workflow_1047.json
================================================
{
"nodes": [
{
"name": "AWS SQS",
"type": "n8n-nodes-base.awsSqs",
"position": [
1050,
360
],
"parameters": {
"queue": "",
"options": {}
},
"credentials": {
"aws": "AWS SQS Credentials"
},
"typeVersion": 1
},
{
"name": "Set",
"type": "n8n-nodes-base.set",
"position": [
850,
360
],
"parameters": {
"values": {
"number": [
{
"name": "Latitude",
"value": "={{$node[\"HTTP Request\"].json[\"0\"][\"latitude\"]}}"
},
{
"name": "Longitude",
"value": "={{$node[\"HTTP Request\"].json[\"0\"][\"longitude\"]}}"
},
{
"name": "Timestamp",
"value": "={{$node[\"HTTP Request\"].json[\"0\"][\"timestamp\"]}}"
}
],
"string": [
{
"name": "Name",
"value": "={{$node[\"HTTP Request\"].json[\"0\"][\"name\"]}}"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"position": [
650,
360
],
"parameters": {
"url": "https://api.wheretheiss.at/v1/satellites/25544/positions",
"options": {},
"queryParametersUi": {
"parameter": [
{
"name": "timestamps",
"value": "={{Date.now();}}"
}
]
}
},
"typeVersion": 1
},
{
"name": "Cron",
"type": "n8n-nodes-base.cron",
"position": [
450,
360
],
"parameters": {
"triggerTimes": {
"item": [
{
"mode": "everyMinute"
}
]
}
},
"typeVersion": 1
}
],
"connections": {
"Set": {
"main": [
[
{
"node": "AWS SQS",
"type": "main",
"index": 0
}
]
]
},
"Cron": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "Set",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1048_workflow_1048.json
================================================
{
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
250,
200
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Webflow",
"type": "n8n-nodes-base.webflow",
"position": [
450,
200
],
"parameters": {
"siteId": "601788abebf7aa35c1b038a1",
"fieldsUi": {
"fieldValues": [
{
"fieldId": "name",
"fieldValue": "n8n"
},
{
"fieldId": "slug",
"fieldValue": "n8n"
},
{
"fieldId": "_archived",
"fieldValue": "false"
},
{
"fieldId": "_draft",
"fieldValue": "false"
}
]
},
"operation": "create",
"collectionId": "601788ab33a62ac6a2a0284c"
},
"credentials": {
"webflowApi": "Webflow Credentials"
},
"typeVersion": 1
},
{
"name": "Webflow2",
"type": "n8n-nodes-base.webflow",
"position": [
650,
200
],
"parameters": {
"itemId": "={{$json[\"_id\"]}}",
"siteId": "601788abebf7aa35c1b038a1",
"fieldsUi": {
"fieldValues": [
{
"fieldId": "name",
"fieldValue": "={{$json[\"name\"]}}"
},
{
"fieldId": "slug",
"fieldValue": "={{$json[\"slug\"]}}"
},
{
"fieldId": "_archived",
"fieldValue": "={{$json[\"_archived\"]}}"
},
{
"fieldId": "_draft",
"fieldValue": "={{$json[\"_draft\"]}}"
},
{
"fieldId": "avatar",
"fieldValue": "https://n8n.io/n8n-logo.png"
}
]
},
"operation": "update",
"collectionId": "601788ab33a62ac6a2a0284c"
},
"credentials": {
"webflowApi": "Webflow Credentials"
},
"typeVersion": 1
},
{
"name": "Webflow1",
"type": "n8n-nodes-base.webflow",
"position": [
850,
200
],
"parameters": {
"itemId": "={{$json[\"_id\"]}}",
"siteId": "601788abebf7aa35c1b038a1",
"collectionId": "601788ab33a62ac6a2a0284c"
},
"credentials": {
"webflowApi": "Webflow Credentials"
},
"typeVersion": 1
}
],
"connections": {
"Webflow": {
"main": [
[
{
"node": "Webflow2",
"type": "main",
"index": 0
}
]
]
},
"Webflow2": {
"main": [
[
{
"node": "Webflow1",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "Webflow",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1049_workflow_1049.json
================================================
{
"nodes": [
{
"name": "Google BigQuery",
"type": "n8n-nodes-base.googleBigQuery",
"position": [
1010,
240
],
"parameters": {
"columns": "name, latitude, longitude, timestamp",
"options": {},
"tableId": "position",
"datasetId": "iss",
"projectId": "supple-cabinet-289219"
},
"credentials": {
"googleBigQueryOAuth2Api": "BigQuery Credentials"
},
"typeVersion": 1
},
{
"name": "Set",
"type": "n8n-nodes-base.set",
"position": [
810,
240
],
"parameters": {
"values": {
"number": [
{
"name": "latitude",
"value": "={{$node[\"HTTP Request\"].json[\"0\"][\"latitude\"]}}"
},
{
"name": "longitude",
"value": "={{$node[\"HTTP Request\"].json[\"0\"][\"longitude\"]}}"
},
{
"name": "timestamp",
"value": "={{$node[\"HTTP Request\"].json[\"0\"][\"timestamp\"]}}"
}
],
"string": [
{
"name": "name",
"value": "={{$json[\"0\"][\"name\"]}}"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"position": [
610,
240
],
"parameters": {
"url": "https://api.wheretheiss.at/v1/satellites/25544/positions",
"options": {},
"queryParametersUi": {
"parameter": [
{
"name": "timestamps",
"value": "={{Date.now();}}"
}
]
}
},
"typeVersion": 1
},
{
"name": "Cron",
"type": "n8n-nodes-base.cron",
"position": [
410,
240
],
"parameters": {
"triggerTimes": {
"item": [
{
"mode": "everyMinute"
}
]
}
},
"typeVersion": 1
}
],
"connections": {
"Set": {
"main": [
[
{
"node": "Google BigQuery",
"type": "main",
"index": 0
}
]
]
},
"Cron": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "Set",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/104_location_by_ip.json
================================================
{
"id": "104",
"name": "location_by_ip",
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
440,
510
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Get Location By IP",
"type": "n8n-nodes-base.uproc",
"position": [
850,
510
],
"parameters": {
"ip": "={{$node[\"Create IP and Email Item\"].json[\"ip\"]}}",
"tool": "getLocationByIp",
"group": "geographic",
"additionalOptions": {}
},
"credentials": {
"uprocApi": "miquel-uproc"
},
"typeVersion": 1
},
{
"name": "User in Spain?",
"type": "n8n-nodes-base.if",
"position": [
1050,
510
],
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$node[\"Get Location By IP\"].json[\"message\"][\"country_code\"]}}",
"value2": "ES"
}
]
}
},
"typeVersion": 1
},
{
"name": "Create IP and Email Item",
"type": "n8n-nodes-base.functionItem",
"position": [
640,
510
],
"parameters": {
"functionCode": "item.ip = \"83.46.131.46\";\nitem.email = \"[email protected]\";\n\nreturn item;"
},
"typeVersion": 1
},
{
"name": "Send English Email",
"type": "n8n-nodes-base.awsSes",
"position": [
1270,
650
],
"parameters": {
"body": "Hi,\n\nThank you for your signup!",
"subject": "Welcome aboard",
"fromEmail": "[email protected]",
"toAddresses": [
"={{$node[\"Create IP and Email Item\"].json[\"email\"]}}"
],
"additionalFields": {}
},
"credentials": {
"aws": "ses"
},
"typeVersion": 1
},
{
"name": "Send Spanish Email",
"type": "n8n-nodes-base.awsSes",
"position": [
1270,
420
],
"parameters": {
"body": "Hola,\n\n¡Gracias por registrarte!",
"subject": "Bienvenido a bordo",
"fromEmail": "[email protected]",
"toAddresses": [
"={{$node[\"Create IP and Email Item\"].json[\"email\"]}}"
],
"additionalFields": {}
},
"credentials": {
"aws": "ses"
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {
"User in Spain?": {
"main": [
[
{
"node": "Send Spanish Email",
"type": "main",
"index": 0
}
],
[
{
"node": "Send English Email",
"type": "main",
"index": 0
}
]
]
},
"Get Location By IP": {
"main": [
[
{
"node": "User in Spain?",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "Create IP and Email Item",
"type": "main",
"index": 0
}
]
]
},
"Create IP and Email Item": {
"main": [
[
{
"node": "Get Location By IP",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/104_Look_up_a_person_using_their_email_in_Clearbit.json
================================================
{
"id": "104",
"name": "Look up a person using their email in Clearbit",
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
250,
300
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Clearbit",
"type": "n8n-nodes-base.clearbit",
"position": [
450,
300
],
"parameters": {
"email": "",
"resource": "person",
"additionalFields": {}
},
"credentials": {
"clearbitApi": ""
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {
"On clicking 'execute'": {
"main": [
[
{
"node": "Clearbit",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1055_workflow_1055.json
================================================
{
"nodes": [
{
"name": "Airtable",
"type": "n8n-nodes-base.airtable",
"position": [
470,
200
],
"parameters": {
"table": "Table 1",
"operation": "list",
"additionalOptions": {}
},
"credentials": {
"airtableApi": ""
},
"typeVersion": 1
},
{
"name": "Mailcheck",
"type": "n8n-nodes-base.mailcheck",
"position": [
670,
200
],
"parameters": {
"email": "={{$json[\"fields\"][\"Email\"]}}"
},
"credentials": {
"mailcheckApi": "Mailcheck API Credentials"
},
"typeVersion": 1
},
{
"name": "Set",
"type": "n8n-nodes-base.set",
"position": [
870,
200
],
"parameters": {
"values": {
"string": [
{
"name": "ID",
"value": "={{$node[\"Airtable\"].json[\"id\"]}}"
}
],
"boolean": [
{
"name": "Valid",
"value": "={{$json[\"mxExists\"]}}"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "Airtable1",
"type": "n8n-nodes-base.airtable",
"position": [
1070,
200
],
"parameters": {
"id": "={{$json[\"ID\"]}}",
"table": "=Table 1",
"fields": [
"Valid"
],
"options": {},
"operation": "update",
"application": "={{$node[\"Airtable\"].parameter[\"application\"]}}",
"updateAllFields": false
},
"credentials": {
"airtableApi": "Airtable Credentials n8n"
},
"typeVersion": 1
}
],
"connections": {
"Set": {
"main": [
[
{
"node": "Airtable1",
"type": "main",
"index": 0
}
]
]
},
"Airtable": {
"main": [
[
{
"node": "Mailcheck",
"type": "main",
"index": 0
}
]
]
},
"Mailcheck": {
"main": [
[
{
"node": "Set",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1058_workflow_1058.json
================================================
{
"nodes": [
{
"name": "n8n Trigger",
"type": "n8n-nodes-base.n8nTrigger",
"position": [
450,
200
],
"parameters": {
"events": [
"init"
]
},
"typeVersion": 1
},
{
"name": "Mattermost",
"type": "n8n-nodes-base.mattermost",
"position": [
650,
200
],
"parameters": {
"message": "=Your n8n instance started at {{$json[\"timestamp\"]}}",
"channelId": "toyi3uoycf8rirtm7d5jm15sso",
"attachments": [],
"otherOptions": {}
},
"credentials": {
"mattermostApi": "Mattermost Credentials"
},
"typeVersion": 1
}
],
"connections": {
"n8n Trigger": {
"main": [
[
{
"node": "Mattermost",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1059_workflow_1059.json
================================================
{
"nodes": [
{
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
490,
460
],
"webhookId": "c0345765-4488-4ac8-a9da-02f647dd2b90",
"parameters": {
"path": "c0345765-4488-4ac8-a9da-02f647dd2b90",
"options": {}
},
"typeVersion": 1
},
{
"name": "Set",
"type": "n8n-nodes-base.set",
"position": [
690,
460
],
"parameters": {
"values": {
"string": [
{
"name": "Message",
"value": "Hello!"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "Mattermost",
"type": "n8n-nodes-base.mattermost",
"position": [
690,
610
],
"parameters": {
"message": "=The workflow {{$workflow.name}}, was updated.",
"channelId": "toyi3uoycf8rirtm7d5jm15sso",
"attachments": [],
"otherOptions": {}
},
"credentials": {
"mattermostApi": "Mattermost Credentials"
},
"typeVersion": 1
},
{
"name": "Workflow Trigger",
"type": "n8n-nodes-base.workflowTrigger",
"position": [
490,
610
],
"parameters": {
"events": [
"update"
]
},
"typeVersion": 1
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Set",
"type": "main",
"index": 0
}
]
]
},
"Workflow Trigger": {
"main": [
[
{
"node": "Mattermost",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/105_Create_a_new_member,_update_the_information_of_the_member,_create_a_note_and_a_post_for_the_member_in_Orbit.json
================================================
{
"id": "105",
"name": "Create a new member, update the information of the member, create a note and a post for the member in Orbit",
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
250,
300
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Orbit",
"type": "n8n-nodes-base.orbit",
"position": [
450,
300
],
"parameters": {
"operation": "upsert",
"identityUi": {
"identityValue": {
"source": "github",
"searchBy": "username",
"username": ""
}
},
"workspaceId": "425",
"additionalFields": {}
},
"credentials": {
"orbitApi": "orbit-review"
},
"typeVersion": 1
},
{
"name": "Orbit1",
"type": "n8n-nodes-base.orbit",
"position": [
650,
300
],
"parameters": {
"memberId": "={{$node[\"Orbit\"].json[\"id\"]}}",
"operation": "update",
"workspaceId": "={{$node[\"Orbit\"].parameter[\"workspaceId\"]}}",
"updateFields": {
"tagsToAdd": ""
}
},
"credentials": {
"orbitApi": "orbit-review"
},
"typeVersion": 1
},
{
"name": "Orbit2",
"type": "n8n-nodes-base.orbit",
"position": [
850,
300
],
"parameters": {
"note": "",
"memberId": "={{$node[\"Orbit\"].json[\"id\"]}}",
"resource": "note",
"workspaceId": "={{$node[\"Orbit\"].parameter[\"workspaceId\"]}}"
},
"credentials": {
"orbitApi": "orbit-review"
},
"typeVersion": 1
},
{
"name": "Orbit3",
"type": "n8n-nodes-base.orbit",
"position": [
1050,
300
],
"parameters": {
"url": "https://medium.com/n8n-io/sending-sms-the-low-code-way-with-airtable-twilio-programmable-sms-and-n8n-90dbde74223e",
"memberId": "={{$node[\"Orbit\"].json[\"id\"]}}",
"resource": "post",
"workspaceId": "={{$node[\"Orbit\"].parameter[\"workspaceId\"]}}",
"additionalFields": {}
},
"credentials": {
"orbitApi": "orbit-review"
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {
"Orbit": {
"main": [
[
{
"node": "Orbit1",
"type": "main",
"index": 0
}
]
]
},
"Orbit1": {
"main": [
[
{
"node": "Orbit2",
"type": "main",
"index": 0
}
]
]
},
"Orbit2": {
"main": [
[
{
"node": "Orbit3",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "Orbit",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/105_Create_a_task_in_ClickUp.json
================================================
{
"id": "105",
"name": "Create a task in ClickUp",
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
250,
300
],
"parameters": {},
"typeVersion": 1
},
{
"name": "ClickUp",
"type": "n8n-nodes-base.clickUp",
"position": [
450,
300
],
"parameters": {
"list": "",
"name": "",
"team": "",
"space": "",
"folder": "",
"additionalFields": {}
},
"credentials": {
"clickUpApi": ""
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {
"On clicking 'execute'": {
"main": [
[
{
"node": "ClickUp",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/105_screenshot.json
================================================
{
"id": "105",
"name": "screenshot",
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
440,
580
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Create Web + Email Item",
"type": "n8n-nodes-base.functionItem",
"position": [
630,
580
],
"parameters": {
"functionCode": "item.website = \"https://uproc.io\";\nitem.email = \"[email protected]\";\n\nreturn item;"
},
"typeVersion": 1
},
{
"name": "Send Email",
"type": "n8n-nodes-base.awsSes",
"position": [
1660,
600
],
"parameters": {
"body": "=Hi,\n<br><br>\nThese are your screenshots:<br>\n<table border=\"0\">\n<tr>\n<th>Simple screenshot</th><th>Fullpage screenshot</th>\n<tr>\n<td style=\"vertical-align: top; text-align: center\"><img src=\"{{$node[\"Generate Screenshot\"].json[\"message\"][\"result\"]}}\" width=\"320\"></td>\n<td style=\"vertical-align: top; text-align: center\"><img src=\"{{$node[\"Generate FullPage\"].json[\"message\"][\"result\"]}}\" width=\"320\"></td>\n</tr>\n</table>\n<br><br>\nThank you!",
"subject": "Your screenshots!",
"fromEmail": "[email protected]",
"isBodyHtml": true,
"toAddresses": [
"={{$node[\"Create Web + Email Item\"].json[\"email\"]}}"
],
"additionalFields": {}
},
"credentials": {
"aws": "ses"
},
"typeVersion": 1
},
{
"name": "Generate FullPage",
"type": "n8n-nodes-base.uproc",
"position": [
850,
510
],
"parameters": {
"url": "={{$node[\"Create Web + Email Item\"].json[\"website\"]}}",
"tool": "getUrlScreenshot",
"group": "image",
"width": "640",
"fullpage": "yes",
"additionalOptions": {}
},
"credentials": {
"uprocApi": "miquel-uproc"
},
"typeVersion": 1
},
{
"name": "Generate Screenshot",
"type": "n8n-nodes-base.uproc",
"position": [
840,
680
],
"parameters": {
"url": "={{$node[\"Create Web + Email Item\"].json[\"website\"]}}",
"tool": "getUrlScreenshot",
"group": "image",
"width": "640",
"fullpage": "no",
"additionalOptions": {}
},
"credentials": {
"uprocApi": "miquel-uproc"
},
"typeVersion": 1
},
{
"name": "Get File",
"type": "n8n-nodes-base.httpRequest",
"position": [
1050,
510
],
"parameters": {
"url": "={{$node[\"Generate FullPage\"].json[\"message\"][\"result\"]}}",
"options": {},
"responseFormat": "file",
"allowUnauthorizedCerts": true
},
"typeVersion": 1
},
{
"name": "Get File1",
"type": "n8n-nodes-base.httpRequest",
"position": [
1050,
680
],
"parameters": {
"url": "={{$node[\"Generate Screenshot\"].json[\"message\"][\"result\"]}}",
"options": {},
"responseFormat": "file",
"allowUnauthorizedCerts": true
},
"typeVersion": 1
},
{
"name": "Merge",
"type": "n8n-nodes-base.merge",
"position": [
1460,
600
],
"parameters": {
"mode": "passThrough"
},
"typeVersion": 1
},
{
"name": "Upload Screenshot",
"type": "n8n-nodes-base.dropbox",
"position": [
1270,
680
],
"parameters": {
"path": "/screenshots/sample.png",
"binaryData": true
},
"credentials": {
"dropboxApi": "dropbox-miquel"
},
"typeVersion": 1
},
{
"name": "Upload fullpage",
"type": "n8n-nodes-base.dropbox",
"position": [
1270,
510
],
"parameters": {
"path": "/screenshots/sample_fullpage.png",
"binaryData": true
},
"credentials": {
"dropboxApi": "dropbox-miquel"
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {
"Merge": {
"main": [
[
{
"node": "Send Email",
"type": "main",
"index": 0
}
]
]
},
"Get File": {
"main": [
[
{
"node": "Upload fullpage",
"type": "main",
"index": 0
}
]
]
},
"Get File1": {
"main": [
[
{
"node": "Upload Screenshot",
"type": "main",
"index": 0
}
]
]
},
"Upload fullpage": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"Generate FullPage": {
"main": [
[
{
"node": "Get File",
"type": "main",
"index": 0
}
]
]
},
"Upload Screenshot": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
}
]
]
},
"Generate Screenshot": {
"main": [
[
{
"node": "Get File1",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "Create Web + Email Item",
"type": "main",
"index": 0
}
]
]
},
"Create Web + Email Item": {
"main": [
[
{
"node": "Generate FullPage",
"type": "main",
"index": 0
},
{
"node": "Generate Screenshot",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1068_workflow_1068.json
================================================
{
"nodes": [
{
"name": "FileMaker",
"type": "n8n-nodes-base.filemaker",
"position": [
450,
320
],
"parameters": {
"action": "create",
"layout": "My Form Layout",
"fieldsParametersUi": {
"fields": [
{
"name": "first_name",
"value": "Harshil"
},
{
"name": "last_name",
"value": "Agrawal"
}
]
}
},
"credentials": {
"fileMaker": "FileMaker API Credentials"
},
"typeVersion": 1
},
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
250,
320
],
"parameters": {},
"typeVersion": 1
},
{
"name": "FileMaker",
"type": "n8n-nodes-base.filemaker",
"position": [
450,
320
],
"parameters": {
"action": "create",
"layout": "My Form Layout",
"fieldsParametersUi": {
"fields": [
{
"name": "first_name",
"value": "Harshil"
},
{
"name": "last_name",
"value": "Agrawal"
}
]
}
},
"credentials": {
"fileMaker": "FileMaker API Credentials"
},
"typeVersion": 1
},
{
"name": "FileMaker2",
"type": "n8n-nodes-base.filemaker",
"position": [
650,
320
],
"parameters": {
"modId": "={{$json[\"response\"][\"modId\"]}}",
"recid": "={{$json[\"response\"][\"recordId\"]}}",
"action": "edit",
"layout": "My Form Layout",
"fieldsParametersUi": {
"fields": [
{
"name": "address_country",
"value": "Germany"
}
]
}
},
"credentials": {
"fileMaker": "FileMaker API Credentials"
},
"typeVersion": 1
},
{
"name": "FileMaker3",
"type": "n8n-nodes-base.filemaker",
"position": [
850,
320
],
"parameters": {
"recid": "={{$node[\"FileMaker\"].json[\"response\"][\"recordId\"]}}",
"layout": "My Form Layout"
},
"credentials": {
"fileMaker": "FileMaker API Credentials"
},
"typeVersion": 1
}
],
"connections": {
"FileMaker": {
"main": [
[
{
"node": "FileMaker2",
"type": "main",
"index": 0
}
]
]
},
"FileMaker2": {
"main": [
[
{
"node": "FileMaker3",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "FileMaker",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1069_workflow_1069.json
================================================
{
"nodes": [
{
"name": "Cron",
"type": "n8n-nodes-base.cron",
"position": [
490,
360
],
"parameters": {
"triggerTimes": {
"item": [
{
"mode": "everyMinute"
}
]
}
},
"typeVersion": 1
},
{
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"position": [
690,
360
],
"parameters": {
"url": "https://api.wheretheiss.at/v1/satellites/25544/positions",
"options": {},
"queryParametersUi": {
"parameter": [
{
"name": "timestamps",
"value": "={{Date.now()}}"
}
]
}
},
"typeVersion": 1
},
{
"name": "Set",
"type": "n8n-nodes-base.set",
"position": [
890,
360
],
"parameters": {
"values": {
"string": [
{
"name": "Name",
"value": "={{$json[\"0\"][\"name\"]}}"
},
{
"name": "Latitude",
"value": "={{$json[\"0\"][\"latitude\"]}}"
},
{
"name": "Longitude",
"value": "={{$json[\"0\"][\"longitude\"]}}"
},
{
"name": "Timestamp",
"value": "={{$json[\"0\"][\"timestamp\"]}}"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "MQTT",
"type": "n8n-nodes-base.mqtt",
"position": [
1090,
360
],
"parameters": {
"topic": "iss-position",
"options": {}
},
"credentials": {
"mqtt": "mqtt"
},
"typeVersion": 1
}
],
"connections": {
"Set": {
"main": [
[
{
"node": "MQTT",
"type": "main",
"index": 0
}
]
]
},
"Cron": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "Set",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1074_workflow_1074.json
================================================
{
"meta": {
"instanceId": "0c99324b4b0921a9febd4737c606882881f3ca11d9b1d7e22b0dad4784eb24c7"
},
"nodes": [
{
"id": "f418ae01-01ea-4794-8903-d5709a29c735",
"name": "Get current date",
"type": "n8n-nodes-base.code",
"position": [
240,
2460
],
"parameters": {
"jsCode": "const monthNames = [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December',\n]\n\nconst date = new Date()\nconst year = date.getFullYear()\nconst month = date.getMonth()\n\nlet currentDate = {\n month: month,\n year: year,\n text: `${monthNames[month]} '${year.toString().slice(-2)}`\n}\n\nitems[0].json.currentDate = currentDate\n\nreturn items\n\n// Month > Number e.g. July = 6, December = 11\n// Year > Text\n// Text > Playlist name\n\n// let currentDate = {\n// month: 8, \n// year: '2024',\n// text: `September '23`\n// }\n\n// items[0].json.currentDate = currentDate\n\n// return items\n\n"
},
"typeVersion": 1
},
{
"id": "855e493a-a232-45ef-8fdd-4a8225065c95",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
460,
2580
],
"parameters": {
"width": 1290.936043660723,
"height": 407.6508589002549,
"content": "## Check if the song is present in the database"
},
"typeVersion": 1
},
{
"id": "672ef06c-b812-41c8-8501-cde8b61a4aef",
"name": "Get last 10 liked tracks",
"type": "n8n-nodes-base.spotify",
"position": [
500,
2680
],
"parameters": {
"limit": 10,
"resource": "library"
},
"credentials": {
"spotifyOAuth2Api": {
"id": "zQrMRwwU6DLh4W77",
"name": "Spotify account"
}
},
"typeVersion": 1
},
{
"id": "da13c571-6af4-49bf-b8ff-2d54245f6d3e",
"name": "Check if track is saved",
"type": "n8n-nodes-base.nocoDb",
"position": [
940,
2780
],
"parameters": {
"table": "m0dm2y304t7vmuk",
"options": {
"where": "=(uri,eq,{{ $json.track.uri }})",
"fields": [
"uri"
]
},
"operation": "getAll",
"projectId": "pepq760y5lwt5tm",
"returnAll": true,
"authentication": "nocoDbApiToken"
},
"credentials": {
"nocoDbApiToken": {
"id": "9uSbSrDz8EL2OIL7",
"name": "NocoDB Token account"
}
},
"typeVersion": 3,
"alwaysOutputData": true
},
{
"id": "9144cda9-f18f-46d9-be2d-9fca4b192dbb",
"name": "Is not saved",
"type": "n8n-nodes-base.if",
"position": [
1160,
2780
],
"parameters": {
"options": {},
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "dbb259d9-e2ec-4a7b-b375-601346dc2571",
"operator": {
"type": "object",
"operation": "empty",
"singleValue": true
},
"leftValue": "={{ $json }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2
},
{
"id": "66b430e2-f46c-43b2-84e7-35c85d2b4403",
"name": "Create song entry",
"type": "n8n-nodes-base.nocoDb",
"position": [
1380,
2700
],
"parameters": {
"table": "m0dm2y304t7vmuk",
"fieldsUi": {
"fieldValues": [
{
"fieldName": "uri",
"fieldValue": "={{ $('For each tracks in liked song').item.json.track.uri }}"
},
{
"fieldName": "added_at",
"fieldValue": "={{ $('For each tracks in liked song').item.json.added_at }}"
},
{
"fieldName": "playlistName",
"fieldValue": "={{ $('Get current date').item.json.currentDate.text }}"
}
]
},
"operation": "create",
"projectId": "pepq760y5lwt5tm",
"authentication": "nocoDbApiToken"
},
"credentials": {
"nocoDbApiToken": {
"id": "9uSbSrDz8EL2OIL7",
"name": "NocoDB Token account"
}
},
"typeVersion": 3
},
{
"id": "9bd883ea-2e87-45aa-b8a0-b361ba7c5d9f",
"name": "Get all user playlist",
"type": "n8n-nodes-base.spotify",
"position": [
500,
2220
],
"parameters": {
"resource": "playlist",
"operation": "getUserPlaylists",
"returnAll": true
},
"credentials": {
"spotifyOAuth2Api": {
"id": "zQrMRwwU6DLh4W77",
"name": "Spotify account"
}
},
"typeVersion": 1
},
{
"id": "3a0dad98-4571-4fb7-b366-0060d35b65fe",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
460,
2080
],
"parameters": {
"width": 1481.5336029736159,
"height": 416.7665808180022,
"content": "## Check if the playlist present in the database"
},
"typeVersion": 1
},
{
"id": "e793b97c-cc29-47b0-8aa7-015fa631bc37",
"name": "Get monthly playlist",
"type": "n8n-nodes-base.filter",
"position": [
720,
2220
],
"parameters": {
"options": {},
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "56173299-d774-4cb4-b26f-4dca294dda1d",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.name }}",
"rightValue": "={{ $('Get current date').item.json.currentDate.text }}"
}
]
}
},
"typeVersion": 2,
"alwaysOutputData": true
},
{
"id": "502ea9e2-7f03-4a8a-860e-90d63e42ee33",
"name": "Get playlist in DB",
"type": "n8n-nodes-base.nocoDb",
"position": [
1160,
2120
],
"parameters": {
"table": "mchan0xys9h7h7e",
"options": {
"where": "=(name,eq,{{ $('Get current date').item.json.currentDate.text }})"
},
"operation": "getAll",
"projectId": "pepq760y5lwt5tm",
"returnAll": true,
"authentication": "nocoDbApiToken"
},
"credentials": {
"nocoDbApiToken": {
"id": "9uSbSrDz8EL2OIL7",
"name": "NocoDB Token account"
}
},
"typeVersion": 3,
"alwaysOutputData": true
},
{
"id": "3d2bece0-8096-4ee1-a3b9-ae91b83f0957",
"name": "Monthly playlist exist in Spotify ?",
"type": "n8n-nodes-base.if",
"position": [
940,
2220
],
"parameters": {
"options": {},
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "a2d9e3e0-a906-4ed9-9e23-166f781c86b1",
"operator": {
"type": "object",
"operation": "notEmpty",
"singleValue": true
},
"leftValue": "={{ $json }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2
},
{
"id": "d983b940-2f8d-4823-aaaf-d1bfa4428b41",
"name": "Playlist exist in DB ?",
"type": "n8n-nodes-base.if",
"position": [
1380,
2120
],
"parameters": {
"options": {},
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "9485c9d4-ecdc-4d0e-a576-c7db5787c069",
"operator": {
"type": "object",
"operation": "notEmpty",
"singleValue": true
},
"leftValue": "={{ $json }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2
},
{
"id": "c694ab19-bca7-4dd4-8d10-cf8a1adab341",
"name": "Create playlist in Spotify",
"type": "n8n-nodes-base.spotify",
"position": [
1160,
2320
],
"parameters": {
"name": "={{ $('Get current date').item.json.currentDate.text }}",
"resource": "playlist",
"operation": "create",
"additionalFields": {
"description": "Monthly playlist"
}
},
"credentials": {
"spotifyOAuth2Api": {
"id": "zQrMRwwU6DLh4W77",
"name": "Spotify account"
}
},
"typeVersion": 1
},
{
"id": "dc9dc3b5-cef7-412b-b3f8-5ec011c2746d",
"name": "Create playlist in DB1",
"type": "n8n-nodes-base.nocoDb",
"position": [
1380,
2320
],
"parameters": {
"table": "mchan0xys9h7h7e",
"fieldsUi": {
"fieldValues": [
{
"fieldName": "uri",
"fieldValue": "={{ $json.uri }}"
},
{
"fieldName": "name",
"fieldValue": "={{ $json.name }}"
},
{
"fieldName": "description",
"fieldValue": "={{ $json.description}}"
}
]
},
"operation": "create",
"projectId": "pepq760y5lwt5tm",
"authentication": "nocoDbApiToken"
},
"credentials": {
"nocoDbApiToken": {
"id": "9uSbSrDz8EL2OIL7",
"name": "NocoDB Token account"
}
},
"typeVersion": 3
},
{
"id": "0356c3a4-dc20-42b0-b069-045048768939",
"name": "Create playlist in DB",
"type": "n8n-nodes-base.nocoDb",
"position": [
1600,
2200
],
"parameters": {
"table": "mchan0xys9h7h7e",
"fieldsUi": {
"fieldValues": [
{
"fieldName": "uri",
"fieldValue": "={{ $('Get monthly playlist').item.json.uri }}"
},
{
"fieldName": "name",
"fieldValue": "={{ $('Get monthly playlist').item.json.name }}"
},
{
"fieldName": "description",
"fieldValue": "={{ $('Get monthly playlist').item.json.description }}"
}
]
},
"operation": "create",
"projectId": "pepq760y5lwt5tm",
"authentication": "nocoDbApiToken"
},
"credentials": {
"nocoDbApiToken": {
"id": "9uSbSrDz8EL2OIL7",
"name": "NocoDB Token account"
}
},
"typeVersion": 3
},
{
"id": "e2c86f04-725c-4af7-b3c2-9c22e2dc64bf",
"name": "Merge",
"type": "n8n-nodes-base.merge",
"position": [
2040,
2460
],
"parameters": {
"mode": "chooseBranch",
"output": "empty"
},
"typeVersion": 2.1
},
{
"id": "036e0d74-3383-44e9-991d-7e062b982b51",
"name": "Clean op",
"type": "n8n-nodes-base.noOp",
"position": [
1820,
2200
],
"parameters": {},
"typeVersion": 1
},
{
"id": "323c9746-f713-4a3d-9af5-9579ec767fca",
"name": "Clean op2",
"type": "n8n-nodes-base.noOp",
"position": [
1600,
2800
],
"parameters": {},
"typeVersion": 1
},
{
"id": "3b0be7ca-c47b-4524-b72a-c37f25c5e4d0",
"name": "Get this month playlist in DB",
"type": "n8n-nodes-base.nocoDb",
"position": [
2260,
2460
],
"parameters": {
"table": "mchan0xys9h7h7e",
"options": {
"where": "=(name,eq,{{ $('Get current date').item.json.currentDate.text }})"
},
"operation": "getAll",
"projectId": "pepq760y5lwt5tm",
"returnAll": true,
"authentication": "nocoDbApiToken"
},
"credentials": {
"nocoDbApiToken": {
"id": "9uSbSrDz8EL2OIL7",
"name": "NocoDB Token account"
}
},
"typeVersion": 3
},
{
"id": "733077e4-c474-4c95-ba05-d0b2375475ad",
"name": "Get this month tracks in DB",
"type": "n8n-nodes-base.nocoDb",
"position": [
2480,
2460
],
"parameters": {
"table": "m0dm2y304t7vmuk",
"options": {
"where": "=(playlistName,eq,{{ $('Get current date').item.json.currentDate.text }})"
},
"operation": "getAll",
"projectId": "pepq760y5lwt5tm",
"returnAll": true,
"authentication": "nocoDbApiToken"
},
"credentials": {
"nocoDbApiToken": {
"id": "9uSbSrDz8EL2OIL7",
"name": "NocoDB Token account"
}
},
"typeVersion": 3
},
{
"id": "6c8ef70f-542d-4454-9ae6-8f4e9778beb0",
"name": "Add song to the playlist",
"type": "n8n-nodes-base.spotify",
"position": [
3580,
2460
],
"parameters": {
"id": "={{ $('Get this month playlist in DB').item.json.uri }}",
"trackID": "={{ $('For each monthly tracks in DB').item.json.uri }}",
"resource": "playlist",
"additionalFields": {}
},
"credentials": {
"spotifyOAuth2Api": {
"id": "zQrMRwwU6DLh4W77",
"name": "Spotify account"
}
},
"typeVersion": 1
},
{
"id": "034cd38d-4800-4f9c-9b67-453fdb2afa3c",
"name": "For each tracks in liked song",
"type": "n8n-nodes-base.splitInBatches",
"position": [
720,
2680
],
"parameters": {
"options": {
"reset": false
}
},
"typeVersion": 3
},
{
"id": "90ff5c0b-e842-437f-be85-a5938288c513",
"name": "For each monthly tracks in DB",
"type": "n8n-nodes-base.splitInBatches",
"position": [
2700,
2460
],
"parameters": {
"options": {}
},
"typeVersion": 3
},
{
"id": "decf36a4-fb8c-41eb-ae15-7ba36d621ad7",
"name": "Get this month tracks in Spotify",
"type": "n8n-nodes-base.spotify",
"position": [
2920,
2560
],
"parameters": {
"id": "={{ $('Get this month playlist in DB').item.json.uri }}",
"resource": "playlist",
"operation": "getTracks",
"returnAll": true
},
"credentials": {
"spotifyOAuth2Api": {
"id": "zQrMRwwU6DLh4W77",
"name": "Spotify account"
}
},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "d322a655-e80b-4277-87d9-93e927b2f372",
"name": "Filter1",
"type": "n8n-nodes-base.filter",
"position": [
3140,
2560
],
"parameters": {
"options": {},
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "a11640e1-f22a-4ce9-abff-976efc57e1d3",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $('For each monthly tracks in DB').item.json.uri }}",
"rightValue": "={{ $json.track.uri }}"
}
]
}
},
"executeOnce": false,
"typeVersion": 2,
"alwaysOutputData": true
},
{
"id": "5027f98d-b973-405f-81cf-534df794325f",
"name": "Song is not present in the playlist ?",
"type": "n8n-nodes-base.if",
"position": [
3360,
2560
],
"parameters": {
"options": {},
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "1beb843e-53da-48ce-9717-d7797232e4ae",
"operator": {
"type": "object",
"operation": "empty",
"singleValue": true
},
"leftValue": "={{ $json }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2
},
{
"id": "cd2e3a28-24c1-47d7-ad30-c836e08ad40f",
"name": "Clean op1",
"type": "n8n-nodes-base.noOp",
"position": [
3800,
2560
],
"parameters": {},
"typeVersion": 1
},
{
"id": "56bbb0e9-3ee5-48e3-b0bf-48e8d026daa9",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
2220,
2400
],
"parameters": {
"width": 1733.785946789966,
"height": 351.94195615011336,
"content": "## Check if the song is in the Spotify playlist. If not, add it."
},
"typeVersion": 1
},
{
"id": "9834163b-0991-4910-bb4f-cf4557bfa0d5",
"name": "Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
20,
2460
],
"parameters": {
"rule": {
"interval": [
{
"field": "minutes"
}
]
}
},
"typeVersion": 1.2
},
{
"id": "72a3c48f-a759-4e0c-b7bb-9f69a5f4377e",
"name": "End",
"type": "n8n-nodes-base.noOp",
"position": [
4100,
2260
],
"parameters": {},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"Merge": {
"main": [
[
{
"node": "Get this month playlist in DB",
"type": "main",
"index": 0
}
]
]
},
"Filter1": {
"main": [
[
{
"node": "Song is not present in the playlist ?",
"type": "main",
"index": 0
}
]
]
},
"Clean op": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"Clean op1": {
"main": [
[
{
"node": "For each monthly tracks in DB",
"type": "main",
"index": 0
}
]
]
},
"Clean op2": {
"main": [
[
{
"node": "For each tracks in liked song",
"type": "main",
"index": 0
}
]
]
},
"Is not saved": {
"main": [
[
{
"node": "Create song entry",
"type": "main",
"index": 0
}
],
[
{
"node": "Clean op2",
"type": "main",
"index": 0
}
]
]
},
"Get current date": {
"main": [
[
{
"node": "Get all user playlist",
"type": "main",
"index": 0
},
{
"node": "Get last 10 liked tracks",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Get current date",
"type": "main",
"index": 0
}
]
]
},
"Create song entry": {
"main": [
[
{
"node": "Clean op2",
"type": "main",
"index": 0
}
]
]
},
"Get playlist in DB": {
"main": [
[
{
"node": "Playlist exist in DB ?",
"type": "main",
"index": 0
}
]
]
},
"Get monthly playlist": {
"main": [
[
{
"node": "Monthly playlist exist in Spotify ?",
"type": "main",
"index": 0
}
]
]
},
"Create playlist in DB": {
"main": [
[
{
"node": "Clean op",
"type": "main",
"index": 0
}
]
]
},
"Get all user playlist": {
"main": [
[
{
"node": "Get monthly playlist",
"type": "main",
"index": 0
}
]
]
},
"Create playlist in DB1": {
"main": [
[
{
"node": "Clean op",
"type": "main",
"index": 0
}
]
]
},
"Check if track is saved": {
"main": [
[
{
"node": "Is not saved",
"type": "main",
"index": 0
}
]
]
},
"Playlist exist in DB ?": {
"main": [
[
{
"node": "Clean op",
"type": "main",
"index": 0
}
],
[
{
"node": "Create playlist in DB",
"type": "main",
"index": 0
}
]
]
},
"Add song to the playlist": {
"main": [
[
{
"node": "Clean op1",
"type": "main",
"index": 0
}
]
]
},
"Get last 10 liked tracks": {
"main": [
[
{
"node": "For each tracks in liked song",
"type": "main",
"index": 0
}
]
]
},
"Create playlist in Spotify": {
"main": [
[
{
"node": "Create playlist in DB1",
"type": "main",
"index": 0
}
]
]
},
"Get this month tracks in DB": {
"main": [
[
{
"node": "For each monthly tracks in DB",
"type": "main",
"index": 0
}
]
]
},
"For each monthly tracks in DB": {
"main": [
[
{
"node": "End",
"type": "main",
"index": 0
}
],
[
{
"node": "Get this month tracks in Spotify",
"type": "main",
"index": 0
}
]
]
},
"For each tracks in liked song": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
}
],
[
{
"node": "Check if track is saved",
"type": "main",
"index": 0
}
]
]
},
"Get this month playlist in DB": {
"main": [
[
{
"node": "Get this month tracks in DB",
"type": "main",
"index": 0
}
]
]
},
"Get this month tracks in Spotify": {
"main": [
[
{
"node": "Filter1",
"type": "main",
"index": 0
}
]
]
},
"Monthly playlist exist in Spotify ?": {
"main": [
[
{
"node": "Get playlist in DB",
"type": "main",
"index": 0
}
],
[
{
"node": "Create playlist in Spotify",
"type": "main",
"index": 0
}
]
]
},
"Song is not present in the playlist ?": {
"main": [
[
{
"node": "Add song to the playlist",
"type": "main",
"index": 0
}
],
[
{
"node": "Clean op1",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1076_workflow_1076.json
================================================
{
"nodes": [
{
"name": "Google Sheets",
"type": "n8n-nodes-base.googleSheets",
"position": [
700,
300
],
"parameters": {
"range": "Problems!A:D",
"options": {},
"sheetId": "17fzSFl1BZ1njldTfp5lvh8HtS0-pNXH66b7qGZIiGRU"
},
"credentials": {
"googleApi": ""
},
"typeVersion": 1
},
{
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
500,
300
],
"parameters": {
"path": "webhook",
"options": {},
"responseData": "allEntries",
"responseMode": "lastNode"
},
"typeVersion": 1
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Google Sheets",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1078_workflow_1078.json
================================================
{
"nodes": [
{
"name": "Gmail1",
"type": "n8n-nodes-base.gmail",
"position": [
-34.5,
449.5
],
"parameters": {
"resource": "message",
"operation": "getAll",
"additionalFields": {
"format": "resolved",
"labelIds": [
"Label_1819449526183990002"
]
}
},
"credentials": {
"gmailOAuth2": "Gmail"
},
"typeVersion": 1
},
{
"name": "Upload File1",
"type": "n8n-nodes-base.googleDrive",
"position": [
115.5,
449.5
],
"parameters": {
"name": "={{$binary.attachment_0.fileName}}",
"parents": [
"1I-tBNWFhH2FwcyiKeBOcGseWktF-nXBr"
],
"binaryData": true,
"resolveData": true,
"authentication": "oAuth2",
"binaryPropertyName": "attachment_0"
},
"credentials": {
"googleDriveOAuth2Api": "Google Drive OAuth2 API"
},
"typeVersion": 1
},
{
"name": "Get attachment Link",
"type": "n8n-nodes-base.set",
"position": [
280,
450
],
"parameters": {
"values": {
"string": [
{
"name": "mp4_attachment",
"value": "={{$json[\"webViewLink\"]}}"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
}
],
"connections": {
"Gmail1": {
"main": [
[
{
"node": "Upload File1",
"type": "main",
"index": 0
}
]
]
},
"Upload File1": {
"main": [
[
{
"node": "Get attachment Link",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/107_Get_a_volume_and_add_it_to_your_bookshelf.json
================================================
{
"id": "107",
"name": "Get a volume and add it to your bookshelf",
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
260,
300
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Google Books",
"type": "n8n-nodes-base.googleBooks",
"position": [
460,
300
],
"parameters": {
"resource": "volume",
"volumeId": "XxUJ2U2FXtYC",
"authentication": "oAuth2"
},
"credentials": {
"googleBooksOAuth2Api": "google-books"
},
"typeVersion": 1
},
{
"name": "Google Books1",
"type": "n8n-nodes-base.googleBooks",
"position": [
660,
300
],
"parameters": {
"shelfId": "2",
"resource": "bookshelfVolume",
"volumeId": "={{$node[\"Google Books\"].json[\"id\"]}}",
"operation": "add",
"authentication": "oAuth2"
},
"credentials": {
"googleBooksOAuth2Api": "google-books"
},
"typeVersion": 1
},
{
"name": "Google Books2",
"type": "n8n-nodes-base.googleBooks",
"position": [
860,
300
],
"parameters": {
"shelfId": "={{$node[\"Google Books1\"].parameter[\"shelfId\"]}}",
"resource": "bookshelfVolume",
"myLibrary": true,
"authentication": "oAuth2"
},
"credentials": {
"googleBooksOAuth2Api": "google-books"
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {
"Google Books": {
"main": [
[
{
"node": "Google Books1",
"type": "main",
"index": 0
}
]
]
},
"Google Books1": {
"main": [
[
{
"node": "Google Books2",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "Google Books",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1083_workflow_1083.json
================================================
{
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
350,
200
],
"parameters": {},
"typeVersion": 1
},
{
"name": "iCalendar",
"type": "n8n-nodes-base.iCal",
"position": [
550,
200
],
"parameters": {
"end": "2021-06-11T16:15:00.000Z",
"start": "2021-06-11T15:30:00.000Z",
"title": "n8n Community Meetup",
"additionalFields": {}
},
"typeVersion": 1
},
{
"name": "Send Email",
"type": "n8n-nodes-base.emailSend",
"position": [
750,
200
],
"parameters": {
"text": "Hey Harshil,\n\nWe are excited to invite you to the n8n community meetup!\n\nWith this email you will find the invite attached.\n\nLooking forward to seeing you at the meetup!\n\nCheers,\nHarshil",
"options": {},
"subject": "n8n Community Meetup 🚀",
"attachments": "data"
},
"credentials": {
"smtp": "Outlook Burner Credentials"
},
"typeVersion": 1
}
],
"connections": {
"iCalendar": {
"main": [
[
{
"node": "Send Email",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "iCalendar",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1088_workflow_1088.json
================================================
{
"nodes": [
{
"name": "Calendly Trigger",
"type": "n8n-nodes-base.calendlyTrigger",
"position": [
490,
320
],
"webhookId": "d932d43a-511e-4e54-9a8d-c8da6f6ab7c2",
"parameters": {
"events": [
"invitee.created"
]
},
"credentials": {
"calendlyApi": "Calendly API Credentials"
},
"typeVersion": 1
},
{
"name": "Notion",
"type": "n8n-nodes-base.notion",
"position": [
690,
320
],
"parameters": {
"blockUi": {
"blockValues": []
},
"resource": "databasePage",
"databaseId": "b40628ca-9000-4576-ab2c-4ed3c37e6ee4",
"propertiesUi": {
"propertyValues": [
{
"key": "Name|title",
"title": "={{$json[\"payload\"][\"invitee\"][\"name\"]}}",
"peopleValue": [],
"relationValue": [
""
],
"multiSelectValue": []
},
{
"key": "Email|email",
"emailValue": "={{$json[\"payload\"][\"invitee\"][\"email\"]}}",
"peopleValue": [],
"relationValue": [
""
],
"multiSelectValue": []
},
{
"key": "Status|select",
"peopleValue": [],
"selectValue": "6ad3880b-260a-4d12-999f-5b605e096c1c",
"relationValue": [
""
],
"multiSelectValue": []
}
]
}
},
"credentials": {
"notionApi": "Notion API Credentials"
},
"typeVersion": 1
}
],
"connections": {
"Calendly Trigger": {
"main": [
[
{
"node": "Notion",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1089_workflow_1089.json
================================================
{
"nodes": [
{
"name": "Notion Trigger",
"type": "n8n-nodes-base.notionTrigger",
"position": [
270,
350
],
"parameters": {
"event": "pageAddedToDatabase",
"pollTimes": {
"item": [
{
"mode": "everyHour"
}
]
},
"databaseId": "6ea34c0d-67e8-4614-ad5c-68c665a34763"
},
"credentials": {
"notionApi": ""
},
"typeVersion": 1
},
{
"name": "IF",
"type": "n8n-nodes-base.if",
"position": [
470,
350
],
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json[\"Team\"]}}",
"value2": "Marketing"
}
]
}
},
"typeVersion": 1
},
{
"name": "Mattermost",
"type": "n8n-nodes-base.mattermost",
"position": [
670,
250
],
"parameters": {
"message": "=New meeting notes were added.\nAgenda: {{$json[\"Agenda\"]}}\nDate: {{$json[\"Date\"][\"start\"]}}\nLink: https://notion.so/{{$json[\"id\"].replace(/-/g,'')}}",
"channelId": "64cae1bh6pggtcupfd4ztwby4r",
"attachments": [],
"otherOptions": {}
},
"credentials": {
"mattermostApi": ""
},
"typeVersion": 1
},
{
"name": "NoOp",
"type": "n8n-nodes-base.noOp",
"position": [
668,
495
],
"parameters": {},
"typeVersion": 1
}
],
"connections": {
"IF": {
"main": [
[
{
"node": "Mattermost",
"type": "main",
"index": 0
}
],
[
{
"node": "NoOp",
"type": "main",
"index": 0
}
]
]
},
"Notion Trigger": {
"main": [
[
{
"node": "IF",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/108_Receive_updates_for_events_in_Chargebee.json
================================================
{
"id": "108",
"name": "Receive updates for events in Chargebee",
"nodes": [
{
"name": "Chargebee Trigger",
"type": "n8n-nodes-base.chargebeeTrigger",
"position": [
700,
250
],
"parameters": {
"events": [
"*"
]
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {}
}
================================================
FILE: workflows/1093_workflow_1093.json
================================================
{
"nodes": [
{
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
350,
70
],
"webhookId": "727b4887-e7f9-405f-bf94-7889c82a8f0b",
"parameters": {
"path": "sh",
"options": {},
"responseMode": "lastNode"
},
"typeVersion": 1
},
{
"name": "Extract URL",
"type": "n8n-nodes-base.set",
"position": [
650,
-80
],
"parameters": {
"values": {
"string": [
{
"name": "url",
"value": "={{$node[\"Webhook\"].json[\"query\"][\"url\"]}}"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "Check URL",
"type": "n8n-nodes-base.if",
"position": [
500,
70
],
"parameters": {
"conditions": {
"boolean": [
{
"value1": "={{Object($node[\"Webhook\"].json[\"query\"]).hasOwnProperty(\"url\")}}",
"value2": true
}
]
}
},
"typeVersion": 1
},
{
"name": "Crypto",
"type": "n8n-nodes-base.crypto",
"position": [
800,
-80
],
"parameters": {
"type": "SHA256",
"value": "={{$node[\"Extract URL\"].json[\"url\"]}}"
},
"typeVersion": 1
},
{
"name": "Airtable",
"type": "n8n-nodes-base.airtable",
"position": [
1550,
-30
],
"parameters": {
"table": "YOUR TABLE NAME",
"options": {},
"operation": "append",
"application": "YOUR BASE ID"
},
"credentials": {
"airtableApi": "Personal Airtable API creds"
},
"typeVersion": 1
},
{
"name": "Set ID,shortUrl,longUrl",
"type": "n8n-nodes-base.set",
"position": [
950,
-80
],
"parameters": {
"values": {
"string": [
{
"name": "id",
"value": "={{$node[\"Crypto\"].json[\"data\"].substr(0,6)}}"
},
{
"name": "longUrl",
"value": "={{$node[\"Extract URL\"].json[\"url\"]}}"
},
{
"name": "shortUrl",
"value": "=http://n8n.ly/w/go?id={{$node[\"Crypto\"].json[\"data\"].substr(0,6)}}"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "Find by ID",
"type": "n8n-nodes-base.airtable",
"position": [
1100,
-80
],
"parameters": {
"limit": 1,
"table": "YOUR TABLE NAME",
"operation": "list",
"returnAll": false,
"application": "YOUR BASE ID",
"additionalOptions": {
"filterByFormula": "=id=\"{{$node[\"Set ID,shortUrl,longUrl\"].json[\"id\"]}}\""
}
},
"credentials": {
"airtableApi": "Personal Airtable API creds"
},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"name": "Already exists ?",
"type": "n8n-nodes-base.if",
"position": [
1250,
-80
],
"parameters": {
"conditions": {
"boolean": [
{
"value1": "={{$node[\"Find by ID\"].json[\"id\"] != \"\" && $node[\"Find by ID\"].json[\"id\"] != null && $node[\"Find by ID\"].json[\"id\"] != undefined}}",
"value2": true
}
]
}
},
"typeVersion": 1
},
{
"name": "Set Output",
"type": "n8n-nodes-base.set",
"position": [
1400,
-180
],
"parameters": {
"values": {
"string": [
{
"name": "shortUrl",
"value": "={{$node[\"Set ID,shortUrl,longUrl\"].json[\"shortUrl\"]}}"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "Set Error output",
"type": "n8n-nodes-base.set",
"position": [
650,
170
],
"parameters": {
"values": {
"string": [
{
"name": "error",
"value": "url parameter missing"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "Set Output1",
"type": "n8n-nodes-base.set",
"position": [
1700,
-30
],
"parameters": {
"values": {
"string": [
{
"name": "shortUrl",
"value": "={{$node[\"Set ID,shortUrl,longUrl\"].json[\"shortUrl\"]}}"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "Set input",
"type": "n8n-nodes-base.set",
"position": [
1400,
-30
],
"parameters": {
"values": {
"number": [
{
"name": "clicks"
}
],
"string": [
{
"name": "id",
"value": "={{$node[\"Crypto\"].json[\"data\"].substr(0,6)}}"
},
{
"name": "longUrl",
"value": "={{$node[\"Extract URL\"].json[\"url\"]}}"
},
{
"name": "shortUrl",
"value": "=http://n8n.ly/w/go?id={{$node[\"Crypto\"].json[\"data\"].substr(0,6)}}"
},
{
"name": "host",
"value": "={{(new URL($node[\"Extract URL\"].json[\"url\"])).host}}"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "Webhook1",
"type": "n8n-nodes-base.webhook",
"position": [
350,
430
],
"webhookId": "727b4887-e7f9-405f-bf94-7889c82a8f0b",
"parameters": {
"path": "/go",
"options": {
"responseHeaders": {
"entries": [
{
"name": "Content-Type",
"value": "text/html"
}
]
},
"responsePropertyName": "result"
},
"responseMode": "lastNode"
},
"typeVersion": 1
},
{
"name": "Set Error output1",
"type": "n8n-nodes-base.set",
"position": [
640,
530
],
"parameters": {
"values": {
"string": [
{
"name": "result",
"value": "id parameter missing."
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "Check Id",
"type": "n8n-nodes-base.if",
"position": [
500,
430
],
"parameters": {
"conditions": {
"boolean": [
{
"value1": "={{Object($node[\"Webhook1\"].json[\"query\"]).hasOwnProperty(\"id\")}}",
"value2": true
}
]
}
},
"typeVersion": 1
},
{
"name": "Find by ID1",
"type": "n8n-nodes-base.airtable",
"position": [
800,
330
],
"parameters": {
"limit": 1,
"table": "YOUR TABLE NAME",
"operation": "list",
"returnAll": false,
"application": "YOUR BASE ID",
"additionalOptions": {
"filterByFormula": "=id=\"{{$node[\"Extract Id\"].json[\"id\"]}}\""
}
},
"credentials": {
"airtableApi": "Personal Airtable API creds"
},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"name": "Already exists ?1",
"type": "n8n-nodes-base.if",
"position": [
950,
330
],
"parameters": {
"conditions": {
"boolean": [
{
"value1": "={{$node[\"Find by ID1\"].json[\"id\"] != \"\" && $node[\"Find by ID1\"].json[\"id\"] != null && $node[\"Find by ID1\"].json[\"id\"] != undefined}}",
"value2": true
}
]
}
},
"typeVersion": 1
},
{
"name": "Set Output2",
"type": "n8n-nodes-base.set",
"position": [
1400,
230
],
"parameters": {
"values": {
"string": [
{
"name": "result",
"value": "=<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Redirection</title>\n</head>\n<body>\n \n</body>\n<script>\n const load = function (){\n window.location.replace('{{$node[\"Find by ID1\"].json.fields[\"longUrl\"]}}');\n };\n window.onload = load;\n</script>\n</html>"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "Extract Id",
"type": "n8n-nodes-base.set",
"position": [
650,
330
],
"parameters": {
"values": {
"string": [
{
"name": "id",
"value": "={{$node[\"Webhook1\"].json[\"query\"][\"id\"]}}"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "404 Error",
"type": "n8n-nodes-base.set",
"position": [
1100,
430
],
"parameters": {
"values": {
"string": [
{
"name": "result",
"value": "=Short URL not found"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "Update clicks",
"type": "n8n-nodes-base.airtable",
"position": [
1250,
230
],
"parameters": {
"id": "={{$node[\"Find by ID1\"].json[\"id\"]}}",
"table": "YOUR TABLE NAME",
"fields": [
"clicks"
],
"options": {},
"operation": "update",
"application": "YOUR BASE ID",
"updateAllFields": false
},
"credentials": {
"airtableApi": "Personal Airtable API creds"
},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"name": "Prepare clicks count",
"type": "n8n-nodes-base.set",
"position": [
1100,
230
],
"parameters": {
"values": {
"string": [
{
"name": "clicks",
"value": "={{$node[\"Find by ID1\"].json[\"fields\"][\"clicks\"]+1}}"
}
]
},
"options": {}
},
"typeVersion": 1
},
{
"name": "Webhook2",
"type": "n8n-nodes-base.webhook",
"position": [
350,
680
],
"webhookId": "8ac18eb4-bcc5-4817-b76d-d93094755ed2",
"parameters": {
"path": "/dashboard",
"options": {
"responseHeaders": {
"entries": [
{
"name": "Content-Type",
"value": "text/html"
}
]
},
"responsePropertyName": "dashboard"
},
"responseMode": "lastNode"
},
"typeVersion": 1
},
{
"name": "Find by ID2",
"type": "n8n-nodes-base.airtable",
"position": [
550,
680
],
"parameters": {
"table": "YOUR TABLE NAME",
"operation": "list",
"application": "YOUR BASE ID",
"additionalOptions": {}
},
"credentials": {
"airtableApi": "Personal Airtable API creds"
},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"name": "Extract stats",
"type": "n8n-nodes-base.function",
"position": [
750,
680
],
"parameters": {
"functionCode": "\nitems = items.filter(item=> Object.keys(item.json).length !==0).map(item => item.json.fields);\nif(items.length === 0){\nreturn [{\n json:{\n totalLinks:0,\n totalClick:0,\n totalHosts:0\n }\n}];\n}\nconst totalLinks = items.length;\nconst totalClick = items.map(item => item.clicks).reduce((acc,val) => acc+=val);\nconst hostsMap = new Map();\nconst hosts = items.map(item => item.host);\nhosts.forEach(host => { \n hostsMap.set(host,hostsMap.get(host)!==undefined?hostsMap.get(host)+1:1)\n});\n\nconst totalHosts = [...hostsMap.keys()].length;\n\nreturn [{\n json:{\n totalLinks,\n totalClick,\n totalHosts\n }\n}];"
},
"typeVersion": 1
},
{
"name": "Set dashboard",
"type": "n8n-nodes-base.set",
"position": [
950,
680
],
"parameters": {
"values": {
"string": [
{
"name": "dashboard",
"value": "=<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Dashboard</title>\n</head>\n<style>\n *{\n padding: 0;\n margin: 0;\n border: none;\n box-sizing: border-box;\n }\n body{\n font-family: Roboto;\n font-style: normal;\n }\n .main{\n padding: 3rem 15rem;\n width: 70vw;\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n margin: 0 auto; \n }\n .header{\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n padding: 1rem 0.5rem;\n\n }\n .dashboard{\n display: grid;\n grid-template-rows: repeat(2, 1fr);\n grid-template-columns: repeat(2, 1fr);\n column-gap: 50px;\n row-gap: 50px;\n min-height: 70vh;\n min-width: calc(100vw-5rem);\n }\n .primary-text{\n color: #FF6D5A;\n font-family: Roboto;\n font-style: initial;\n font-weight: 500;\n font-size: 18px;\n line-height: 28px;\n /* center */\n display: flex;\n align-items: center;\n justify-content: center;\n }\n .main-box{\n min-height: 100%;\n min-width: 100%;\n background-color: #FF6D5A;\n grid-column: 1 / span 2;\n /* center */\n display: flex;\n flex-direction: rows;\n align-items: center;\n justify-content: center;\n /* font style */\n font-weight: bold;\n font-size: 96px;\n line-height: 169px;\n color: #F5F5F5;\n\n }\n .secondary-box{\n min-height: 100%;\n min-width: 100%;\n background-color: #384D5B;\n /* center */\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n /* font style */\n font-weight: bold;\n font-size: 72px;\n line-height: 112px;\n color: #F5F5F5;\n }\n .info-text{\n position: absolute;\n align-self: flex-start;\n margin-top: 0.51rem;\n font-weight: 400;\n font-size: 16px;\n line-height: 21px;\n color: #F5F5F5;\n \n }\n</style>\n\n<body>\n \n <main class=\"main\">\n <header class=\"header\">\n <a href=\"https://n8n.io\">\n <svg width=\"124px\" height=\"28px\" viewBox=\"0 0 124 28\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><title>n8</title> <g id=\"nav-menu-(V1)\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"nav-menu-(v1)\" transform=\"translate(-120.000000, -116.000000)\" fill-rule=\"nonzero\"><g id=\"n8\" transform=\"translate(120.000000, 116.000000)\"><path d=\"M48.7384906,0.190188679 C46.1577358,0.190188679 43.9864151,1.96792453 43.3735849,4.36113208 L35.6524528,4.36113208 C32.6226415,4.36113208 30.1581132,6.82566038 30.1581132,9.8554717 C30.1581132,11.3690566 28.9271698,12.6026415 27.4109434,12.6026415 L26.309434,12.6026415 C25.6966038,10.209434 23.5279245,8.43169811 20.9445283,8.43169811 C18.3637736,8.43169811 16.1924528,10.209434 15.5796226,12.6026415 L11.1683019,12.6026415 C10.5554717,10.209434 8.38679245,8.43169811 5.80339623,8.43169811 C2.74716981,8.43169811 0.258867925,10.9173585 0.258867925,13.9762264 C0.258867925,17.0324528 2.7445283,19.5207547 5.80339623,19.5207547 C8.38415094,19.5207547 10.5554717,17.7430189 11.1683019,15.3498113 L15.5849057,15.3498113 C16.1977358,17.7430189 18.3664151,19.5207547 20.9498113,19.5207547 C23.514717,19.5207547 25.6701887,17.769434 26.3015094,15.4 L27.4135849,15.4 C28.9271698,15.4 30.1607547,16.6309434 30.1607547,18.1471698 C30.1607547,21.1769811 32.625283,23.6415094 35.6550943,23.6415094 L37.4539623,23.6415094 C38.0667925,26.034717 40.2354717,27.8124528 42.8188679,27.8124528 C45.8750943,27.8124528 48.3633962,25.3267925 48.3633962,22.2679245 C48.3633962,19.2116981 45.8777358,16.7233962 42.8188679,16.7233962 C40.2381132,16.7233962 38.0667925,18.5011321 37.4539623,20.8943396 L35.6550943,20.8943396 C34.1415094,20.8943396 32.9079245,19.6633962 32.9079245,18.1471698 C32.9079245,16.4935849 32.1683019,15.0090566 31.0086792,14.0026415 C32.1709434,12.9935849 32.9079245,11.5116981 32.9079245,9.85811321 C32.9079245,8.3445283 34.1388679,7.1109434 35.6550943,7.1109434 L43.3762264,7.1109434 C43.9890566,9.50415094 46.1577358,11.2818868 48.7411321,11.2818868 C51.7973585,11.2818868 54.2856604,8.79622642 54.2856604,5.73735849 C54.2830189,2.67849057 51.794717,0.190188679 48.7384906,0.190188679 Z M5.80867925,16.7709434 C4.26603774,16.7709434 3.01132075,15.5162264 3.01132075,13.9735849 C3.01132075,12.4309434 4.26603774,11.1762264 5.80867925,11.1762264 C7.35132075,11.1762264 8.60603774,12.4309434 8.60603774,13.9735849 C8.60603774,15.5162264 7.35132075,16.7709434 5.80867925,16.7709434 Z M20.9498113,16.7709434 C19.4071698,16.7709434 18.1524528,15.5162264 18.1524528,13.9735849 C18.1524528,12.4309434 19.4071698,11.1762264 20.9498113,11.1762264 C22.4924528,11.1762264 23.7471698,12.4309434 23.7471698,13.9735849 C23.7471698,15.5162264 22.4924528,16.7709434 20.9498113,16.7709434 Z M42.8162264,19.4679245 C44.3588679,19.4679245 45.6135849,20.7226415 45.6135849,22.265283 C45.6135849,23.8079245 44.3588679,25.0626415 42.8162264,25.0626415 C41.2735849,25.0626415 40.0188679,23.8079245 40.0188679,22.265283 C40.0215094,20.7226415 41.2762264,19.4679245 42.8162264,19.4679245 Z M48.7384906,8.53207547 C47.1958491,8.53207547 45.9411321,7.27735849 45.9411321,5.73471698 C45.9411321,4.19207547 47.1958491,2.93735849 48.7384906,2.93735849 C50.2811321,2.93735849 51.5358491,4.19207547 51.5358491,5.73471698 C51.5358491,7.27735849 50.2811321,8.53207547 48.7384906,8.53207547 Z\" id=\"Shape\" fill=\"#FF6D5A\"></path> <g id=\"Group\" transform=\"translate(56.528302, 5.547170)\" fill=\"#384D5B\"><path d=\"M1.57962264,7.09773585 C1.57962264,6.76490566 1.40264151,6.6090566 1.0909434,6.6090566 L0.179622642,6.6090566 L0.179622642,4.76528302 L2.24792453,4.76528302 C3.20415094,4.76528302 3.67169811,5.18792453 3.67169811,6.00943396 L3.67169811,6.43207547 C3.67169811,6.78867925 3.62679245,7.07660377 3.62679245,7.07660377 L3.67169811,7.07660377 C4.1154717,6.09924528 5.44943396,4.49849057 7.8954717,4.49849057 C10.5633962,4.49849057 11.7626415,5.94339623 11.7626415,8.80943396 L11.7626415,13.6777358 C11.7626415,14.010566 11.9396226,14.1664151 12.2513208,14.1664151 L13.1626415,14.1664151 L13.1626415,16.0101887 L11.0283019,16.0101887 C10.0271698,16.0101887 9.6045283,15.5875472 9.6045283,14.5864151 L9.6045283,9.29811321 C9.6045283,7.71849057 9.29283019,6.47433962 7.49396226,6.47433962 C5.76113208,6.47433962 4.38226415,7.60754717 3.93849057,9.23207547 C3.78264151,9.67584906 3.73773585,10.1883019 3.73773585,10.7430189 L3.73773585,16.0101887 L1.58226415,16.0101887 L1.58226415,7.09773585 L1.57962264,7.09773585 Z\" id=\"Path\"></path> <path d=\"M17.6690566,7.49660377 L17.6690566,7.45169811 C17.6690566,7.45169811 15.7354717,6.42943396 15.7354717,4.25018868 C15.7354717,2.0709434 17.4683019,0.0501886792 20.6249057,0.0501886792 C23.6256604,0.0501886792 25.5381132,1.85169811 25.5381132,4.29509434 C25.5381132,6.60641509 23.649434,8.03018868 23.649434,8.03018868 L23.649434,8.07509434 C25.0732075,8.89660377 25.9845283,9.98754717 25.9845283,11.6754717 C25.9845283,14.1215094 23.7630189,16.2769811 20.5615094,16.2769811 C17.6056604,16.2769811 15.0935829,14.4332075 15.0935829,11.5196226 C15.0909434,8.94150943 17.6690566,7.49660377 17.6690566,7.49660377 Z M20.5588679,14.2535849 C22.2045283,14.2535849 23.7366038,13.165283 23.7366038,11.609434 C23.7366038,10.230566 22.5584906,9.6309434 21.0924528,9.03132075 C20.4928302,8.78566038 19.6475472,8.45283019 19.470566,8.45283019 C18.9158491,8.45283019 17.3362264,9.74188679 17.3362264,11.4086792 C17.3362264,13.165283 18.8471698,14.2535849 20.5588679,14.2535849 Z M21.7158491,7.14 C22.249434,7.14 23.3826415,5.82716981 23.3826415,4.42716981 C23.3826415,2.98226415 22.2256604,2.0709434 20.6275472,2.0709434 C18.9158491,2.0709434 17.914717,3.04830189 17.914717,4.29245283 C17.914717,5.67132075 19.0928302,6.20490566 20.4928302,6.75962264 C20.8045283,6.89698113 21.4490566,7.14 21.7158491,7.14 Z\" id=\"Shape\"></path> <path d=\"M29.405283,7.09773585 C29.405283,6.76490566 29.2283019,6.6090566 28.9166038,6.6090566 L28.005283,6.6090566 L28.005283,4.76528302 L30.0735849,4.76528302 C31.0298113,4.76528302 31.4973585,5.18792453 31.4973585,6.00943396 L31.4973585,6.43207547 C31.4973585,6.78867925 31.4524528,7.07660377 31.4524528,7.07660377 L31.4973585,7.07660377 C31.9411321,6.09924528 33.2750943,4.49849057 35.7211321,4.49849057 C38.3890566,4.49849057 39.5883019,5.94339623 39.5883019,8.80943396 L39.5883019,13.6777358 C39.5883019,14.010566 39.765283,14.1664151 40.0769811,14.1664151 L40.9883019,14.1664151 L40.9883019,16.0101887 L38.8539623,16.0101887 C37.8528302,16.0101887 37.4301887,15.5875472 37.4301887,14.5864151 L37.4301887,9.29811321 C37.4301887,7.71849057 37.1184906,6.47433962 35.3196226,6.47433962 C33.5867925,6.47433962 32.2079245,7.60754717 31.7641509,9.23207547 C31.6083019,9.67584906 31.5633962,10.1883019 31.5633962,10.7430189 L31.5633962,16.0101887 L29.4079245,16.0101887 L29.4079245,7.09773585 L29.405283,7.09773585 Z\" id=\"Path\"></path> <polygon id=\"Path\" points=\"43.54 13.72 45.7403774 13.72 45.7403774 16.0101887 43.54 16.0101887\"></polygon> <path d=\"M48.7173585,7.09773585 C48.7173585,6.76490566 48.5403774,6.6090566 48.2286792,6.6090566 L47.3173585,6.6090566 L47.3173585,4.76528302 L49.4279245,4.76528302 C50.4290566,4.76528302 50.8516981,5.18792453 50.8516981,6.1890566 L50.8516981,13.6803774 C50.8516981,14.0132075 51.0286792,14.1690566 51.3403774,14.1690566 L52.2516981,14.1690566 L52.2516981,16.0128302 L50.1411321,16.0128302 C49.14,16.0128302 48.7173585,15.5901887 48.7173585,14.5890566 L48.7173585,7.09773585 Z\" id=\"Path\"></path> <path d=\"M60.2316981,4.49584906 C63.5890566,4.49584906 66.2992453,6.96301887 66.2992453,10.365283 C66.2992453,13.7886792 63.5864151,16.2769811 60.2316981,16.2769811 C56.8743396,16.2769811 54.185283,13.7860377 54.185283,10.365283 C54.185283,6.96301887 56.8743396,4.49584906 60.2316981,4.49584906 Z M60.2316981,14.409434 C62.3660377,14.409434 64.0988679,12.7188679 64.0988679,10.3626415 C64.0988679,8.02754717 62.3660377,6.36075472 60.2316981,6.36075472 C58.1211321,6.36075472 56.3856604,8.02754717 56.3856604,10.3626415 C56.3856604,12.7215094 58.1184906,14.409434 60.2316981,14.409434 Z\" id=\"Shape\"></path></g> <path d=\"M106.230943,9.63886792 C105.124151,9.63886792 104.223396,8.73811321 104.223396,7.63132075 C104.223396,6.5245283 105.124151,5.62377358 106.230943,5.62377358 C107.337736,5.62377358 108.238491,6.5245283 108.238491,7.63132075 C108.238491,8.73811321 107.337736,9.63886792 106.230943,9.63886792 Z M106.230943,6.58792453 C105.657736,6.58792453 105.190189,7.0554717 105.190189,7.62867925 C105.190189,8.20188679 105.657736,8.66943396 106.230943,8.66943396 C106.804151,8.66943396 107.271698,8.20188679 107.271698,7.62867925 C107.271698,7.0554717 106.804151,6.58792453 106.230943,6.58792453 Z\" id=\"Shape\" fill=\"#FF6D5A\"></path></g></g></g></svg>\n </a>\n <h4 class=\"primary-text\">Dashboard</h4>\n </header>\n <section class=\"dashboard\">\n <div class=\"main-box\">\n <h5 class=\"info-text\">Total Clicks</h5>\n{{$node[\"Extract stats\"].json[\"totalClick\"]}}\n </div>\n <div class=\"secondary-box\">\n <h5 class=\"info-text\">Total Links</h5>\n{{$node[\"Extract stats\"].json[\"totalLinks\"]}}\n </div>\n <div class=\"secondary-box\">\n <h5 class=\"info-text\">Total Hosts</h5>\n{{$node[\"Extract stats\"].json[\"totalHosts\"]}}\n </div>\n </section>\n </main> \n</body>\n</html>"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
}
],
"connections": {
"Crypto": {
"main": [
[
{
"node": "Set ID,shortUrl,longUrl",
"type": "main",
"index": 0
}
]
]
},
"Webhook": {
"main": [
[
{
"node": "Check URL",
"type": "main",
"index": 0
}
]
]
},
"Airtable": {
"main": [
[
{
"node": "Set Output1",
"type": "main",
"index": 0
}
]
]
},
"Check Id": {
"main": [
[
{
"node": "Extract Id",
"type": "main",
"index": 0
}
],
[
{
"node": "Set Error output1",
"type": "main",
"index": 0
}
]
]
},
"Webhook1": {
"main": [
[
{
"node": "Check Id",
"type": "main",
"index": 0
}
]
]
},
"Webhook2": {
"main": [
[
{
"node": "Find by ID2",
"type": "main",
"index": 0
}
]
]
},
"Check URL": {
"main": [
[
{
"node": "Extract URL",
"type": "main",
"index": 0
}
],
[
{
"node": "Set Error output",
"type": "main",
"index": 0
}
]
]
},
"Set input": {
"main": [
[
{
"node": "Airtable",
"type": "main",
"index": 0
}
]
]
},
"Extract Id": {
"main": [
[
{
"node": "Find by ID1",
"type": "main",
"index": 0
}
]
]
},
"Find by ID": {
"main": [
[
{
"node": "Already exists ?",
"type": "main",
"index": 0
}
]
]
},
"Extract URL": {
"main": [
[
{
"node": "Crypto",
"type": "main",
"index": 0
}
]
]
},
"Find by ID1": {
"main": [
[
{
"node": "Already exists ?1",
"type": "main",
"index": 0
}
]
]
},
"Find by ID2": {
"main": [
[
{
"node": "Extract stats",
"type": "main",
"index": 0
}
]
]
},
"Extract stats": {
"main": [
[
{
"node": "Set dashboard",
"type": "main",
"index": 0
}
]
]
},
"Update clicks": {
"main": [
[
{
"node": "Set Output2",
"type": "main",
"index": 0
}
]
]
},
"Already exists ?": {
"main": [
[
{
"node": "Set Output",
"type": "main",
"index": 0
}
],
[
{
"node": "Set input",
"type": "main",
"index": 0
}
]
]
},
"Already exists ?1": {
"main": [
[
{
"node": "Prepare clicks count",
"type": "main",
"index": 0
}
],
[
{
"node": "404 Error",
"type": "main",
"index": 0
}
]
]
},
"Prepare clicks count": {
"main": [
[
{
"node": "Update clicks",
"type": "main",
"index": 0
}
]
]
},
"Set ID,shortUrl,longUrl": {
"main": [
[
{
"node": "Find by ID",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1107_workflow_1107.json
================================================
{
"nodes": [
{
"name": "Notion",
"type": "n8n-nodes-base.notion",
"position": [
1050,
300
],
"parameters": {
"blockUi": {
"blockValues": [
{
"textContent": "=Name: {{$json[\"display_name\"]}}\nPersonality: {{$json[\"personality_analysis\"][\"summary\"][\"ocean\"][\"description\"].join(', ')}}, {{$json[\"personality_analysis\"][\"summary\"][\"disc\"][\"description\"].join(', ')}}\nOpenness: {{$json[\"personality_analysis\"][\"ocean_assessment\"][\"openness\"][\"level\"]}} {{$json[\"personality_analysis\"][\"ocean_assessment\"][\"openness\"][\"score\"]}}\nCalculativeness: {{$json[\"personality_analysis\"][\"disc_assessment\"][\"calculativeness\"][\"level\"]}} {{$json[\"personality_analysis\"][\"disc_assessment\"][\"calculativeness\"][\"score\"]}}"
}
]
},
"resource": "databasePage",
"databaseId": "",
"propertiesUi": {
"propertyValues": [
{
"key": "Name|title",
"title": "={{$json[\"display_name\"]}}"
}
]
}
},
"credentials": {
"notionApi": ""
},
"typeVersion": 1
},
{
"name": "Humantic AI",
"type": "n8n-nodes-base.humanticAi",
"position": [
650,
300
],
"parameters": {
"userId": "={{$json[\"payload\"][\"questions_and_responses\"][\"1_response\"]}}"
},
"credentials": {
"humanticAiApi": "humantic"
},
"typeVersion": 1
},
{
"name": "Calendly Trigger",
"type": "n8n-nodes-base.calendlyTrigger",
"position": [
450,
300
],
"webhookId": "6d38c1f6-42ee-4f44-b424-20943075087b",
"parameters": {
"events": [
"invitee.created"
]
},
"credentials": {
"calendlyApi": ""
},
"typeVersion": 1
},
{
"name": "Humantic AI1",
"type": "n8n-nodes-base.humanticAi",
"position": [
850,
300
],
"parameters": {
"userId": "={{$json[\"results\"][\"userid\"]}}",
"options": {},
"operation": "get"
},
"credentials": {
"humanticAiApi": ""
},
"typeVersion": 1
}
],
"connections": {
"Humantic AI": {
"main": [
[
{
"node": "Humantic AI1",
"type": "main",
"index": 0
}
]
]
},
"Humantic AI1": {
"main": [
[
{
"node": "Notion",
"type": "main",
"index": 0
}
]
]
},
"Calendly Trigger": {
"main": [
[
{
"node": "Humantic AI",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1109_workflow_1109.json
================================================
{
"nodes": [
{
"name": "Typeform Trigger",
"type": "n8n-nodes-base.typeformTrigger",
"position": [
0,
400
],
"webhookId": "ad8a87ef-d293-4e48-8d36-838d69ebce0f",
"parameters": {
"formId": "fBYjtY5e"
},
"credentials": {
"typeformApi": ""
},
"typeVersion": 1
},
{
"name": "Google Cloud Natural Language",
"type": "n8n-nodes-base.googleCloudNaturalLanguage",
"position": [
200,
400
],
"parameters": {
"content": "={{$json[\"Any suggestions for us? \"]}}",
"options": {}
},
"credentials": {
"googleCloudNaturalLanguageOAuth2Api": ""
},
"typeVersion": 1
},
{
"name": "IF",
"type": "n8n-nodes-base.if",
"position": [
400,
400
],
"parameters": {
"conditions": {
"number": [
{
"value1": "={{$node[\"Google Cloud Natural Language\"].json[\"documentSentiment\"][\"score\"]}}",
"operation": "larger"
}
]
}
},
"typeVersion": 1
},
{
"name": "Notion",
"type": "n8n-nodes-base.notion",
"position": [
600,
300
],
"parameters": {
"resource": "databasePage",
"databaseId": "b7d1130a-3756-4bb3-aa56-0c77bf416437",
"propertiesUi": {
"propertyValues": [
{
"key": "Name|title",
"title": "={{$node[\"Typeform Trigger\"].json[\"Name\"]}}"
},
{
"key": "Feedback|rich_text",
"textContent": "={{$node[\"Typeform Trigger\"].json[\"Any suggestions for us? \"]}}"
}
]
}
},
"credentials": {
"notionApi": ""
},
"typeVersion": 1
},
{
"name": "Slack",
"type": "n8n-nodes-base.slack",
"position": [
800,
300
],
"parameters": {
"channel": "general",
"blocksUi": {
"blocksValues": []
},
"attachments": [
{
"text": "={{$node[\"Typeform Trigger\"].json[\"Any suggestions for us? \"]}}",
"title": "={{$node[\"Typeform Trigger\"].json[\"Name\"]}} {{$node[\"Google Cloud Natural Language\"].json[\"documentSentiment\"][\"score\"]}}"
}
],
"otherOptions": {}
},
"credentials": {
"slackApi": ""
},
"typeVersion": 1
},
{
"name": "Trello",
"type": "n8n-nodes-base.trello",
"position": [
600,
500
],
"parameters": {
"name": "=Score: {{$json[\"documentSentiment\"][\"score\"]}}",
"listId": "5fbb9e2eb1d5cc0a8a7ab8ac",
"description": "=Score: {{$json[\"documentSentiment\"][\"score\"]}}\nFeedback: {{$node[\"Typeform Trigger\"].json[\"Any suggestions for us? \"]}}\nUser: {{$node[\"Typeform Trigger\"].json[\"Name\"]}}",
"additionalFields": {}
},
"credentials": {
"trelloApi": ""
},
"typeVersion": 1
}
],
"connections": {
"IF": {
"main": [
[
{
"node": "Notion",
"type": "main",
"index": 0
}
],
[
{
"node": "Trello",
"type": "main",
"index": 0
}
]
]
},
"Notion": {
"main": [
[
{
"node": "Slack",
"type": "main",
"index": 0
}
]
]
},
"Typeform Trigger": {
"main": [
[
{
"node": "Google Cloud Natural Language",
"type": "main",
"index": 0
}
]
]
},
"Google Cloud Natural Language": {
"main": [
[
{
"node": "IF",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/110_Get_all_the_stories_starting_with_`release`_and_publish_them.json
================================================
{
"id": "110",
"name": "Get all the stories starting with `release` and publish them",
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
250,
300
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Storyblok",
"type": "n8n-nodes-base.storyblok",
"position": [
450,
300
],
"parameters": {
"space": 96940,
"source": "managementApi",
"filters": {
"starts_with": "release"
},
"operation": "getAll"
},
"credentials": {
"storyblokManagementApi": "storyblok-tanay"
},
"typeVersion": 1
},
{
"name": "Storyblok1",
"type": "n8n-nodes-base.storyblok",
"position": [
650,
300
],
"parameters": {
"space": "={{$node[\"Storyblok\"].parameter[\"space\"]}}",
"source": "managementApi",
"options": {},
"storyId": "={{$node[\"Storyblok\"].json[\"id\"]}}",
"operation": "publish"
},
"credentials": {
"storyblokManagementApi": "storyblok-tanay"
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {
"Storyblok": {
"main": [
[
{
"node": "Storyblok1",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "Storyblok",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/110_Get_SSL_Certificate.json
================================================
{
"id": "110",
"name": "Get SSL Certificate",
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
240,
290
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Create Domain Item",
"type": "n8n-nodes-base.functionItem",
"position": [
450,
290
],
"parameters": {
"functionCode": "item.domain = \"n8n.io\";\nreturn item;"
},
"typeVersion": 1
},
{
"name": "Get SSL Certificate",
"type": "n8n-nodes-base.uproc",
"position": [
650,
290
],
"parameters": {
"tool": "getDomainCertificate",
"group": "internet",
"domain": "= {{$node[\"Create Domain Item\"].json[\"domain\"]}}",
"additionalOptions": {}
},
"credentials": {
"uprocApi": "miquel-uproc"
},
"typeVersion": 1
},
{
"name": "Send Expired Alarm",
"type": "n8n-nodes-base.telegram",
"position": [
1070,
270
],
"parameters": {
"text": "=The certificate of the domain {{$node[\"Create Domain Item\"].json[\"domain\"]}} has expired!",
"chatId": "-1415703867",
"additionalFields": {}
},
"credentials": {
"telegramApi": "test killia bot"
},
"typeVersion": 1
},
{
"name": "Certificate has expired?",
"type": "n8n-nodes-base.if",
"position": [
840,
290
],
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$node[\"Get SSL Certificate\"].json[\"message\"][\"valid\"]+\"\"}}",
"value2": "false"
}
]
}
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {
"Create Domain Item": {
"main": [
[
{
"node": "Get SSL Certificate",
"type": "main",
"index": 0
}
]
]
},
"Get SSL Certificate": {
"main": [
[
{
"node": "Certificate has expired?",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "Create Domain Item",
"type": "main",
"index": 0
}
]
]
},
"Certificate has expired?": {
"main": [
[
{
"node": "Send Expired Alarm",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/110_Receive_updates_for_events_in_ClickUp.json
================================================
{
"id": "110",
"name": "Receive updates for events in ClickUp",
"nodes": [
{
"name": "ClickUp Trigger",
"type": "n8n-nodes-base.clickUpTrigger",
"position": [
700,
250
],
"parameters": {
"team": "",
"events": [
"*"
],
"filters": {}
},
"credentials": {
"clickUpApi": ""
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {}
}
================================================
FILE: workflows/1110_workflow_1110.json
================================================
{
"nodes": [
{
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
450,
300
],
"webhookId": "45e2593e-f25d-4be5-9b50-4a7c1e566a9e",
"parameters": {
"path": "45e2593e-f25d-4be5-9b50-4a7c1e566a9e",
"options": {},
"httpMethod": "POST",
"responseMode": "lastNode"
},
"typeVersion": 1
},
{
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"position": [
850,
200
],
"parameters": {
"url": "=https://{{$json[\"body\"][\"data\"][\"options\"][0][\"value\"]}}",
"options": {},
"responseFormat": "string"
},
"typeVersion": 1
},
{
"name": "Check type",
"type": "n8n-nodes-base.if",
"position": [
650,
300
],
"parameters": {
"conditions": {
"number": [
{
"value1": "={{$json[\"body\"][\"type\"]}}",
"value2": 1,
"operation": "notEqual"
}
]
}
},
"typeVersion": 1
},
{
"name": "Extract Title",
"type": "n8n-nodes-base.htmlExtract",
"position": [
1050,
200
],
"parameters": {
"options": {},
"extractionValues": {
"values": [
{
"key": "title",
"cssSelector": "title"
}
]
}
},
"typeVersion": 1
},
{
"name": "Add Link to Notion",
"type": "n8n-nodes-base.notion",
"position": [
1250,
200
],
"parameters": {
"resource": "databasePage",
"databaseId": "8a1638ce-da33-41b7-8fd9-37a4c272ba95",
"propertiesUi": {
"propertyValues": [
{
"key": "Name|title",
"title": "={{$json[\"title\"]}}"
},
{
"key": "Link|url",
"urlValue": "={{$node[\"Check type\"].json[\"body\"][\"data\"][\"options\"][0][\"value\"]}}"
}
]
}
},
"credentials": {
"notionApi": "Notion API Credentials"
},
"typeVersion": 1
},
{
"name": "Reply on Discord",
"type": "n8n-nodes-base.set",
"position": [
1450,
200
],
"parameters": {
"values": {
"number": [
{
"name": "type",
"value": 4
}
],
"string": [
{
"name": "data.content",
"value": "Added Link to notion"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "Register URL",
"type": "n8n-nodes-base.set",
"position": [
850,
410
],
"parameters": {
"values": {
"number": [
{
"name": "type",
"value": 1
}
],
"string": []
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Check type",
"type": "main",
"index": 0
}
]
]
},
"Check type": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
],
[
{
"node": "Register URL",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "Extract Title",
"type": "main",
"index": 0
}
]
]
},
"Extract Title": {
"main": [
[
{
"node": "Add Link to Notion",
"type": "main",
"index": 0
}
]
]
},
"Add Link to Notion": {
"main": [
[
{
"node": "Reply on Discord",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1111_workflow_1111.json
================================================
{
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
190,
160
],
"parameters": {},
"typeVersion": 1
},
{
"name": "AWS Transcribe",
"type": "n8n-nodes-base.awsTranscribe",
"position": [
590,
160
],
"parameters": {
"options": {},
"mediaFileUri": "=s3://{{$node[\"AWS S3\"].parameter[\"bucketName\"]}}/{{$json[\"Key\"]}}",
"detectLanguage": true,
"transcriptionJobName": "={{$json[\"Key\"].replace(/\\s/g,'-')}}"
},
"credentials": {
"aws": "AWS Transcribe Credentials"
},
"typeVersion": 1
},
{
"name": "AWS S3",
"type": "n8n-nodes-base.awsS3",
"position": [
390,
160
],
"parameters": {
"options": {},
"operation": "getAll",
"returnAll": true,
"bucketName": "n8n-docs"
},
"credentials": {
"aws": "AWS S3 Credentials"
},
"typeVersion": 1
}
],
"connections": {
"AWS S3": {
"main": [
[
{
"node": "AWS Transcribe",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "AWS S3",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1112_workflow_1112.json
================================================
{
"nodes": [
{
"name": "UptimeRobot2",
"type": "n8n-nodes-base.uptimeRobot",
"position": [
890,
320
],
"parameters": {
"id": "={{$json[\"id\"]}}",
"resource": "monitor",
"operation": "get"
},
"credentials": {
"uptimeRobotApi": "UptimeRobot API Credentials"
},
"typeVersion": 1
},
{
"name": "UptimeRobot",
"type": "n8n-nodes-base.uptimeRobot",
"position": [
490,
320
],
"parameters": {
"url": "https://n8n.io",
"type": 1,
"resource": "monitor",
"operation": "create",
"friendlyName": "n8n"
},
"credentials": {
"uptimeRobotApi": "UptimeRobot API Credentials"
},
"typeVersion": 1
},
{
"name": "UptimeRobot1",
"type": "n8n-nodes-base.uptimeRobot",
"position": [
690,
320
],
"parameters": {
"id": "={{$json[\"id\"]}}",
"resource": "monitor",
"operation": "update",
"updateFields": {
"friendly_name": "n8n website"
}
},
"credentials": {
"uptimeRobotApi": "UptimeRobot API Credentials"
},
"typeVersion": 1
}
],
"connections": {
"UptimeRobot": {
"main": [
[
{
"node": "UptimeRobot1",
"type": "main",
"index": 0
}
]
]
},
"UptimeRobot1": {
"main": [
[
{
"node": "UptimeRobot2",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1114_workflow_1114.json
================================================
{
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
250,
200
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Microsoft To Do",
"type": "n8n-nodes-base.microsoftToDo",
"position": [
450,
200
],
"parameters": {
"title": "Document Microsoft To Do node",
"operation": "create",
"taskListId": "AQMkADAwATNiZmYAZC0zOTkAMy02ZWZjLTAwAi0wMAoALgAAA3i1fHMTrftIhQBzhywL64UBAFB0wRiJW1FJmmlvlAkVFQA-AAACARIAAAA=",
"additionalFields": {
"importance": "high"
}
},
"credentials": {
"microsoftToDoOAuth2Api": "Microsoft OAuth Credentials"
},
"typeVersion": 1
},
{
"name": "Microsoft To Do1",
"type": "n8n-nodes-base.microsoftToDo",
"position": [
650,
200
],
"parameters": {
"taskId": "={{$json[\"id\"]}}",
"operation": "update",
"taskListId": "={{$node[\"Microsoft To Do\"].parameter[\"taskListId\"]}}",
"updateFields": {
"status": "inProgress"
}
},
"credentials": {
"microsoftToDoOAuth2Api": "Microsoft OAuth Credentials"
},
"typeVersion": 1
},
{
"name": "Microsoft To Do2",
"type": "n8n-nodes-base.microsoftToDo",
"position": [
850,
200
],
"parameters": {
"taskId": "={{$json[\"id\"]}}",
"taskListId": "={{$node[\"Microsoft To Do\"].parameter[\"taskListId\"]}}"
},
"credentials": {
"microsoftToDoOAuth2Api": "Microsoft OAuth Credentials"
},
"typeVersion": 1
}
],
"connections": {
"Microsoft To Do": {
"main": [
[
{
"node": "Microsoft To Do1",
"type": "main",
"index": 0
}
]
]
},
"Microsoft To Do1": {
"main": [
[
{
"node": "Microsoft To Do2",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "Microsoft To Do",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1115_workflow_1115.json
================================================
{
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
230,
320
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Git",
"type": "n8n-nodes-base.git",
"position": [
430,
320
],
"parameters": {
"operation": "add",
"pathsToAdd": "README.md"
},
"typeVersion": 1
},
{
"name": "Git1",
"type": "n8n-nodes-base.git",
"position": [
630,
320
],
"parameters": {
"message": "✨ First commit from n8n",
"options": {},
"operation": "commit",
"repositoryPath": "={{$node[\"Git\"].parameter[\"repositoryPath\"]}}"
},
"typeVersion": 1
},
{
"name": "Git2",
"type": "n8n-nodes-base.git",
"position": [
830,
320
],
"parameters": {
"options": {},
"repositoryPath": "={{$node[\"Git\"].parameter[\"repositoryPath\"]}}"
},
"typeVersion": 1
},
{
"name": "Git3",
"type": "n8n-nodes-base.git",
"position": [
1030,
320
],
"parameters": {
"options": {},
"operation": "push",
"repositoryPath": "={{$node[\"Git\"].parameter[\"repositoryPath\"]}}"
},
"executeOnce": false,
"typeVersion": 1
}
],
"connections": {
"Git": {
"main": [
[
{
"node": "Git1",
"type": "main",
"index": 0
}
]
]
},
"Git1": {
"main": [
[
{
"node": "Git2",
"type": "main",
"index": 0
}
]
]
},
"Git2": {
"main": [
[
{
"node": "Git3",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "Git",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/1118_workflow_1118.json
================================================
{
"nodes": [
{
"name": "Get Start & End of day",
"type": "n8n-nodes-base.function",
"position": [
850,
450
],
"parameters": {
"functionCode": "var curr = new Date;\nvar first = (curr.getDate());\nvar last = first;\n\nvar firstday = new Date(curr.setDate(first));\nvar lastday = new Date(curr.setDate(last));\n\nbeginning = new Date(firstday.setHours(0,0,0,0));\nending = new Date(lastday.setHours(23,59,59,99));\n\nitems[0].json.from = beginning.toISOString();\nitems[0].json.to = ending.toISOString();\n\nreturn items;items[0].json.myVariable = 1;\nreturn items;"
},
"typeVersion": 1
},
{
"name": "Set Trello Card Details",
"type": "n8n-nodes-base.set",
"position": [
1460,
640
],
"parameters": {
"values": {
"string": [
{
"name": "name",
"value": "={{$node[\"Split Events In Batches\"].json[\"summary\"]}}"
},
{
"name": "description",
"value": "={{$node[\"Split Events In Batches\"].json[\"description\"]}}"
},
{
"name": "duedate",
"value": "={{$node[\"Split Events In Batches\"].json[\"start\"][\"dateTime\"]}}"
},
{
"name": "URL",
"value": "={{$node[\"Split Events In Batches\"].json[\"htmlLink\"]}}"
}
]
},
"options": {}
},
"typeVersion": 1
},
{
"name": "Remove Recurring Tasks",
"type": "n8n-nodes-base.if",
"position": [
1650,
640
],
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$node[\"Split Events In Batches\"].json[\"summary\"]}}",
"value2": "Check email and start day"
},
{
"value1": "={{$node[\"Split Events In Batches\"].json[\"summary\"]}}",
"value2": "Lunch"
},
{
"value1": "={{$node[\"Split Events In Batches\"].json[\"summary\"]}}",
"value2": "Wrap Up & Clear Desk"
},
{
"value1": "={{$node[\"Split Events In Batches\"].json[\"summary\"]}}",
"value2": "Beers and Griping"
}
],
"boolean": []
},
"combineOperation": "any"
},
"typeVersion": 1
},
{
"name": "Get Todays Events",
"type": "n8n-nodes-base.googleCalendar",
"position": [
1060,
450
],
"parameters": {
"options": {
"timeMax": "={{$node[\"Get Start & End of day\"].json[\"to\"]}}",
"timeMin": "={{$node[\"Get Start & End of day\"].json[\"from\"]}}",
"singleEvents": true
},
"calendar": "[email protected]",
"operation": "getAll"
},
"credentials": {
"googleCalendarOAuth2Api": "Angel TC Calendar API"
},
"typeVersion": 1
},
{
"name": "Split Events In Batches",
"type": "n8n-nodes-base.splitInBatches",
"position": [
1260,
640
],
"parameters": {
"options": {},
"batchSize": 1
},
"typeVersion": 1
},
{
"name": "Create Trello Cards",
"type": "n8n-nodes-base.trello",
"position": [
1830,
730
],
"parameters": {
"name": "={{$node[\"Set Trello Card Details\"].json[\"name\"]}}",
"description": "=**Meeting purpose (*Integrations, Playbooks, UI Issues, Project*):**\n\n- Task\n\n**Next Steps (*Task, Assigned to, Checkpoint Date*):**\n\n- Task\n\n**Decisions Made: (*What, Why, Impacts*):**\n\n- Task\n\n**Discussion: (*Items/Knowledge Shared*):**\n\n- Task",
"additionalFields": {
"due": "={{$node[\"Set Trello Card Details\"].json[\"duedate\"]}}",
"idLabels": "",
"urlSource": "={{$node[\"Set Trello Card Details\"].json[\"URL\"]}}"
}
},
"credentials": {
"trelloApi": "Angel Work Trello"
},
"typeVersion": 1
},
{
"name": "Delete Task",
"type": "n8n-nodes-base.noOp",
"position": [
1830,
560
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Trigger Every Day at 8am",
"type": "n8n-nodes-base.cron",
"position": [
650,
450
],
"parameters": {
"triggerTimes": {
"item": [
{
"hour": 8
}
]
}
},
"typeVersion": 1
}
],
"connections": {
"Get Todays Events": {
"main": [
[
{
"node": "Split Events In Batches",
"type": "main",
"index": 0
}
]
]
},
"Get Start & End of day": {
"main": [
[
{
"node": "Get Todays Events",
"type": "main",
"index": 0
}
]
]
},
"Remove Recurring Tasks": {
"main": [
[
{
"node": "Delete Task",
"type": "main",
"index": 0
}
],
[
{
"node": "Create Trello Cards",
"type": "main",
"index": 0
}
]
]
},
"Set Trello Card Details": {
"main": [
[
{
"node": "Remove Recurring Tasks",
"type": "main",
"index": 0
}
]
]
},
"Split Events In Batches": {
"main": [
[
{
"node": "Set Trello Card Details",
"type": "main",
"index": 0
},
{
"node": "Get Todays Events",
"type": "main",
"index": 0
}
]
]
},
"Trigger Every Day at 8am": {
"main": [
[
{
"node": "Get Start & End of day",
"type": "main",
"index": 0
}
]
]
}
}
}
================================================
FILE: workflows/111_Standup_Bot_-_Initialize.json
================================================
{
"id": 111,
"name": "Standup Bot - Initialize",
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
240,
300
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Write Binary File",
"type": "n8n-nodes-base.writeBinaryFile",
"position": [
880,
300
],
"parameters": {
"fileName": "/home/node/.n8n/standup-bot-config.json"
},
"typeVersion": 1
},
{
"name": "Move Binary Data",
"type": "n8n-nodes-base.moveBinaryData",
"position": [
660,
300
],
"parameters": {
"mode": "jsonToBinary",
"options": {
"encoding": "utf8",
"fileName": "standup-bot-config.json"
}
},
"typeVersion": 1
},
{
"name": "Use Default Config",
"type": "n8n-nodes-base.set",
"position": [
440,
300
],
"parameters": {
"values": {
"string": [
{
"name": "config.slashCmdToken",
"value": "xxxxx"
},
{
"name": "config.mattermostBaseUrl",
"value": "https://mattermost.yourdomain.tld"
},
{
"name": "config.botUserToken",
"value": "xxxxx"
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment