X - スレッド内での返信

中級

これはAI, Marketing分野の自動化ワークフローで、11個のノードを含みます。主にSet, Wait, Airtop, FormTrigger, ExecuteWorkflowTriggerなどのノードを使用、AI技術を活用したスマート自動化を実現。 Airtop ブラウザ自動化を使用した X スレッド自動応答

前提条件
  • AIサービスAPIキー(OpenAI、Anthropicなど)
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "62A1O15JXFJXEhYH",
  "meta": {
    "instanceId": "28a947b92b197fc2524eaba16e57560338657b2b0b5796300b2f1cedc1d0d355",
    "templateCredsSetupCompleted": true
  },
  "name": "X - Response in thread",
  "tags": [],
  "nodes": [
    {
      "id": "87c5b743-acfe-4af6-8f35-2166a3e688cc",
      "name": "他ワークフロー実行時",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -260,
        -280
      ],
      "parameters": {
        "workflowInputs": {
          "values": [
            {
              "name": "airtop_profile"
            },
            {
              "name": "thread_url"
            },
            {
              "name": "reply_text"
            }
          ]
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "84aecc2b-8edc-4488-b26c-113f50e86f0d",
      "name": "セッション",
      "type": "n8n-nodes-base.airtop",
      "position": [
        180,
        -180
      ],
      "parameters": {
        "profileName": "={{ $('Parameters').item.json.airtop_profile }}"
      },
      "credentials": {
        "airtopApi": {
          "id": "Yi4YPNnovLVUjFn5",
          "name": "Airtop Official Org"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "9a5eb1d6-9a68-43ce-bd7c-a279ab6c12db",
      "name": "ウィンドウ",
      "type": "n8n-nodes-base.airtop",
      "position": [
        400,
        -280
      ],
      "parameters": {
        "url": "={{ $('Parameters').item.json.thread_url }}",
        "resource": "window",
        "sessionId": "={{ $('Session').item.json.sessionId }}",
        "getLiveView": true,
        "disableResize": true,
        "additionalFields": {
          "waitUntil": "complete"
        },
        "screenResolution": "1300x100"
      },
      "credentials": {
        "airtopApi": {
          "id": "Yi4YPNnovLVUjFn5",
          "name": "Airtop Official Org"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "1e6bada8-3db1-488f-bacd-e1e6727099ef",
      "name": "返信入力",
      "type": "n8n-nodes-base.airtop",
      "position": [
        840,
        -280
      ],
      "parameters": {
        "text": "={{ $('Parameters').item.json.reply_text }}",
        "resource": "interaction",
        "windowId": "={{ $('Window').item.json.data.windowId }}",
        "operation": "type",
        "sessionId": "={{ $('Session').item.json.sessionId }}",
        "additionalFields": {
          "visualScope": "scan"
        },
        "elementDescription": "The input field labeled \"Post your reply\" located directly next to the \"Reply\" button"
      },
      "credentials": {
        "airtopApi": {
          "id": "Yi4YPNnovLVUjFn5",
          "name": "Airtop Official Org"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "406eb773-9f71-4adc-89d1-47f7e4add4ee",
      "name": "8秒待機",
      "type": "n8n-nodes-base.wait",
      "position": [
        620,
        -280
      ],
      "webhookId": "03bcdb30-5811-4a9d-9e45-6ab8df7a06a1",
      "parameters": {
        "amount": 8
      },
      "typeVersion": 1.1
    },
    {
      "id": "136d7419-9445-481c-9d58-937eccdf8bc6",
      "name": "フォーム送信時",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -260,
        -80
      ],
      "webhookId": "959eabb9-4266-4f5c-94ea-38b56110a559",
      "parameters": {
        "options": {},
        "formTitle": "Reply to Thread",
        "formFields": {
          "values": [
            {
              "fieldLabel": "airtop_profile",
              "requiredField": true
            },
            {
              "fieldLabel": "thread_url",
              "requiredField": true
            },
            {
              "fieldLabel": "reply_text",
              "requiredField": true
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "dcdb51f4-2161-4bb6-b56b-4b901ccd7b37",
      "name": "パラメータ",
      "type": "n8n-nodes-base.set",
      "position": [
        -40,
        -180
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "3069dadb-7312-4a34-bfee-cbc921893b8c",
              "name": "airtop_profile",
              "type": "string",
              "value": "={{ $json.airtop_profile }}"
            },
            {
              "id": "22160dd8-ac64-4f95-b946-0d0095607ccd",
              "name": "thread_url",
              "type": "string",
              "value": "={{ $json.thread_url }}"
            },
            {
              "id": "7bced294-83ff-40c7-ab6a-89c5ed759643",
              "name": "reply_text",
              "type": "string",
              "value": "={{ $json.reply_text }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "80652bee-1a09-4402-8aaf-61a32b78a4e8",
      "name": "返信ボタンクリック",
      "type": "n8n-nodes-base.airtop",
      "position": [
        1280,
        -280
      ],
      "parameters": {
        "resource": "interaction",
        "windowId": "={{ $('Window').item.json.windowId }}",
        "sessionId": "={{ $('Session').item.json.sessionId }}",
        "additionalFields": {
          "visualScope": "page"
        },
        "elementDescription": "Gray rounded button \"Reply\" located directly below the main tweet"
      },
      "credentials": {
        "airtopApi": {
          "id": "Yi4YPNnovLVUjFn5",
          "name": "Airtop Official Org"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "b23a93df-c297-46b7-b926-21e35966c4ea",
      "name": "セッション終了",
      "type": "n8n-nodes-base.airtop",
      "position": [
        400,
        -80
      ],
      "parameters": {
        "operation": "terminate"
      },
      "credentials": {
        "airtopApi": {
          "id": "Yi4YPNnovLVUjFn5",
          "name": "Airtop Official Org"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "6696dd4b-a13c-4104-9dcb-5e56919e25db",
      "name": "アクション後スクリーンショット",
      "type": "n8n-nodes-base.airtop",
      "position": [
        1060,
        -280
      ],
      "parameters": {
        "resource": "window",
        "operation": "takeScreenshot"
      },
      "credentials": {
        "airtopApi": {
          "id": "Yi4YPNnovLVUjFn5",
          "name": "Airtop Official Org"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "2b6bac96-0f02-4e55-ac54-0cf78e211cd7",
      "name": "付箋メモ",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1000,
        -540
      ],
      "parameters": {
        "width": 660,
        "height": 800,
        "content": "README\n# Automating X Post Responses\n\n## Use Case\nAutomatically responding to X (formerly Twitter) posts can help you engage with potential customers at scale, saving time while maintaining a personal touch.\n\n## What This Automation Does\nThis automation replies to specified X posts using the following input parameters:\n\n- `airtop_profile`: The name of your [Airtop Profile](https://portal.airtop.ai/browser-profiles) connected to X.\n- `thread_url`: The URL of the X post to reply to. [Example](https://x.com/thepatwalls/status/1921932138401726866)\n- `reply_text`: The message you want to post as a reply.\n\n## How It Works\n1. Creates a browser session using Airtop.\n2. Navigates to the specified X post.\n3. Types and submits the reply text.\n\n## Setup Requirements\n1. [Airtop API Key](https://portal.airtop.ai/api-keys) — free to generate.\n2. An [Airtop Profile](https://portal.airtop.ai/browser-profiles) connected to X (requires one-time login).\n\n## Next Steps\n- **Combine with X Monitoring**: Use this with the X monitoring automation to create a fully automated engagement pipeline.\n- **Extend to Other Platforms**: Adapt the automation for use on LinkedIn, Reddit, or any web community.\n\n\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "00e92561-05c3-4ba2-a34f-8b042f71bfb1",
  "connections": {
    "9a5eb1d6-9a68-43ce-bd7c-a279ab6c12db": {
      "main": [
        [
          {
            "node": "406eb773-9f71-4adc-89d1-47f7e4add4ee",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "84aecc2b-8edc-4488-b26c-113f50e86f0d": {
      "main": [
        [
          {
            "node": "9a5eb1d6-9a68-43ce-bd7c-a279ab6c12db",
            "type": "main",
            "index": 0
          },
          {
            "node": "b23a93df-c297-46b7-b926-21e35966c4ea",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dcdb51f4-2161-4bb6-b56b-4b901ccd7b37": {
      "main": [
        [
          {
            "node": "84aecc2b-8edc-4488-b26c-113f50e86f0d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "406eb773-9f71-4adc-89d1-47f7e4add4ee": {
      "main": [
        [
          {
            "node": "1e6bada8-3db1-488f-bacd-e1e6727099ef",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1e6bada8-3db1-488f-bacd-e1e6727099ef": {
      "main": [
        [
          {
            "node": "6696dd4b-a13c-4104-9dcb-5e56919e25db",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "80652bee-1a09-4402-8aaf-61a32b78a4e8": {
      "main": [
        []
      ]
    },
    "136d7419-9445-481c-9d58-937eccdf8bc6": {
      "main": [
        [
          {
            "node": "dcdb51f4-2161-4bb6-b56b-4b901ccd7b37",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6696dd4b-a13c-4104-9dcb-5e56919e25db": {
      "main": [
        [
          {
            "node": "80652bee-1a09-4402-8aaf-61a32b78a4e8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "87c5b743-acfe-4af6-8f35-2166a3e688cc": {
      "main": [
        [
          {
            "node": "dcdb51f4-2161-4bb6-b56b-4b901ccd7b37",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

中級 - 人工知能, マーケティング

有料ですか?

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

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

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

作成者

Airtop provides an intelligent browser automation API for AI agents, enabling seamless web interaction, including login, navigation, and data extraction from any site, even those with complex authentication - all with natural language instructions.In simple terms, we allow you to automate anything humans can do online, on any site with just words

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34