AutomationFlowsSocial Media › Upload Binary Images to X (twitter) From Google Drive or AI Sources

Upload Binary Images to X (twitter) From Google Drive or AI Sources

ByMalik Hashir @malikx on n8n.io

This workflow lets you post images to X (Twitter) by uploading binary image files obtained from any source, not just Google Drive. Whether you’re fetching images stored on Google Drive or working with AI image generation models that output images directly as binary files, you…

Event trigger★★★☆☆ complexity8 nodesTwitterGoogle DriveHTTP Request
Social Media Trigger: Event Nodes: 8 Complexity: ★★★☆☆ Added:

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

This workflow follows the Google Drive → HTTP Request 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": "05ce7c3c-51fb-44d3-98a1-a64c83383464",
      "name": "Create Tweet",
      "type": "n8n-nodes-base.twitter",
      "position": [
        3040,
        416
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "4e19f11c-5c4e-4d78-9524-6962a158157d",
      "name": "When clicking \u2018Execute workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        608,
        416
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "92932deb-8160-491a-b236-7dad4d6d9304",
      "name": "Download file",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1200,
        416
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "dc733475-427d-4631-9ccc-d1c3af2eae6c",
      "name": "Upload Media to X",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2144,
        416
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "2146ff17-c71c-4c45-b5d9-f1271fda3a85",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1856,
        304
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3a11e643-8ea7-49ee-9490-f54ba3e1bf8c",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2672,
        304
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a063b060-e808-4273-8209-a80fa7ca8ff5",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        944,
        -672
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e85027de-eaa5-425c-a5d3-822672df90fe",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1856,
        144
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Download file": {
      "main": [
        [
          {
            "node": "Upload Media to X",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Media to X": {
      "main": [
        [
          {
            "node": "Create Tweet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking \u2018Execute workflow\u2019": {
      "main": [
        [
          {
            "node": "Download file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

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

About this workflow

This workflow lets you post images to X (Twitter) by uploading binary image files obtained from any source, not just Google Drive. Whether you’re fetching images stored on Google Drive or working with AI image generation models that output images directly as binary files, you…

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

More Social Media workflows → · Browse all categories →

Related workflows

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

Social Media

Hacker News to Video Template - AlexK1919. Uses manualTrigger, hackerNews, splitInBatches, lmChatOpenAi. Event-driven trigger; 48 nodes.

Hacker News, OpenAI Chat, Tool Http Request +11
Social Media

This workflow converts trending articles from Hacker News into engaging video content. It integrates AI-based tools to analyze, summarize, and generate multimedia content, making it ideal for content

Hacker News, OpenAI Chat, Tool Http Request +11
Social Media

This workflow is designed for content creators, social media managers, digital marketers, and business owners who want to automate their content creation and distribution process across multiple platf

Google Drive, Google Drive Trigger, WordPress +13
Social Media

This workflow automates the process of transforming user-submitted photos (also bad selfie) into professional CV and LinkedIn headshots using the Nano Banana Pro AI model.

HTTP Request, Google Drive, Telegram Trigger +2
Social Media

This automation detects when you post a Tiktok video, automatically downloads the video without watermark, stores it in Google Drive, and reposts your Tiktok video to other social media platforms. All

HTTP Request, Google Drive, Rss Feed Read Trigger +1