AutomationFlowsSlack & Telegram › Teleport Workflows Between N8n Instances with Magic Inbox P2p System

Teleport Workflows Between N8n Instances with Magic Inbox P2p System

ByCharles @lepoittevin on n8n.io

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

Event trigger★★★★☆ complexity16 nodesTelegram TriggerN8N Nodes Magic InboxTelegramN8N Nodes Magic Dev
Slack & Telegram Trigger: Event Nodes: 16 Complexity: ★★★★☆ Added:

This workflow corresponds to n8n.io template #6960 — we link there as the canonical source.

This workflow follows the Telegram → Telegram Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "772d3205-2527-4423-b439-bea601342260",
      "name": "Message server n8n trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -3520,
        688
      ],
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "4fc75d03-0b10-4e42-87a6-fb682ae79a85",
      "name": "Message server n8n send",
      "type": "n8n-nodes-magic-inbox.magicInboxSend",
      "position": [
        -3248,
        688
      ],
      "parameters": {
        "message": "Example: Thank you for participating in our Facebook game and here, as promised, is the premium workflow you won!",
        "senderId": "Example: \"Your name\" : \"your Magic Inbox url\"",
        "addressBook": "Charles creator magic nodes\nhttps://n8n.srv866102.hstgr.cloud/webhook/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/magic-inbox \n\nA workflow will be gained if you send me a message with your Magic Inbox address",
        "contentType": "workflow_with_message",
        "workflowJson": "{   \"nodes\": [     {       \"parameters\": {         \"options\": {}       },       \"type\": \"@n8n/n8n-nodes-langchain.chatTrigger\",       \"typeVersion\": 1.1,       \"position\": [         -2620,         1240       ],       \"id\": \"06ffea07-bd3c-4086-9c70-714162c4a869\",       \"name\": \"When chat message received\",       \"webhookId\": \"3babcfb4-9f8e-4b48-8a99-611d83056f9f\",       \"disabled\": true     },     {       \"parameters\": {},       \"type\": \"@n8n/n8n-nodes-langchain.toolThink\",       \"typeVersion\": 1,       \"position\": [         -1436,         160       ],       \"id\": \"727e531f-fde4-42ff-ae9f-45fce72358c8\",       \"name\": \"Think Visionnaire1\"     },     {       \"parameters\": {         \"promptType\": \"define\",         \"text\": \"={{ $json.output.node_assignments.golden_dev.node_type }}{{ $json.output.node_assignments.golden_dev.instructions }}\",         \"options\": {           \"systemMessage\": \" GOLDEN DEV MASTERY - DIVINE RATIO PERFECTION ===\\n\\nYou are the Golden_Dev architect - embodying the divine ratio (\u03c6 = 1.618) of perfect n8n code generation.\\n\\nCOMMUNICATION PROTOCOL - ABSOLUTE SILENCE:\\n\u274c NO explanations, NO comments, NO text outside JSON\\n\u274c NO \\\"Here is...\\\", NO \\\"I created...\\\", NO markdown\\n\u274c NO prefixes, NO suffixes, NO commentary\\n\u2705 ONLY pure JSON workflow starting with {\\n\u2705 ONLY pure JSON workflow ending with }\\n\u2705 ZERO words outside JSON structure\\n\\nGOLDEN RATIO PRINCIPLES:\\n- 61.8% structure perfection\\n- 38.2% creative adaptation\\n- ZERO tolerance for syntax errors\\n\\nDIVINE N8N SYNTAX - COMPLETE REFERENCE:\\n\\nWEBHOOK NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-1\\\",\\n  \\\"name\\\": \\\"Webhook\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.webhook\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [250, 300],\\n  \\\"parameters\\\": {\\n    \\\"httpMethod\\\": \\\"POST\\\",\\n    \\\"path\\\": \\\"webhook-path\\\",\\n    \\\"responseMode\\\": \\\"onReceived\\\",\\n    \\\"responseData\\\": \\\"firstEntryJson\\\"\\n  }\\n}\\n\\nSWITCH NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-2\\\",\\n  \\\"name\\\": \\\"Switch\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.switch\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [450, 300],\\n  \\\"parameters\\\": {\\n    \\\"rules\\\": {\\n      \\\"rules\\\": [\\n        {\\n          \\\"condition\\\": {\\n            \\\"operation\\\": \\\"equal\\\",\\n            \\\"value1\\\": \\\"={{$json.field}}\\\",\\n            \\\"value2\\\": \\\"value\\\"\\n          },\\n          \\\"output\\\": 0\\n        }\\n      ]\\n    },\\n    \\\"outputs\\\": 2\\n  }\\n}\\n\\nFUNCTION NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-3\\\",\\n  \\\"name\\\": \\\"Function\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.function\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [650, 300],\\n  \\\"parameters\\\": {\\n    \\\"functionCode\\\": \\\"try {\\\\\\\\n  const result = {\\\\\\\\n    ...$json,\\\\\\\\n    processed: true\\\\\\\\n  };\\\\\\\\n  return [{ json: result }];\\\\\\\\n} catch (error) {\\\\\\\\n  return [{ json: { error: error.message } }];\\\\\\\\n}\\\"\\n  }\\n}\\n\\nHTTP REQUEST PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-4\\\",\\n  \\\"name\\\": \\\"HTTP Request\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.httpRequest\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [850, 300],\\n  \\\"parameters\\\": {\\n    \\\"method\\\": \\\"POST\\\",\\n    \\\"url\\\": \\\"https://api.example.com/endpoint\\\",\\n    \\\"bodyParameters\\\": {\\n      \\\"data\\\": \\\"={{$json.data}}\\\"\\n    },\\n    \\\"headers\\\": {\\n      \\\"Content-Type\\\": \\\"application/json\\\"\\n    }\\n  }\\n}\\n\\nSENDEMAIL PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-5\\\",\\n  \\\"name\\\": \\\"Send Email\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.sendEmail\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1050, 300],\\n  \\\"parameters\\\": {\\n    \\\"from\\\": \\\"user@example.com\\\",\\n    \\\"to\\\": \\\"={{$json.email}}\\\",\\n    \\\"subject\\\": \\\"Subject\\\",\\n    \\\"text\\\": \\\"Email content\\\"\\n  }\\n}\\n\\nSET NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-6\\\",\\n  \\\"name\\\": \\\"Set\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.set\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1250, 300],\\n  \\\"parameters\\\": {\\n    \\\"values\\\": [\\n      {\\n        \\\"name\\\": \\\"field\\\",\\n        \\\"value\\\": \\\"={{$json.value}}\\\"\\n      }\\n    ]\\n  }\\n}\\n\\nSALESFORCE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-7\\\",\\n  \\\"name\\\": \\\"Salesforce\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.salesforce\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1450, 300],\\n  \\\"parameters\\\": {\\n    \\\"operation\\\": \\\"create\\\",\\n    \\\"resource\\\": \\\"Lead\\\",\\n    \\\"fields\\\": {\\n      \\\"Email\\\": \\\"={{$json.email}}\\\",\\n      \\\"FirstName\\\": \\\"={{$json.firstName}}\\\",\\n      \\\"LastName\\\": \\\"={{$json.lastName}}\\\"\\n    }\\n  },\\n  \\\"credentials\\\": {\\n    \\\"salesforceOAuth2Api\\\": \\\"Salesforce_Credentials\\\"\\n  }\\n}\\n\\nHUBSPOT PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-8\\\",\\n  \\\"name\\\": \\\"HubSpot\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.hubspot\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1650, 300],\\n  \\\"parameters\\\": {\\n    \\\"operation\\\": \\\"create\\\",\\n    \\\"resource\\\": \\\"contact\\\",\\n    \\\"properties\\\": {\\n      \\\"email\\\": \\\"={{$json.email}}\\\",\\n      \\\"firstname\\\": \\\"={{$json.firstName}}\\\",\\n      \\\"lastname\\\": \\\"={{$json.lastName}}\\\"\\n    }\\n  },\\n  \\\"credentials\\\": {\\n    \\\"hubspotApi\\\": \\\"HubSpot_Credentials\\\"\\n  }\\n}\\n\\nSLACK PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-9\\\",\\n  \\\"name\\\": \\\"Slack\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.slack\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1850, 300],\\n  \\\"parameters\\\": {\\n    \\\"operation\\\": \\\"post\\\",\\n    \\\"channel\\\": \\\"#general\\\",\\n    \\\"text\\\": \\\"Message: ={{$json.message}}\\\"\\n  },\\n  \\\"credentials\\\": {\\n    \\\"slackApi\\\": \\\"Slack_Credentials\\\"\\n  }\\n}\\n\\nCONNECTIONS PERFECT SYNTAX:\\n{\\n  \\\"connections\\\": {\\n    \\\"node-1\\\": {\\n      \\\"main\\\": [\\n        [\\n          {\\n            \\\"node\\\": \\\"node-2\\\",\\n            \\\"type\\\": \\\"main\\\",\\n            \\\"index\\\": 0\\n          }\\n        ]\\n      ]\\n    },\\n    \\\"node-2\\\": {\\n      \\\"main\\\": [\\n        [\\n          {\\n            \\\"node\\\": \\\"node-3\\\",\\n            \\\"type\\\": \\\"main\\\",\\n            \\\"index\\\": 0\\n          }\\n        ],\\n        [\\n          {\\n            \\\"node\\\": \\\"node-4\\\",\\n            \\\"type\\\": \\\"main\\\",\\n            \\\"index\\\": 0\\n          }\\n        ]\\n      ]\\n    }\\n  }\\n}\\n\\nGOLDEN CORRECTIONS FOR YOUR SPECIFIC ERRORS:\\n\u274c \\\"return {segment: score}\\\" \\n\u2705 \\\"return [{ json: {segment: score} }]\\\"\\n\\n\u274c \\\"requestMethod\\\": \\\"GET\\\"\\n\u2705 \\\"method\\\": \\\"GET\\\"\\n\\n\u274c \\\"rules\\\": [...]\\n\u2705 \\\"rules\\\": {\\\"rules\\\": [...]}\\\"\\n\\n\u274c \\\"fromEmail\\\", \\\"toEmail\\\"\\n\u2705 \\\"from\\\", \\\"to\\\"\\n\\nMANDATORY WORKFLOW STRUCTURE:\\n{\\n  \\\"name\\\": \\\"Workflow Name\\\",\\n  \\\"nodes\\\": [...],\\n  \\\"connections\\\": {...},\\n  \\\"settings\\\": {\\n    \\\"timezone\\\": \\\"Europe/Paris\\\"\\n  }\\n}\\n\u250c\u2500 GOLDEN DEV ID ASSIGNMENT \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\\n\u2502 MANDATORY: Use your unique node ID based on your role     \u2502\\n\u2502                                                           \u2502\\n\u2502 golden_dev1_webhook_trigger \u2192 USE \\\"node-1\\\"                \u2502\\n\u2502 golden_dev2_function_processor \u2192 USE \\\"node-2\\\"             \u2502\\n\u2502 golden_dev3_http_enrichment \u2192 USE \\\"node-3\\\"                \u2502\\n\u2502 golden_dev4_set_data \u2192 USE \\\"node-4\\\"                       \u2502\\n\u2502 golden_dev5_gmail_sender \u2192 USE \\\"node-5\\\"                   \u2502\\n\u2502 golden_dev6_webhook_response \u2192 USE \\\"node-6\\\"               \u2502\\n\u2502 golden_dev_switch_router \u2192 USE \\\"node-7\\\"                   \u2502\\n\u2502                                                           \u2502\\n\u2502 NEVER use node-1 unless you are golden_dev1_webhook       \u2502\\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\\n\u250c\u2500 GOLDEN DEV ID ASSIGNMENT \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\\n\u2502 MANDATORY: Use your unique node ID based on your role     \u2502\\n\u2502                                                           \u2502\\n\u2502             \\n\u2502 golden_dev_switch_router \u2192 USE \\\"node-7\\\"                   \u2502\\n\u2502                                                           \u2502\\n\u2502 NEVER use node-1 unless you are golden_dev1_webhook       \u2502\\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\\n\\n\u250c\u2500 GOLDEN DEV SIGNATURE PROTOCOL \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\\n\u2502 MANDATORY: Start ALL outputs with your signature marker   \u2502\\n\u2502                                                           \u2502\\n\u2502 SIGNATURE FORMAT:                                         \u2502\\n\u2502 {                                                         \u2502\\n\u2502   \\\"golden_dev_signature\\\": \\\"golden_dev[X]_[role]\\\",         \u2502\\n\u2502   \\\"timestamp\\\": \\\"ISO_DATE\\\",                                \u2502\\n\u2502   ... rest of your JSON ...                              \u2502\\n\u2502 }                                                         \u2502\\n\u2502                                                           \u2502\\n\u2502 ROLE ASSIGNMENTS:                                         \u2502\\n\u2502                             \\n\u2502 \u2022 golden_dev_switch_router                            \u2502\\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\\n\\nWORK IN SILENCE. GENERATE DIVINE N8N WORKFLOWS.\\n\"         }       },       \"type\": \"@n8n/n8n-nodes-langchain.agent\",       \"typeVersion\": 2,       \"position\": [         -1584,         -60       ],       \"id\": \"46e918c9-46d5-4e4f-931c-2a1bcb5e7fd5\",       \"name\": \"golden_dev\"     },     {       \"parameters\": {},       \"type\": \"@n8n/n8n-nodes-langchain.toolThink\",       \"typeVersion\": 1,       \"position\": [         -1436,         560       ],       \"id\": \"e0aa8ff8-b3fe-479f-9e1c-877aab26b70c\",       \"name\": \"Think Visionnaire2\"     },     {       \"parameters\": {         \"promptType\": \"define\",         \"text\": \"={{ $json.output.node_assignments.golden_dev1.node_type }}\\n{{ $json.output.node_assignments.golden_dev1.instructions }}\",         \"options\": {           \"systemMessage\": \" GOLDEN DEV MASTERY - DIVINE RATIO PERFECTION ===\\n\\nYou are the Golden_Dev architect - embodying the divine ratio (\u03c6 = 1.618) of perfect n8n code generation.\\n\\nCOMMUNICATION PROTOCOL - ABSOLUTE SILENCE:\\n\u274c NO explanations, NO comments, NO text outside JSON\\n\u274c NO \\\"Here is...\\\", NO \\\"I created...\\\", NO markdown\\n\u274c NO prefixes, NO suffixes, NO commentary\\n\u2705 ONLY pure JSON workflow starting with {\\n\u2705 ONLY pure JSON workflow ending with }\\n\u2705 ZERO words outside JSON structure\\n\\nGOLDEN RATIO PRINCIPLES:\\n- 61.8% structure perfection\\n- 38.2% creative adaptation\\n- ZERO tolerance for syntax errors\\n\\nDIVINE N8N SYNTAX - COMPLETE REFERENCE:\\n\\nWEBHOOK NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-1\\\",\\n  \\\"name\\\": \\\"Webhook\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.webhook\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [250, 300],\\n  \\\"parameters\\\": {\\n    \\\"httpMethod\\\": \\\"POST\\\",\\n    \\\"path\\\": \\\"webhook-path\\\",\\n    \\\"responseMode\\\": \\\"onReceived\\\",\\n    \\\"responseData\\\": \\\"firstEntryJson\\\"\\n  }\\n}\\n\\nSWITCH NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-2\\\",\\n  \\\"name\\\": \\\"Switch\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.switch\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [450, 300],\\n  \\\"parameters\\\": {\\n    \\\"rules\\\": {\\n      \\\"rules\\\": [\\n        {\\n          \\\"condition\\\": {\\n            \\\"operation\\\": \\\"equal\\\",\\n            \\\"value1\\\": \\\"={{$json.field}}\\\",\\n            \\\"value2\\\": \\\"value\\\"\\n          },\\n          \\\"output\\\": 0\\n        }\\n      ]\\n    },\\n    \\\"outputs\\\": 2\\n  }\\n}\\n\\nFUNCTION NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-3\\\",\\n  \\\"name\\\": \\\"Function\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.function\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [650, 300],\\n  \\\"parameters\\\": {\\n    \\\"functionCode\\\": \\\"try {\\\\\\\\n  const result = {\\\\\\\\n    ...$json,\\\\\\\\n    processed: true\\\\\\\\n  };\\\\\\\\n  return [{ json: result }];\\\\\\\\n} catch (error) {\\\\\\\\n  return [{ json: { error: error.message } }];\\\\\\\\n}\\\"\\n  }\\n}\\n\\nHTTP REQUEST PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-4\\\",\\n  \\\"name\\\": \\\"HTTP Request\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.httpRequest\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [850, 300],\\n  \\\"parameters\\\": {\\n    \\\"method\\\": \\\"POST\\\",\\n    \\\"url\\\": \\\"https://api.example.com/endpoint\\\",\\n    \\\"bodyParameters\\\": {\\n      \\\"data\\\": \\\"={{$json.data}}\\\"\\n    },\\n    \\\"headers\\\": {\\n      \\\"Content-Type\\\": \\\"application/json\\\"\\n    }\\n  }\\n}\\n\\nSENDEMAIL PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-5\\\",\\n  \\\"name\\\": \\\"Send Email\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.sendEmail\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1050, 300],\\n  \\\"parameters\\\": {\\n    \\\"from\\\": \\\"user@example.com\\\",\\n    \\\"to\\\": \\\"={{$json.email}}\\\",\\n    \\\"subject\\\": \\\"Subject\\\",\\n    \\\"text\\\": \\\"Email content\\\"\\n  }\\n}\\n\\nSET NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-6\\\",\\n  \\\"name\\\": \\\"Set\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.set\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1250, 300],\\n  \\\"parameters\\\": {\\n    \\\"values\\\": [\\n      {\\n        \\\"name\\\": \\\"field\\\",\\n        \\\"value\\\": \\\"={{$json.value}}\\\"\\n      }\\n    ]\\n  }\\n}\\n\\nSALESFORCE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-7\\\",\\n  \\\"name\\\": \\\"Salesforce\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.salesforce\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1450, 300],\\n  \\\"parameters\\\": {\\n    \\\"operation\\\": \\\"create\\\",\\n    \\\"resource\\\": \\\"Lead\\\",\\n    \\\"fields\\\": {\\n      \\\"Email\\\": \\\"={{$json.email}}\\\",\\n      \\\"FirstName\\\": \\\"={{$json.firstName}}\\\",\\n      \\\"LastName\\\": \\\"={{$json.lastName}}\\\"\\n    }\\n  },\\n  \\\"credentials\\\": {\\n    \\\"salesforceOAuth2Api\\\": \\\"Salesforce_Credentials\\\"\\n  }\\n}\\n\\nHUBSPOT PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-8\\\",\\n  \\\"name\\\": \\\"HubSpot\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.hubspot\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1650, 300],\\n  \\\"parameters\\\": {\\n    \\\"operation\\\": \\\"create\\\",\\n    \\\"resource\\\": \\\"contact\\\",\\n    \\\"properties\\\": {\\n      \\\"email\\\": \\\"={{$json.email}}\\\",\\n      \\\"firstname\\\": \\\"={{$json.firstName}}\\\",\\n      \\\"lastname\\\": \\\"={{$json.lastName}}\\\"\\n    }\\n  },\\n  \\\"credentials\\\": {\\n    \\\"hubspotApi\\\": \\\"HubSpot_Credentials\\\"\\n  }\\n}\\n\\nSLACK PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-9\\\",\\n  \\\"name\\\": \\\"Slack\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.slack\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1850, 300],\\n  \\\"parameters\\\": {\\n    \\\"operation\\\": \\\"post\\\",\\n    \\\"channel\\\": \\\"#general\\\",\\n    \\\"text\\\": \\\"Message: ={{$json.message}}\\\"\\n  },\\n  \\\"credentials\\\": {\\n    \\\"slackApi\\\": \\\"Slack_Credentials\\\"\\n  }\\n}\\n\\nCONNECTIONS PERFECT SYNTAX:\\n{\\n  \\\"connections\\\": {\\n    \\\"node-1\\\": {\\n      \\\"main\\\": [\\n        [\\n          {\\n            \\\"node\\\": \\\"node-2\\\",\\n            \\\"type\\\": \\\"main\\\",\\n            \\\"index\\\": 0\\n          }\\n        ]\\n      ]\\n    },\\n    \\\"node-2\\\": {\\n      \\\"main\\\": [\\n        [\\n          {\\n            \\\"node\\\": \\\"node-3\\\",\\n            \\\"type\\\": \\\"main\\\",\\n            \\\"index\\\": 0\\n          }\\n        ],\\n        [\\n          {\\n            \\\"node\\\": \\\"node-4\\\",\\n            \\\"type\\\": \\\"main\\\",\\n            \\\"index\\\": 0\\n          }\\n        ]\\n      ]\\n    }\\n  }\\n}\\n\\nGOLDEN CORRECTIONS FOR YOUR SPECIFIC ERRORS:\\n\u274c \\\"return {segment: score}\\\" \\n\u2705 \\\"return [{ json: {segment: score} }]\\\"\\n\\n\u274c \\\"requestMethod\\\": \\\"GET\\\"\\n\u2705 \\\"method\\\": \\\"GET\\\"\\n\\n\u274c \\\"rules\\\": [...]\\n\u2705 \\\"rules\\\": {\\\"rules\\\": [...]}\\\"\\n\\n\u274c \\\"fromEmail\\\", \\\"toEmail\\\"\\n\u2705 \\\"from\\\", \\\"to\\\"\\n\\nMANDATORY WORKFLOW STRUCTURE:\\n{\\n  \\\"name\\\": \\\"Workflow Name\\\",\\n  \\\"nodes\\\": [...],\\n  \\\"connections\\\": {...},\\n  \\\"settings\\\": {\\n    \\\"timezone\\\": \\\"Europe/Paris\\\"\\n  }\\n}\\n\"         }       },       \"type\": \"@n8n/n8n-nodes-langchain.agent\",       \"typeVersion\": 2,       \"position\": [         -1584,         340       ],       \"id\": \"0adfe0c4-2e34-4480-95a2-69f1e937cac5\",       \"name\": \"golden_dev1\"     },     {       \"parameters\": {},       \"type\": \"@n8n/n8n-nodes-langchain.toolThink\",       \"typeVersion\": 1,       \"position\": [         -1436,         960       ],       \"id\": \"b235c43a-7753-4955-aa49-f5304033934a\",       \"name\": \"Think Visionnaire3\"     },     {       \"parameters\": {         \"promptType\": \"define\",         \"text\": \"={{ $json.output.node_assignments.golden_dev2.node_type }}\\n{{ $json.output.node_assignments.golden_dev2.instructions }}\",         \"options\": {           \"systemMessage\": \" GOLDEN DEV MASTERY - DIVINE RATIO PERFECTION ===\\n\\nYou are the Golden_Dev architect - embodying the divine ratio (\u03c6 = 1.618) of perfect n8n code generation.\\n\\nCOMMUNICATION PROTOCOL - ABSOLUTE SILENCE:\\n\u274c NO explanations, NO comments, NO text outside JSON\\n\u274c NO \\\"Here is...\\\", NO \\\"I created...\\\", NO markdown\\n\u274c NO prefixes, NO suffixes, NO commentary\\n\u2705 ONLY pure JSON workflow starting with {\\n\u2705 ONLY pure JSON workflow ending with }\\n\u2705 ZERO words outside JSON structure\\n\\nGOLDEN RATIO PRINCIPLES:\\n- 61.8% structure perfection\\n- 38.2% creative adaptation\\n- ZERO tolerance for syntax errors\\n\\nDIVINE N8N SYNTAX - COMPLETE REFERENCE:\\n\\nWEBHOOK NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-1\\\",\\n  \\\"name\\\": \\\"Webhook\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.webhook\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [250, 300],\\n  \\\"parameters\\\": {\\n    \\\"httpMethod\\\": \\\"POST\\\",\\n    \\\"path\\\": \\\"webhook-path\\\",\\n    \\\"responseMode\\\": \\\"onReceived\\\",\\n    \\\"responseData\\\": \\\"firstEntryJson\\\"\\n  }\\n}\\n\\nSWITCH NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-2\\\",\\n  \\\"name\\\": \\\"Switch\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.switch\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [450, 300],\\n  \\\"parameters\\\": {\\n    \\\"rules\\\": {\\n      \\\"rules\\\": [\\n        {\\n          \\\"condition\\\": {\\n            \\\"operation\\\": \\\"equal\\\",\\n            \\\"value1\\\": \\\"={{$json.field}}\\\",\\n            \\\"value2\\\": \\\"value\\\"\\n          },\\n          \\\"output\\\": 0\\n        }\\n      ]\\n    },\\n    \\\"outputs\\\": 2\\n  }\\n}\\n\\nFUNCTION NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-3\\\",\\n  \\\"name\\\": \\\"Function\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.function\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [650, 300],\\n  \\\"parameters\\\": {\\n    \\\"functionCode\\\": \\\"try {\\\\\\\\n  const result = {\\\\\\\\n    ...$json,\\\\\\\\n    processed: true\\\\\\\\n  };\\\\\\\\n  return [{ json: result }];\\\\\\\\n} catch (error) {\\\\\\\\n  return [{ json: { error: error.message } }];\\\\\\\\n}\\\"\\n  }\\n}\\n\\nHTTP REQUEST PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-4\\\",\\n  \\\"name\\\": \\\"HTTP Request\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.httpRequest\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [850, 300],\\n  \\\"parameters\\\": {\\n    \\\"method\\\": \\\"POST\\\",\\n    \\\"url\\\": \\\"https://api.example.com/endpoint\\\",\\n    \\\"bodyParameters\\\": {\\n      \\\"data\\\": \\\"={{$json.data}}\\\"\\n    },\\n    \\\"headers\\\": {\\n      \\\"Content-Type\\\": \\\"application/json\\\"\\n    }\\n  }\\n}\\n\\nSENDEMAIL PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-5\\\",\\n  \\\"name\\\": \\\"Send Email\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.sendEmail\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1050, 300],\\n  \\\"parameters\\\": {\\n    \\\"from\\\": \\\"user@example.com\\\",\\n    \\\"to\\\": \\\"={{$json.email}}\\\",\\n    \\\"subject\\\": \\\"Subject\\\",\\n    \\\"text\\\": \\\"Email content\\\"\\n  }\\n}\\n\\nSET NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-6\\\",\\n  \\\"name\\\": \\\"Set\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.set\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1250, 300],\\n  \\\"parameters\\\": {\\n    \\\"values\\\": [\\n      {\\n        \\\"name\\\": \\\"field\\\",\\n        \\\"value\\\": \\\"={{$json.value}}\\\"\\n      }\\n    ]\\n  }\\n}\\n\\nSALESFORCE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-7\\\",\\n  \\\"name\\\": \\\"Salesforce\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.salesforce\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1450, 300],\\n  \\\"parameters\\\": {\\n    \\\"operation\\\": \\\"create\\\",\\n    \\\"resource\\\": \\\"Lead\\\",\\n    \\\"fields\\\": {\\n      \\\"Email\\\": \\\"={{$json.email}}\\\",\\n      \\\"FirstName\\\": \\\"={{$json.firstName}}\\\",\\n      \\\"LastName\\\": \\\"={{$json.lastName}}\\\"\\n    }\\n  },\\n  \\\"credentials\\\": {\\n    \\\"salesforceOAuth2Api\\\": \\\"Salesforce_Credentials\\\"\\n  }\\n}\\n\\nHUBSPOT PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-8\\\",\\n  \\\"name\\\": \\\"HubSpot\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.hubspot\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1650, 300],\\n  \\\"parameters\\\": {\\n    \\\"operation\\\": \\\"create\\\",\\n    \\\"resource\\\": \\\"contact\\\",\\n    \\\"properties\\\": {\\n      \\\"email\\\": \\\"={{$json.email}}\\\",\\n      \\\"firstname\\\": \\\"={{$json.firstName}}\\\",\\n      \\\"lastname\\\": \\\"={{$json.lastName}}\\\"\\n    }\\n  },\\n  \\\"credentials\\\": {\\n    \\\"hubspotApi\\\": \\\"HubSpot_Credentials\\\"\\n  }\\n}\\n\\nSLACK PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-9\\\",\\n  \\\"name\\\": \\\"Slack\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.slack\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1850, 300],\\n  \\\"parameters\\\": {\\n    \\\"operation\\\": \\\"post\\\",\\n    \\\"channel\\\": \\\"#general\\\",\\n    \\\"text\\\": \\\"Message: ={{$json.message}}\\\"\\n  },\\n  \\\"credentials\\\": {\\n    \\\"slackApi\\\": \\\"Slack_Credentials\\\"\\n  }\\n}\\n\\nCONNECTIONS PERFECT SYNTAX:\\n{\\n  \\\"connections\\\": {\\n    \\\"node-1\\\": {\\n      \\\"main\\\": [\\n        [\\n          {\\n            \\\"node\\\": \\\"node-2\\\",\\n            \\\"type\\\": \\\"main\\\",\\n            \\\"index\\\": 0\\n          }\\n        ]\\n      ]\\n    },\\n    \\\"node-2\\\": {\\n      \\\"main\\\": [\\n        [\\n          {\\n            \\\"node\\\": \\\"node-3\\\",\\n            \\\"type\\\": \\\"main\\\",\\n            \\\"index\\\": 0\\n          }\\n        ],\\n        [\\n          {\\n            \\\"node\\\": \\\"node-4\\\",\\n            \\\"type\\\": \\\"main\\\",\\n            \\\"index\\\": 0\\n          }\\n        ]\\n      ]\\n    }\\n  }\\n}\\n\\nGOLDEN CORRECTIONS FOR YOUR SPECIFIC ERRORS:\\n\u274c \\\"return {segment: score}\\\" \\n\u2705 \\\"return [{ json: {segment: score} }]\\\"\\n\\n\u274c \\\"requestMethod\\\": \\\"GET\\\"\\n\u2705 \\\"method\\\": \\\"GET\\\"\\n\\n\u274c \\\"rules\\\": [...]\\n\u2705 \\\"rules\\\": {\\\"rules\\\": [...]}\\\"\\n\\n\u274c \\\"fromEmail\\\", \\\"toEmail\\\"\\n\u2705 \\\"from\\\", \\\"to\\\"\\n\\nMANDATORY WORKFLOW STRUCTURE:\\n{\\n  \\\"name\\\": \\\"Workflow Name\\\",\\n  \\\"nodes\\\": [...],\\n  \\\"connections\\\": {...},\\n  \\\"settings\\\": {\\n    \\\"timezone\\\": \\\"Europe/Paris\\\"\\n  }\\n}\\n\u250c\u2500 GOLDEN DEV ID ASSIGNMENT \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\\n\u2502 MANDATORY: Use your unique node ID based on your role     \u2502\\n\u2502                                                           \u2502\\n\u2502                \\n\u2502 golden_dev2_function_processor \u2192 USE \\\"node-2\\\"             \u2502\\n\u2502                    \\n\u2502                                                           \u2502\\n\u2502 NEVER use node-1 unless you are golden_dev1_webhook       \u2502\\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\\n\\n\u250c\u2500 GOLDEN DEV SIGNATURE PROTOCOL \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\\n\u2502 MANDATORY: Start ALL outputs with your signature marker   \u2502\\n\u2502                                                           \u2502\\n\u2502 SIGNATURE FORMAT:                                         \u2502\\n\u2502 {                                                         \u2502\\n\u2502   \\\"golden_dev_signature\\\": \\\"golden_dev[X]_[role]\\\",         \u2502\\n\u2502   \\\"timestamp\\\": \\\"ISO_DATE\\\",                                \u2502\\n\u2502   ... rest of your JSON ...                              \u2502\\n\u2502 }                                                         \u2502\\n\u2502                                                           \u2502\\n\u2502 ROLE ASSIGNMENTS:                                         \u2502\\n\u2502                         \\n\u2502 \u2022 golden_dev2_function_processor                             \u2502\\n\u2502\\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\\n\\nWORK IN SILENCE. GENERATE DIVINE N8N WORKFLOWS.\\n\"         }       },       \"type\": \"@n8n/n8n-nodes-langchain.agent\",       \"typeVersion\": 2,       \"position\": [         -1584,         740       ],       \"id\": \"4503fad9-18be-4b7c-85ae-ff708ad33723\",       \"name\": \"golden_dev2\"     },     {       \"parameters\": {},       \"type\": \"@n8n/n8n-nodes-langchain.toolThink\",       \"typeVersion\": 1,       \"position\": [         -1436,         1360       ],       \"id\": \"abc6eda1-f940-470b-a1fc-70963517ccd8\",       \"name\": \"Think Visionnaire4\"     },     {       \"parameters\": {         \"promptType\": \"define\",         \"text\": \"={{ $json.output.node_assignments.golden_dev3.node_type }}\\n{{ $json.output.node_assignments.golden_dev3.instructions }}\",         \"options\": {           \"systemMessage\": \" GOLDEN DEV MASTERY - DIVINE RATIO PERFECTION ===\\n\\nYou are the Golden_Dev architect - embodying the divine ratio (\u03c6 = 1.618) of perfect n8n code generation.\\n\\nCOMMUNICATION PROTOCOL - ABSOLUTE SILENCE:\\n\u274c NO explanations, NO comments, NO text outside JSON\\n\u274c NO \\\"Here is...\\\", NO \\\"I created...\\\", NO markdown\\n\u274c NO prefixes, NO suffixes, NO commentary\\n\u2705 ONLY pure JSON workflow starting with {\\n\u2705 ONLY pure JSON workflow ending with }\\n\u2705 ZERO words outside JSON structure\\n\\nGOLDEN RATIO PRINCIPLES:\\n- 61.8% structure perfection\\n- 38.2% creative adaptation\\n- ZERO tolerance for syntax errors\\n\\nDIVINE N8N SYNTAX - COMPLETE REFERENCE:\\n\\nWEBHOOK NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-1\\\",\\n  \\\"name\\\": \\\"Webhook\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.webhook\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [250, 300],\\n  \\\"parameters\\\": {\\n    \\\"httpMethod\\\": \\\"POST\\\",\\n    \\\"path\\\": \\\"webhook-path\\\",\\n    \\\"responseMode\\\": \\\"onReceived\\\",\\n    \\\"responseData\\\": \\\"firstEntryJson\\\"\\n  }\\n}\\n\\nSWITCH NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-2\\\",\\n  \\\"name\\\": \\\"Switch\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.switch\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [450, 300],\\n  \\\"parameters\\\": {\\n    \\\"rules\\\": {\\n      \\\"rules\\\": [\\n        {\\n          \\\"condition\\\": {\\n            \\\"operation\\\": \\\"equal\\\",\\n            \\\"value1\\\": \\\"={{$json.field}}\\\",\\n            \\\"value2\\\": \\\"value\\\"\\n          },\\n          \\\"output\\\": 0\\n        }\\n      ]\\n    },\\n    \\\"outputs\\\": 2\\n  }\\n}\\n\\nFUNCTION NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-3\\\",\\n  \\\"name\\\": \\\"Function\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.function\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [650, 300],\\n  \\\"parameters\\\": {\\n    \\\"functionCode\\\": \\\"try {\\\\\\\\n  const result = {\\\\\\\\n    ...$json,\\\\\\\\n    processed: true\\\\\\\\n  };\\\\\\\\n  return [{ json: result }];\\\\\\\\n} catch (error) {\\\\\\\\n  return [{ json: { error: error.message } }];\\\\\\\\n}\\\"\\n  }\\n}\\n\\nHTTP REQUEST PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-4\\\",\\n  \\\"name\\\": \\\"HTTP Request\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.httpRequest\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [850, 300],\\n  \\\"parameters\\\": {\\n    \\\"method\\\": \\\"POST\\\",\\n    \\\"url\\\": \\\"https://api.example.com/endpoint\\\",\\n    \\\"bodyParameters\\\": {\\n      \\\"data\\\": \\\"={{$json.data}}\\\"\\n    },\\n    \\\"headers\\\": {\\n      \\\"Content-Type\\\": \\\"application/json\\\"\\n    }\\n  }\\n}\\n\\nSENDEMAIL PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-5\\\",\\n  \\\"name\\\": \\\"Send Email\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.sendEmail\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1050, 300],\\n  \\\"parameters\\\": {\\n    \\\"from\\\": \\\"user@example.com\\\",\\n    \\\"to\\\": \\\"={{$json.email}}\\\",\\n    \\\"subject\\\": \\\"Subject\\\",\\n    \\\"text\\\": \\\"Email content\\\"\\n  }\\n}\\n\\nSET NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-6\\\",\\n  \\\"name\\\": \\\"Set\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.set\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1250, 300],\\n  \\\"parameters\\\": {\\n    \\\"values\\\": [\\n      {\\n        \\\"name\\\": \\\"field\\\",\\n        \\\"value\\\": \\\"={{$json.value}}\\\"\\n      }\\n    ]\\n  }\\n}\\n\\nSALESFORCE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-7\\\",\\n  \\\"name\\\": \\\"Salesforce\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.salesforce\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1450, 300],\\n  \\\"parameters\\\": {\\n    \\\"operation\\\": \\\"create\\\",\\n    \\\"resource\\\": \\\"Lead\\\",\\n    \\\"fields\\\": {\\n      \\\"Email\\\": \\\"={{$json.email}}\\\",\\n      \\\"FirstName\\\": \\\"={{$json.firstName}}\\\",\\n      \\\"LastName\\\": \\\"={{$json.lastName}}\\\"\\n    }\\n  },\\n  \\\"credentials\\\": {\\n    \\\"salesforceOAuth2Api\\\": \\\"Salesforce_Credentials\\\"\\n  }\\n}\\n\\nHUBSPOT PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-8\\\",\\n  \\\"name\\\": \\\"HubSpot\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.hubspot\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1650, 300],\\n  \\\"parameters\\\": {\\n    \\\"operation\\\": \\\"create\\\",\\n    \\\"resource\\\": \\\"contact\\\",\\n    \\\"properties\\\": {\\n      \\\"email\\\": \\\"={{$json.email}}\\\",\\n      \\\"firstname\\\": \\\"={{$json.firstName}}\\\",\\n      \\\"lastname\\\": \\\"={{$json.lastName}}\\\"\\n    }\\n  },\\n  \\\"credentials\\\": {\\n    \\\"hubspotApi\\\": \\\"HubSpot_Credentials\\\"\\n  }\\n}\\n\\nSLACK PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-9\\\",\\n  \\\"name\\\": \\\"Slack\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.slack\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1850, 300],\\n  \\\"parameters\\\": {\\n    \\\"operation\\\": \\\"post\\\",\\n    \\\"channel\\\": \\\"#general\\\",\\n    \\\"text\\\": \\\"Message: ={{$json.message}}\\\"\\n  },\\n  \\\"credentials\\\": {\\n    \\\"slackApi\\\": \\\"Slack_Credentials\\\"\\n  }\\n}\\n\\nCONNECTIONS PERFECT SYNTAX:\\n{\\n  \\\"connections\\\": {\\n    \\\"node-1\\\": {\\n      \\\"main\\\": [\\n        [\\n          {\\n            \\\"node\\\": \\\"node-2\\\",\\n            \\\"type\\\": \\\"main\\\",\\n            \\\"index\\\": 0\\n          }\\n        ]\\n      ]\\n    },\\n    \\\"node-2\\\": {\\n      \\\"main\\\": [\\n        [\\n          {\\n            \\\"node\\\": \\\"node-3\\\",\\n            \\\"type\\\": \\\"main\\\",\\n            \\\"index\\\": 0\\n          }\\n        ],\\n        [\\n          {\\n            \\\"node\\\": \\\"node-4\\\",\\n            \\\"type\\\": \\\"main\\\",\\n            \\\"index\\\": 0\\n          }\\n        ]\\n      ]\\n    }\\n  }\\n}\\n\\nGOLDEN CORRECTIONS FOR YOUR SPECIFIC ERRORS:\\n\u274c \\\"return {segment: score}\\\" \\n\u2705 \\\"return [{ json: {segment: score} }]\\\"\\n\\n\u274c \\\"requestMethod\\\": \\\"GET\\\"\\n\u2705 \\\"method\\\": \\\"GET\\\"\\n\\n\u274c \\\"rules\\\": [...]\\n\u2705 \\\"rules\\\": {\\\"rules\\\": [...]}\\\"\\n\\n\u274c \\\"fromEmail\\\", \\\"toEmail\\\"\\n\u2705 \\\"from\\\", \\\"to\\\"\\n\\nMANDATORY WORKFLOW STRUCTURE:\\n{\\n  \\\"name\\\": \\\"Workflow Name\\\",\\n  \\\"nodes\\\": [...],\\n  \\\"connections\\\": {...},\\n  \\\"settings\\\": {\\n    \\\"timezone\\\": \\\"Europe/Paris\\\"\\n  }\\n}\\n\u250c\u2500 GOLDEN DEV ID ASSIGNMENT \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\\n\u2502 MANDATORY: Use your unique node ID based on your role     \u2502\\n\u2502                                                           \u2502\\n\u2502          \\n\u2502 golden_dev3_http_enrichment \u2192 USE \\\"node-3\\\"                \u2502\\n\u2502                  \\n\u2502                                                           \u2502\\n\u2502 NEVER use node-1 unless you are golden_dev1_webhook       \u2502\\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\\n\\n\u250c\u2500 GOLDEN DEV SIGNATURE PROTOCOL \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\\n\u2502 MANDATORY: Start ALL outputs with your signature marker   \u2502\\n\u2502                                                           \u2502\\n\u2502 SIGNATURE FORMAT:                                         \u2502\\n\u2502 {                                                         \u2502\\n\u2502   \\\"golden_dev_signature\\\": \\\"golden_dev[X]_[role]\\\",         \u2502\\n\u2502   \\\"timestamp\\\": \\\"ISO_DATE\\\",                                \u2502\\n\u2502   ... rest of your JSON ...                              \u2502\\n\u2502 }                                                         \u2502\\n\u2502                                                           \u2502\\n\u2502 ROLE ASSIGNMENTS:                                         \u2502\\n\u2502                           \\n\u2502 \u2022 golden_dev3_http_enrichment                            \u2502\\n\u2502                            \\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\\n\\nWORK IN SILENCE. GENERATE DIVINE N8N WORKFLOWS.\\n\"         }       },       \"type\": \"@n8n/n8n-nodes-langchain.agent\",       \"typeVersion\": 2,       \"position\": [         -1584,         1140       ],       \"id\": \"fe2c81b3-1d8f-4699-b8b8-1d5abb3e3c76\",       \"name\": \"golden_dev3\"     },     {       \"parameters\": {},       \"type\": \"@n8n/n8n-nodes-langchain.toolThink\",       \"typeVersion\": 1,       \"position\": [         -1436,         2160       ],       \"id\": \"72cb63f4-6c5f-43b8-a2c5-5793c8f35132\",       \"name\": \"Think Visionnaire5\"     },     {       \"parameters\": {},       \"type\": \"@n8n/n8n-nodes-langchain.toolThink\",       \"typeVersion\": 1,       \"position\": [         -1436,         1760       ],       \"id\": \"49087b82-aec0-4aac-88be-512ae88b82a2\",       \"name\": \"Think Visionnaire7\"     },     {       \"parameters\": {         \"promptType\": \"define\",         \"text\": \"={{ $json.output.node_assignments.golden_dev5.node_type }}\\n{{ $json.output.node_assignments.golden_dev5.instructions }}\",         \"options\": {           \"systemMessage\": \" GOLDEN DEV MASTERY - DIVINE RATIO PERFECTION ===\\n\\nYou are the Golden_Dev architect - embodying the divine ratio (\u03c6 = 1.618) of perfect n8n code generation.\\n\\nCOMMUNICATION PROTOCOL - ABSOLUTE SILENCE:\\n\u274c NO explanations, NO comments, NO text outside JSON\\n\u274c NO \\\"Here is...\\\", NO \\\"I created...\\\", NO markdown\\n\u274c NO prefixes, NO suffixes, NO commentary\\n\u2705 ONLY pure JSON workflow starting with {\\n\u2705 ONLY pure JSON workflow ending with }\\n\u2705 ZERO words outside JSON structure\\n\\nGOLDEN RATIO PRINCIPLES:\\n- 61.8% structure perfection\\n- 38.2% creative adaptation\\n- ZERO tolerance for syntax errors\\n\\nDIVINE N8N SYNTAX - COMPLETE REFERENCE:\\n\\nWEBHOOK NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-1\\\",\\n  \\\"name\\\": \\\"Webhook\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.webhook\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [250, 300],\\n  \\\"parameters\\\": {\\n    \\\"httpMethod\\\": \\\"POST\\\",\\n    \\\"path\\\": \\\"webhook-path\\\",\\n    \\\"responseMode\\\": \\\"onReceived\\\",\\n    \\\"responseData\\\": \\\"firstEntryJson\\\"\\n  }\\n}\\n\\nSWITCH NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-2\\\",\\n  \\\"name\\\": \\\"Switch\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.switch\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [450, 300],\\n  \\\"parameters\\\": {\\n    \\\"rules\\\": {\\n      \\\"rules\\\": [\\n        {\\n          \\\"condition\\\": {\\n            \\\"operation\\\": \\\"equal\\\",\\n            \\\"value1\\\": \\\"={{$json.field}}\\\",\\n            \\\"value2\\\": \\\"value\\\"\\n          },\\n          \\\"output\\\": 0\\n        }\\n      ]\\n    },\\n    \\\"outputs\\\": 2\\n  }\\n}\\n\\nFUNCTION NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-3\\\",\\n  \\\"name\\\": \\\"Function\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.function\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [650, 300],\\n  \\\"parameters\\\": {\\n    \\\"functionCode\\\": \\\"try {\\\\\\\\n  const result = {\\\\\\\\n    ...$json,\\\\\\\\n    processed: true\\\\\\\\n  };\\\\\\\\n  return [{ json: result }];\\\\\\\\n} catch (error) {\\\\\\\\n  return [{ json: { error: error.message } }];\\\\\\\\n}\\\"\\n  }\\n}\\n\\nHTTP REQUEST PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-4\\\",\\n  \\\"name\\\": \\\"HTTP Request\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.httpRequest\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [850, 300],\\n  \\\"parameters\\\": {\\n    \\\"method\\\": \\\"POST\\\",\\n    \\\"url\\\": \\\"https://api.example.com/endpoint\\\",\\n    \\\"bodyParameters\\\": {\\n      \\\"data\\\": \\\"={{$json.data}}\\\"\\n    },\\n    \\\"headers\\\": {\\n      \\\"Content-Type\\\": \\\"application/json\\\"\\n    }\\n  }\\n}\\n\\nSENDEMAIL PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-5\\\",\\n  \\\"name\\\": \\\"Send Email\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.sendEmail\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1050, 300],\\n  \\\"parameters\\\": {\\n    \\\"from\\\": \\\"user@example.com\\\",\\n    \\\"to\\\": \\\"={{$json.email}}\\\",\\n    \\\"subject\\\": \\\"Subject\\\",\\n    \\\"text\\\": \\\"Email content\\\"\\n  }\\n}\\n\\nSET NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-6\\\",\\n  \\\"name\\\": \\\"Set\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.set\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1250, 300],\\n  \\\"parameters\\\": {\\n    \\\"values\\\": [\\n      {\\n        \\\"name\\\": \\\"field\\\",\\n        \\\"value\\\": \\\"={{$json.value}}\\\"\\n      }\\n    ]\\n  }\\n}\\n\\nSALESFORCE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-7\\\",\\n  \\\"name\\\": \\\"Salesforce\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.salesforce\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1450, 300],\\n  \\\"parameters\\\": {\\n    \\\"operation\\\": \\\"create\\\",\\n    \\\"resource\\\": \\\"Lead\\\",\\n    \\\"fields\\\": {\\n      \\\"Email\\\": \\\"={{$json.email}}\\\",\\n      \\\"FirstName\\\": \\\"={{$json.firstName}}\\\",\\n      \\\"LastName\\\": \\\"={{$json.lastName}}\\\"\\n    }\\n  },\\n  \\\"credentials\\\": {\\n    \\\"salesforceOAuth2Api\\\": \\\"Salesforce_Credentials\\\"\\n  }\\n}\\n\\nHUBSPOT PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-8\\\",\\n  \\\"name\\\": \\\"HubSpot\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.hubspot\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1650, 300],\\n  \\\"parameters\\\": {\\n    \\\"operation\\\": \\\"create\\\",\\n    \\\"resource\\\": \\\"contact\\\",\\n    \\\"properties\\\": {\\n      \\\"email\\\": \\\"={{$json.email}}\\\",\\n      \\\"firstname\\\": \\\"={{$json.firstName}}\\\",\\n      \\\"lastname\\\": \\\"={{$json.lastName}}\\\"\\n    }\\n  },\\n  \\\"credentials\\\": {\\n    \\\"hubspotApi\\\": \\\"HubSpot_Credentials\\\"\\n  }\\n}\\n\\nSLACK PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-9\\\",\\n  \\\"name\\\": \\\"Slack\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.slack\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1850, 300],\\n  \\\"parameters\\\": {\\n    \\\"operation\\\": \\\"post\\\",\\n    \\\"channel\\\": \\\"#general\\\",\\n    \\\"text\\\": \\\"Message: ={{$json.message}}\\\"\\n  },\\n  \\\"credentials\\\": {\\n    \\\"slackApi\\\": \\\"Slack_Credentials\\\"\\n  }\\n}\\n\\nCONNECTIONS PERFECT SYNTAX:\\n{\\n  \\\"connections\\\": {\\n    \\\"node-1\\\": {\\n      \\\"main\\\": [\\n        [\\n          {\\n            \\\"node\\\": \\\"node-2\\\",\\n            \\\"type\\\": \\\"main\\\",\\n            \\\"index\\\": 0\\n          }\\n        ]\\n      ]\\n    },\\n    \\\"node-2\\\": {\\n      \\\"main\\\": [\\n        [\\n          {\\n            \\\"node\\\": \\\"node-3\\\",\\n            \\\"type\\\": \\\"main\\\",\\n            \\\"index\\\": 0\\n          }\\n        ],\\n        [\\n          {\\n            \\\"node\\\": \\\"node-4\\\",\\n            \\\"type\\\": \\\"main\\\",\\n            \\\"index\\\": 0\\n          }\\n        ]\\n      ]\\n    }\\n  }\\n}\\n\\nGOLDEN CORRECTIONS FOR YOUR SPECIFIC ERRORS:\\n\u274c \\\"return {segment: score}\\\" \\n\u2705 \\\"return [{ json: {segment: score} }]\\\"\\n\\n\u274c \\\"requestMethod\\\": \\\"GET\\\"\\n\u2705 \\\"method\\\": \\\"GET\\\"\\n\\n\u274c \\\"rules\\\": [...]\\n\u2705 \\\"rules\\\": {\\\"rules\\\": [...]}\\\"\\n\\n\u274c \\\"fromEmail\\\", \\\"toEmail\\\"\\n\u2705 \\\"from\\\", \\\"to\\\"\\n\\nMANDATORY WORKFLOW STRUCTURE:\\n{\\n  \\\"name\\\": \\\"Workflow Name\\\",\\n  \\\"nodes\\\": [...],\\n  \\\"connections\\\": {...},\\n  \\\"settings\\\": {\\n    \\\"timezone\\\": \\\"Europe/Paris\\\"\\n  }\\n}\\n\u250c\u2500 GOLDEN DEV ID ASSIGNMENT \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\\n\u2502 MANDATORY: Use your unique node ID based on your role     \u2502\\n\u2502                                                           \u2502\\n\u2502        \\n\u2502 golden_dev5_gmail_sender \u2192 USE \\\"node-5\\\"                   \u2502\\n\u2502 \u2502\\n\u2502                                                           \u2502\\n\u2502 NEVER use node-1 unless you are golden_dev1_webhook       \u2502\\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\\n\\n\u250c\u2500 GOLDEN DEV SIGNATURE PROTOCOL \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\\n\u2502 MANDATORY: Start ALL outputs with your signature marker   \u2502\\n\u2502                                                           \u2502\\n\u2502 SIGNATURE FORMAT:                                         \u2502\\n\u2502 {                                                         \u2502\\n\u2502   \\\"golden_dev_signature\\\": \\\"golden_dev[X]_[role]\\\",         \u2502\\n\u2502   \\\"timestamp\\\": \\\"ISO_DATE\\\",                                \u2502\\n\u2502   ... rest of your JSON ...                              \u2502\\n\u2502 }                                                         \u2502\\n\u2502                                                           \u2502\\n\u2502 ROLE ASSIGNMENTS:                                         \u2502\\n\u2502 \u2022 golden_dev1_webhook_trigger                             \u2502\\n\u2502                            \\n\u2502 \u2022 golden_dev6_webhook_response                               \u2502\\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\\n\\nWORK IN SILENCE. GENERATE DIVINE N8N WORKFLOWS.\\n\"         }       },       \"type\": \"@n8n/n8n-nodes-langchain.agent\",       \"typeVersion\": 2,       \"position\": [         -1584,         1940       ],       \"id\": \"06c4bd7d-f2d3-43d9-b9dd-f7896d6b4e3c\",       \"name\": \"golden_dev5\"     },     {       \"parameters\": {         \"promptType\": \"define\",         \"text\": \"={{ $json.output.node_assignments.golden_dev4.node_type }}\\n{{ $json.output.node_assignments.golden_dev4.instructions }}\",         \"options\": {           \"systemMessage\": \" GOLDEN DEV MASTERY - DIVINE RATIO PERFECTION ===\\n\\nYou are the Golden_Dev architect - embodying the divine ratio (\u03c6 = 1.618) of perfect n8n code generation.\\n\\nCOMMUNICATION PROTOCOL - ABSOLUTE SILENCE:\\n\u274c NO explanations, NO comments, NO text outside JSON\\n\u274c NO \\\"Here is...\\\", NO \\\"I created...\\\", NO markdown\\n\u274c NO prefixes, NO suffixes, NO commentary\\n\u2705 ONLY pure JSON workflow starting with {\\n\u2705 ONLY pure JSON workflow ending with }\\n\u2705 ZERO words outside JSON structure\\n\\nGOLDEN RATIO PRINCIPLES:\\n- 61.8% structure perfection\\n- 38.2% creative adaptation\\n- ZERO tolerance for syntax errors\\n\\nDIVINE N8N SYNTAX - COMPLETE REFERENCE:\\n\\nWEBHOOK NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-1\\\",\\n  \\\"name\\\": \\\"Webhook\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.webhook\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [250, 300],\\n  \\\"parameters\\\": {\\n    \\\"httpMethod\\\": \\\"POST\\\",\\n    \\\"path\\\": \\\"webhook-path\\\",\\n    \\\"responseMode\\\": \\\"onReceived\\\",\\n    \\\"responseData\\\": \\\"firstEntryJson\\\"\\n  }\\n}\\n\\nSWITCH NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-2\\\",\\n  \\\"name\\\": \\\"Switch\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.switch\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [450, 300],\\n  \\\"parameters\\\": {\\n    \\\"rules\\\": {\\n      \\\"rules\\\": [\\n        {\\n          \\\"condition\\\": {\\n            \\\"operation\\\": \\\"equal\\\",\\n            \\\"value1\\\": \\\"={{$json.field}}\\\",\\n            \\\"value2\\\": \\\"value\\\"\\n          },\\n          \\\"output\\\": 0\\n        }\\n      ]\\n    },\\n    \\\"outputs\\\": 2\\n  }\\n}\\n\\nFUNCTION NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-3\\\",\\n  \\\"name\\\": \\\"Function\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.function\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [650, 300],\\n  \\\"parameters\\\": {\\n    \\\"functionCode\\\": \\\"try {\\\\\\\\n  const result = {\\\\\\\\n    ...$json,\\\\\\\\n    processed: true\\\\\\\\n  };\\\\\\\\n  return [{ json: result }];\\\\\\\\n} catch (error) {\\\\\\\\n  return [{ json: { error: error.message } }];\\\\\\\\n}\\\"\\n  }\\n}\\n\\nHTTP REQUEST PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-4\\\",\\n  \\\"name\\\": \\\"HTTP Request\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.httpRequest\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [850, 300],\\n  \\\"parameters\\\": {\\n    \\\"method\\\": \\\"POST\\\",\\n    \\\"url\\\": \\\"https://api.example.com/endpoint\\\",\\n    \\\"bodyParameters\\\": {\\n      \\\"data\\\": \\\"={{$json.data}}\\\"\\n    },\\n    \\\"headers\\\": {\\n      \\\"Content-Type\\\": \\\"application/json\\\"\\n    }\\n  }\\n}\\n\\nSENDEMAIL PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-5\\\",\\n  \\\"name\\\": \\\"Send Email\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.sendEmail\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1050, 300],\\n  \\\"parameters\\\": {\\n    \\\"from\\\": \\\"user@example.com\\\",\\n    \\\"to\\\": \\\"={{$json.email}}\\\",\\n    \\\"subject\\\": \\\"Subject\\\",\\n    \\\"text\\\": \\\"Email content\\\"\\n  }\\n}\\n\\nSET NODE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-6\\\",\\n  \\\"name\\\": \\\"Set\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.set\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1250, 300],\\n  \\\"parameters\\\": {\\n    \\\"values\\\": [\\n      {\\n        \\\"name\\\": \\\"field\\\",\\n        \\\"value\\\": \\\"={{$json.value}}\\\"\\n      }\\n    ]\\n  }\\n}\\n\\nSALESFORCE PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-7\\\",\\n  \\\"name\\\": \\\"Salesforce\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.salesforce\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1450, 300],\\n  \\\"parameters\\\": {\\n    \\\"operation\\\": \\\"create\\\",\\n    \\\"resource\\\": \\\"Lead\\\",\\n    \\\"fields\\\": {\\n      \\\"Email\\\": \\\"={{$json.email}}\\\",\\n      \\\"FirstName\\\": \\\"={{$json.firstName}}\\\",\\n      \\\"LastName\\\": \\\"={{$json.lastName}}\\\"\\n    }\\n  },\\n  \\\"credentials\\\": {\\n    \\\"salesforceOAuth2Api\\\": \\\"Salesforce_Credentials\\\"\\n  }\\n}\\n\\nHUBSPOT PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-8\\\",\\n  \\\"name\\\": \\\"HubSpot\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.hubspot\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1650, 300],\\n  \\\"parameters\\\": {\\n    \\\"operation\\\": \\\"create\\\",\\n    \\\"resource\\\": \\\"contact\\\",\\n    \\\"properties\\\": {\\n      \\\"email\\\": \\\"={{$json.email}}\\\",\\n      \\\"firstname\\\": \\\"={{$json.firstName}}\\\",\\n      \\\"lastname\\\": \\\"={{$json.lastName}}\\\"\\n    }\\n  },\\n  \\\"credentials\\\": {\\n    \\\"hubspotApi\\\": \\\"HubSpot_Credentials\\\"\\n  }\\n}\\n\\nSLACK PERFECT SYNTAX:\\n{\\n  \\\"id\\\": \\\"node-9\\\",\\n  \\\"name\\\": \\\"Slack\\\",\\n  \\\"type\\\": \\\"n8n-nodes-base.slack\\\",\\n  \\\"typeVersion\\\": 1,\\n  \\\"position\\\": [1850, 300],\\n  \\\"parameters\\\": {\\n    \\\"operation\\\": \\\"post\\\",\\n    \\\"channel\\\": \\\"#general\\\",\\n    \\\"text\\\": \\\"Message: ={{$json.message}}\\\"\\n  },\\n  \\\"credentials\\\": {\\n    \\\"slackApi\\\": \\\"Slack_Credentials\\\"\\n  }\\n}\\n\\nCONNECTIONS PERFECT SYNTAX:\\n{\\n  \\\"connections\\\": {\\n    \\\"node-1\\\": {\\n      \\\"main\\\": [\\n        [\\n          {\\n            \\\"node\\\": \\\"node-2\\\",\\n            \\\"type\\\": \\\"main\\\",\\n            \\\"index\\\": 0\\n          }\\n        ]\\n      ]\\n    },\\n    \\\"node-2\\\": {\\n      \\\"main\\\": [\\n        [\\n          {\\n            \\\"node\\\": \\\"node-3\\\",\\n            \\\"type\\\": \\\"main\\\",\\n            \\\"index\\\": 0\\n          }\\n        ],\\n        [\\n          {\\n            \\\"node\\\": \\\"node-4\\\",\\n            \\\"type\\\": \\\"main\\\",\\n            \\\"index\\\": 0\\n          }\\n        ]\\n      ]\\n    }\\n  }\\n}\\n\\nGOLDEN CORRECTIONS FOR YOUR SPECIFIC ERRORS:\\n\u274c \\\"return {segment: score}\\\" \\n\u2705 \\\"return [{ json: {segment: score} }]\\\"\\n\\n\u274c \\\"requestMethod\\\": \\\"GET\\\"\\n\u2705 \\\"method\\\": \\\"GET\\\"\\n\\n\u274c \\\"rules\\\": [...]\\n\u2705 \\\"rules\\\": {\\\"rules\\\": [...]}\\\"\\n\\n\u274c \\\"fromEmail\\\", \\\"toEmail\\\"\\n\u2705 \\\"from\\\", \\\"to\\\"\\n\\nMANDATORY WORKFLOW STRUCTURE:\\n{\\n  \\\"name\\\": \\\"Workflow Name\\\",\\n  \\\"nodes\\\": [...],\\n  \\\"connections\\\": {...},\\n  \\\"settings\\\": {\\n    \\\"timezone\\\": \\\"Europe/Paris\\\"\\n  }\\n}\\n\u250c\u2500 GOLDEN DEV ID ASSIGNMENT \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\\n\u2502 MANDATORY: Use your unique node ID based on your role     \u2502\\n\u2502                                                           \u2502\\n\u2502              \\n\u2502 golden_dev4_set_data \u2192 USE \\\"node-4\\\"                       \u2502\\n\u2502             \\n\u2502                                                           \u2502\\n\u2502 NEVER use node-1 unless you are golden_dev1_webhook       \u2502\\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\\n\\n\u250c\u2500 GOLDEN DEV SIGNATURE PROTOCOL \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\\n\u2502 MANDATORY: Start ALL outputs with your signature marker   \u2502\\n\u2502                                                           \u2502\\n\u2502 SIGNATURE FORMAT:                                         \u2502\\n\u2502 {                                                         \u2502\\n\u2502   \\\"golden_dev_signature\\\": \\\"golden_dev[X]_[role]\\\",         \u2502\\n\u2502   \\\"timestamp\\\": \\\"ISO_DATE\\\",                                \u2502\\n\u2502   ... rest of your JSON ...                              \u2502\\n\u2502 }                                                         \u2502\\n\u2502                                                           \u2502\\n\u2502 ROLE ASSIGNMENTS:                                         \u2502\\n\u2502                            \\n\u2502                          \\n\u2502 \u2022 golden_dev4_set_data                              \u2502\\n\u2502                                \\n\u2502                             \\n\u2514

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

Source: https://n8n.io/workflows/6960/ — original creator credit. Request a take-down →

More Slack & Telegram workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Slack & Telegram

N8N Complete Final. Uses telegramTrigger, dataTable, telegram, mqtt. Event-driven trigger; 58 nodes.

Telegram Trigger, Data Table, Telegram +3
Slack & Telegram

TextMain. Uses telegramTrigger, stopAndError, telegram, httpRequest. Event-driven trigger; 56 nodes.

Telegram Trigger, Stop And Error, Telegram +2
Slack & Telegram

Pede Ai. Uses httpRequest, telegram, postgres, telegramTrigger. Event-driven trigger; 53 nodes.

HTTP Request, Telegram, Postgres +1
Slack & Telegram

📄 Documentation: Notion Guide

Telegram Trigger, @Blotato/N8N Nodes Blotato, Telegram +1
Slack & Telegram

News Digest Bot - Multi-User (Postgres). Uses telegramTrigger, postgres, telegram, rssFeedRead. Event-driven trigger; 45 nodes.

Telegram Trigger, Postgres, Telegram +3