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 →
{
"createdAt": "2025-02-18T01:33:03.994Z",
"updatedAt": "2025-02-18T01:57:32.000Z",
"id": "0SpR5xOwlW9hOzIq",
"name": "GPTs",
"active": false,
"nodes": [
{
"parameters": {
"resource": "chat",
"chatModel": "gpt-4o-mini",
"prompt": {
"messages": [
{
"role": "system",
"content": "\ub2f9\uc2e0\uc740 \ucf58\ud150\uce20\uc5d0 \ud765\ubbf8\ub85c\uc6b4 \ubd80\ubd84\uc744 \ucc3e\ub294 AI Assistant \uc785\ub2c8\ub2e4. \ub2f5\ubcc0\uc740 \uc720\uc775\ud558\uace0 \ub17c\ub9ac\uc801\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4. \ub2e4\uc74c \ucf58\ud150\uce20\ub97c \uc8fc\uc758 \uae4a\uac8c \uc77d\uace0, \uadf8 \uc911 \uac00\uc7a5 \ud765\ubbf8\ub86d\uace0 \uc911\uc694\ud55c \ubd80\ubd84 \ud558\ub098\ub97c \ucc3e\uc544\uc8fc\uc138\uc694."
},
{
"content": "=\uc9c0\uce68\uc5d0 \ub530\ub77c \ucf58\ud150\uce20\uc5d0 \ud765\ubbf8\ub85c\uc6b4 \ubd80\ubd84\uc744 \ucc3e\uc544\uc8fc\uc138\uc694. \ucf58\ud150\uce20\"\"\"{{ $json.data.post.fields[0].value }}{{ $json.data.post.fields[1].value }}\"\"\""
}
]
},
"options": {},
"requestOptions": {}
},
"name": "Find Interesting Part",
"type": "n8n-nodes-base.openAi",
"position": [
-260,
-40
],
"id": "e1717712-1bb7-438b-bc6c-3dd153915463",
"typeVersion": 1.1,
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"resource": "chat",
"chatModel": "gpt-4o",
"prompt": {
"messages": [
{
"role": "system",
"content": "=\ub2f9\uc2e0\uc740 AI \ucf58\ud150\uce20 \uc5b4\uc2dc\uc2a4\ud134\ud2b8\uc785\ub2c8\ub2e4. \ub2f5\ubcc0\uc740 \uc720\uc775\ud558\uace0 \ub17c\ub9ac\uc801\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4. \ub2e8\uacc4\ubcc4\ub85c \uc0dd\uac01\ud558\uace0, \uc544\ub798\uc758 \ucf58\ud150\uce20 \uae30\uc900\uc744 \ucc38\uace0\ud558\uc5ec \ucf58\ud150\uce20\ub97c \ub2e4\uc2dc \uc791\uc131\ud574 \uc8fc\uc138\uc694. \uae30\uc874 \ucf58\ud150\uce20\uc758 \ud615\uc2dd\uc744 \uc720\uc9c0\ud558\uc138\uc694. \ucf58\ud150\uce20 \uae30\uc900: - \uae00\uc740 \ub3c5\uc790\uac00 \uacf5\uac10\ud560 \uc218 \uc788\ub294 \uace0\ud1b5\uc2a4\ub7ec\uc6b4 \ubd80\ubd84\uc744 \uc81c\uc2dc\ud558\uba70 \uc2dc\uc791\ud574\uc57c \ud569\ub2c8\ub2e4. \uc774\ub294 \ub3c5\uc790\uc758 \uacf5\uac10\uc744 \ub192\uc774\uace0 \uae00\uc758 \ubab0\uc785\ub3c4\ub97c \ud5a5\uc0c1\uc2dc\ud0b5\ub2c8\ub2e4. - \uc0ac\ub78c\ub4e4\uc774 \ud574\uacb0\ud558\uace0\uc790 \ud558\ub294 \ubb38\uc81c\ub97c Job To Be Done \uad00\uc810\uc5d0\uc11c \uba85\ud655\ud558\uac8c \uc791\uc131\ud574\uc57c \ud569\ub2c8\ub2e4. - \ucd94\uc0c1\uc801\uc778 \ub2e8\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc9c0 \ub9c8\uc138\uc694. - \uc608\uc2dc\ub97c \ub4dc\ub294 \uac83\uc740 \uc774\ud574 \ubd80\uc871\uc73c\ub85c \uc778\ud55c \ucd94\uc0c1\ud654\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4. - \uc624\ud574\uc758 \uc18c\uc9c0\uac00 \uc788\ub294 \ubd80\ubd84\uc744 \uc81c\uac70\ud558\uace0, \ubaa8\ud638\ud55c \ud45c\ud604\uc744 \ud53c\ud558\uc138\uc694. - \ub3c5\uc790\uc5d0\uac8c \ud589\ub3d9\uc744 \uac15\uc694\ud558\uc9c0 \ub9c8\uc138\uc694. - \uae00\uc758 \uae38\uc774\ub97c \ucd5c\ub300\ud55c \uc904\uc774\uace0, \uc911\ubcf5\ub418\ub294 \ub0b4\uc6a9\uc744 \uc5c6\uc560\uc138\uc694. - \uc6a9\uc5b4\ub97c \uc77c\uad00\ub418\uac8c \uc0ac\uc6a9\ud558\uc138\uc694. - \uc0c8\ub85c\uc6b4 \uac1c\ub150\uc774\ub098 \ub0b4\uc6a9\uc740 \ub9e5\ub77d\uc5d0 \ub9de\uac8c \ub3c4\uc785\ud558\uc138\uc694. \ucf58\ud150\uce20 \uc6d0\ubb38\"\"\"{{ $('getPost').item.json.data.post.fields[0].value }}{{ $('getPost').item.json.data.post.fields[1].value }}\"\"\" \ud765\ubbf8\ub85c\uc6b4 \ubd80\ubd84\"\"\"{{ $json.message.content }}\"\"\""
},
{
"content": "=\uc9c0\uce68\uc5d0 \ub530\ub77c \ucf58\ud150\uce20\ub97c \ub2e4\uc2dc \uc791\uc131\ud574 \uc8fc\uc138\uc694 \ucf58\ud150\uce20\"\"\"{{ $('Webhook').item.json.content }}\"\"\""
}
]
},
"options": {
"temperature": 1
},
"requestOptions": {}
},
"name": "Generate Feedback",
"type": "n8n-nodes-base.openAi",
"position": [
-60,
-40
],
"id": "1053559d-bede-49db-aabf-512d92424386",
"typeVersion": 1.1,
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"path": "newsletter-feedback",
"options": {}
},
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
-860,
-40
],
"id": "eca0168a-1689-4956-aeb5-e5a6af0461da",
"typeVersion": 2
},
{
"parameters": {
"endpoint": "={{ $vars.bettermode_end_point}}",
"requestFormat": "json",
"query": "query GetPost($postId: ID!) {\n post(id: $postId) {\n id\n fields {\n key\n value\n }\n }\n}\n",
"variables": "={\n\"postId\" : {{ JSON.stringify($json.postId) }}\n}",
"headerParametersUi": {
"parameter": [
{
"name": "={{ $vars.bettermode_client_id_key }}",
"value": "={{ $vars.bettermode_client_id_value }}"
},
{
"name": "={{ $vars.bettermode_client_secret_key }}",
"value": "={{ $vars.bettermode_client_secret_value }}"
}
]
}
},
"id": "bc665d6c-8142-490c-8ef4-a2a23f2d0e8b",
"name": "getPost",
"type": "n8n-nodes-base.graphql",
"typeVersion": 1,
"position": [
-460,
-40
],
"notes": "\ub9cc\ub4e0 \ubc30\uc5f4\uc744 \uac00\uc9c0\uace0 \uac8c\uc2dc\ud310\uc5d0 \uba64\ubc84\ub4e4\uc744 \uc77c\uad04 \ucd08\ub300\ud55c\ub2e4."
},
{
"parameters": {
"jsCode": "// URL \ubb38\uc790\uc5f4\uc5d0\uc11c \ub9c8\uc9c0\ub9c9 \uc138\uadf8\uba3c\ud2b8\ub97c \ucd94\ucd9c\ud558\ub294 \ud568\uc218\nfunction getLastSegmentFromURL(urlString) {\n // URL\uc5d0\uc11c pathname \ubd80\ubd84 \ucd94\ucd9c (\uc815\uaddc\uc2dd \uc0ac\uc6a9)\n const pathMatch = urlString.match(/^(?:https?:\\/\\/[^\\/]+)?([^?#]+)/);\n const path = pathMatch ? pathMatch[1] : '';\n \n // path\ub97c '/'\ub85c \ubd84\ud560\n const segments = path.split('/').filter(segment => segment.length > 0);\n \n // \ub9e8 \ub9c8\uc9c0\ub9c9 \uc694\uc18c\ub97c \uc120\ud0dd\ud558\uace0, \uadf8\uac83\uc744 '-'\ub85c \ubd84\ud560\n const lastSegment = segments[segments.length - 1].split('-');\n \n // \ub9c8\uc9c0\ub9c9 \ubb38\uc790\uc5f4\uc744 \ubc18\ud658\n return lastSegment[lastSegment.length - 1];\n}\n\n// Webhook\uc5d0\uc11c \ubc1b\uc740 URL\ub85c \ud568\uc218 \uc2e4\ud589\nconst postId = getLastSegmentFromURL($input.first().json.url);\nreturn { postId };"
},
"id": "477182cc-cf4c-4d86-9d53-ed13dd71c1e6",
"name": "getPostId",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
-660,
-40
]
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={\n \"aiFeedback\": {{ JSON.stringify($json.message.content) }}\n} ",
"options": {}
},
"id": "26e400a5-2033-4f52-abc7-e7e2a6d11190",
"name": "Respond to Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.1,
"position": [
140,
-40
]
}
],
"connections": {
"Find Interesting Part": {
"main": [
[
{
"node": "Generate Feedback",
"type": "main",
"index": 0
}
]
]
},
"Generate Feedback": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
},
"Webhook": {
"main": [
[
{
"node": "getPostId",
"type": "main",
"index": 0
}
]
]
},
"getPost": {
"main": [
[
{
"node": "Find Interesting Part",
"type": "main",
"index": 0
}
]
]
},
"getPostId": {
"main": [
[
{
"node": "getPost",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"staticData": null,
"meta": {
"templateCredsSetupCompleted": true
},
"versionId": "16aa4c59-6d93-4d71-9a80-017ceeb3b2b7",
"triggerCount": 0,
"tags": []
}
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.
openAiApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
GPTs. Uses openAi, graphql. Webhook trigger; 6 nodes.
Source: https://github.com/leoskyearth/repository_n8n/blob/146446f72d7dfd5b1fee14a51f6f5dd7dba533c3/workflows/0SpR5xOwlW9hOzIq.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This workflow captures new leads via webhook, enriches and scores them with Apollo and Google Gemini, logs everything in Google Sheets, and automates outreach, reply handling, follow-ups, meeting prep
This powerful n8n automation workflow is designed to execute advanced B2B lead enrichment and hyper-personalization for cold email outreach. By orchestrating a complex chain of data scraping, AI analy
Propulsar — Content Engine v3. Uses openAi, httpRequest, googleSheets. Webhook trigger; 73 nodes.
Eu Clara – Funil Kiwify Completo. Uses postgres, openAi, httpRequest, gmail. Webhook trigger; 70 nodes.
Postagem Redes — Portal: Ações. Uses openAi, googleGemini, ollama, httpRequest. Webhook trigger; 58 nodes.