PromptCraft AI

中級

これはDesign, AI分野の自動化ワークフローで、12個のノードを含みます。主にTelegram, GoogleDrive, HttpRequest, GoogleSheets, Agentなどのノードを使用、AI技術を活用したスマート自動化を実現。 Telegramを使用したDALL-EとGPTによる高度なAI画像生成

前提条件
  • Telegram Bot Token
  • Google Drive API認証情報
  • ターゲットAPIの認証情報が必要な場合あり
  • Google Sheets API認証情報
  • OpenAI API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "EYffbq7nZzy74ND8",
  "meta": {
    "instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc",
    "templateCredsSetupCompleted": true
  },
  "name": "PromptCraft AI",
  "tags": [],
  "nodes": [
    {
      "id": "d9cee081-13cd-4ed4-843c-84e3e4e6c3d5",
      "name": "画像プロンプト",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -720,
        -240
      ],
      "parameters": {
        "text": "={{ $json.message.text }}",
        "options": {
          "systemMessage": "=Overview\nYou are an expert image prompt engineer. "
        },
        "promptType": "define"
      },
      "typeVersion": 1.9
    },
    {
      "id": "9d2a73d3-fc71-47e4-94c5-1c79dd6b3a30",
      "name": "Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -240,
        140
      ],
      "parameters": {
        "name": "=ai image",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "root",
          "cachedResultUrl": "https://drive.google.com/drive",
          "cachedResultName": "/ (Root folder)"
        }
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "IPz4dCJVFC8uaoHw",
          "name": "Google Drive account 2"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "a4ac1967-64d1-455c-abef-bc3804d0cad4",
      "name": "画像ログ",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        20,
        140
      ],
      "parameters": {
        "columns": {
          "value": {
            "Title": "={{ $json.name }}",
            "Heygen video url": "={{ $json.webViewLink }}"
          },
          "schema": [
            {
              "id": "Heygen video url",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "Heygen video url",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Title",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "Title",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "video  caption",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "video  caption",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1JqOTd49heNBdmrf5hSwxI66X724tspAmSjzWoA6-EU0/edit#gid=0",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1oA-qdMkm1dUh0TpPAQ3KVeijGmDs0PsfSPpZ9bXvP6A",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1oA-qdMkm1dUh0TpPAQ3KVeijGmDs0PsfSPpZ9bXvP6A/edit?usp=drivesdk",
          "cachedResultName": "Avatar video"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "vL25dYTf9oT1CSvl",
          "name": "Google Sheets account 2"
        }
      },
      "typeVersion": 4.5
    },
    {
      "id": "67ae3f89-2d7d-47c3-a55d-251a47a08072",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -820,
        60
      ],
      "parameters": {
        "color": 6,
        "height": 180,
        "content": "## Model"
      },
      "typeVersion": 1
    },
    {
      "id": "230b29c6-ae1b-4cd0-9a35-dce2a0b15c05",
      "name": "付箋7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -280,
        -380
      ],
      "parameters": {
        "color": 6,
        "width": 540,
        "height": 420,
        "content": "# Send Image"
      },
      "typeVersion": 1
    },
    {
      "id": "b9bcd205-679b-4cb0-a6a5-cf2bd8b58887",
      "name": "付箋6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -280,
        40
      ],
      "parameters": {
        "color": 2,
        "width": 540,
        "height": 240,
        "content": "# Write to Drive & Sheets"
      },
      "typeVersion": 1
    },
    {
      "id": "fd75b2ba-57f8-4ce3-8d39-915a96f7cef8",
      "name": "写真送信",
      "type": "n8n-nodes-base.telegram",
      "position": [
        160,
        -240
      ],
      "webhookId": "8fcbda9c-8396-41f7-8f2d-39e4ae4337c7",
      "parameters": {
        "chatId": "={{ $('Telegram Trigger').item.json.message.from.id }}",
        "operation": "sendPhoto",
        "binaryData": true,
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "W7s4K928CwuY1sKA",
          "name": "Telegram account 2"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "91e34b1e-4d15-482f-bb07-86c81c32b478",
      "name": "Telegram トリガー",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -920,
        -240
      ],
      "webhookId": "a9997053-40e2-4d1d-9abc-f2e5b6582096",
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "W7s4K928CwuY1sKA",
          "name": "Telegram account 2"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "14caf60f-2813-4e39-8960-0dc85adce28d",
      "name": "画像作成",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -420,
        -240
      ],
      "parameters": {
        "url": "https://api.openai.com/v1/images/generations",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "sendHeaders": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "prompt",
              "value": "={{ $json.output }}"
            },
            {
              "name": "size",
              "value": "1024x1024"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer <token>"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "f63c6038-a6dd-41c6-9db1-c42e6f21636a",
      "name": "OpenAI チャットモデル",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -720,
        100
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "AAQM78g30SkuHYxB",
          "name": "OpenAi success"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "2959d03f-5f3f-4009-b09e-6700fc1ef3d9",
      "name": "HTTP リクエスト",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -200,
        -240
      ],
      "parameters": {
        "url": "={{ $json.data[0].url }}",
        "options": {}
      },
      "typeVersion": 4.2
    },
    {
      "id": "9573f5b8-9c0b-423a-81f9-7c0689c40c72",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        -360
      ],
      "parameters": {
        "content": "## Loom Link Demo\n**https://www.loom.com/share/9d4743b32c204b189a237d8b9446f45d?sid=af5f3a1d-fb78-4bba-ac01-f4f29ac7f14a**"
      },
      "typeVersion": 1
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "c6f12f08-d7e1-42a4-8be8-73f1c6cbc2b2",
  "connections": {
    "14caf60f-2813-4e39-8960-0dc85adce28d": {
      "main": [
        [
          {
            "node": "2959d03f-5f3f-4009-b09e-6700fc1ef3d9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9d2a73d3-fc71-47e4-94c5-1c79dd6b3a30": {
      "main": [
        [
          {
            "node": "a4ac1967-64d1-455c-abef-bc3804d0cad4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2959d03f-5f3f-4009-b09e-6700fc1ef3d9": {
      "main": [
        [
          {
            "node": "9d2a73d3-fc71-47e4-94c5-1c79dd6b3a30",
            "type": "main",
            "index": 0
          },
          {
            "node": "fd75b2ba-57f8-4ce3-8d39-915a96f7cef8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d9cee081-13cd-4ed4-843c-84e3e4e6c3d5": {
      "main": [
        [
          {
            "node": "14caf60f-2813-4e39-8960-0dc85adce28d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "91e34b1e-4d15-482f-bb07-86c81c32b478": {
      "main": [
        [
          {
            "node": "d9cee081-13cd-4ed4-843c-84e3e4e6c3d5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f63c6038-a6dd-41c6-9db1-c42e6f21636a": {
      "ai_languageModel": [
        [
          {
            "node": "d9cee081-13cd-4ed4-843c-84e3e4e6c3d5",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

中級 - デザイン, 人工知能

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
中級
ノード数12
カテゴリー2
ノードタイプ8
難易度説明

経験者向け、6-15ノードの中程度の複雑さのワークフロー

作成者
David Olusola

David Olusola

@dae221

I love building smart, efficient automations with n8n that help businesses save time and scale effortlessly. Turning complex workflows into simple solutions is where I have the most fun

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34