AutomationFlowsAI & RAG › Automated AI Product Photography and Instagram Post Generator (deepseek/segmind)

Automated AI Product Photography and Instagram Post Generator (deepseek/segmind)

ByTianyi @muzi on n8n.io

Automatically generate professional-grade product photography and ready-to-use Instagram posts using the power of AI, delivered straight to your Telegram for approval.

Cron / scheduled trigger★★★★★ complexityAI-powered34 nodesOutput Parser StructuredOpenAI ChatAgentHTTP RequestTelegramOpenAI
AI & RAG Trigger: Cron / scheduled Nodes: 34 Complexity: ★★★★★ AI nodes: yes Added:

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

This workflow follows the Agent → 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
{
  "id": "lcRVbTA0LI7lxvsH",
  "meta": {
    "templateId": "2950",
    "templateCredsSetupCompleted": true
  },
  "name": "Segmind: Automatic Social Media Product Image Generator and publisher_",
  "tags": [
    {
      "id": "dNuSmJmhSOBNp9lV",
      "name": "Social Media",
      "createdAt": "2025-01-26T15:22:52.143Z",
      "updatedAt": "2025-01-26T15:22:52.143Z"
    },
    {
      "id": "kgTngqg4Ayt55Kif",
      "name": "ONGOING",
      "createdAt": "2025-03-19T20:47:01.023Z",
      "updatedAt": "2025-03-19T20:47:01.023Z"
    },
    {
      "id": "pOsSeIqilB7U0GL5",
      "name": "Star",
      "createdAt": "2025-03-15T20:56:13.443Z",
      "updatedAt": "2025-03-15T20:56:13.443Z"
    }
  ],
  "nodes": [
    {
      "id": "c0d615a8-0932-4140-8bb5-6018c6d61154",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -760,
        1320
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "6c5352be-a9a3-4c0d-8d0a-cb67c205e3ca",
      "name": "InputYourImageURL",
      "type": "n8n-nodes-base.set",
      "position": [
        -160,
        1320
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "6bbc183e-86f3-400f-972c-55e389839c95",
      "name": "Structured Output Parser1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1420,
        1460
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "402186b3-c6ab-447f-af7d-11eae3246393",
      "name": "ImageInstruction",
      "type": "n8n-nodes-base.set",
      "position": [
        -340,
        1320
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "250532f4-ac14-4daf-aad0-32c574856a6d",
      "name": "WithHumanModel",
      "type": "n8n-nodes-base.set",
      "position": [
        880,
        1240
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "4abc910c-c149-45d5-9c22-c856eada6f4a",
      "name": "NoHumanModel",
      "type": "n8n-nodes-base.set",
      "position": [
        880,
        1440
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "651e01a3-8eee-43fe-b820-eb5cc26a6149",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1200,
        1460
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "ae5346d3-3029-49f5-8f7a-b7a47ac3b4d8",
      "name": "AI Agent1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1200,
        1240
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "bfc4afe4-3fea-489a-a3ea-1ed979d6823c",
      "name": "SegmindAPIKey",
      "type": "n8n-nodes-base.set",
      "position": [
        -520,
        1320
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "fe0826b1-80e0-416f-b4d5-6edbe80c10e4",
      "name": "RetrieveGeneratedImage",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2760,
        1240
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "56784087-bc91-4f9b-b72b-c076eb2785e7",
      "name": "RetrieveImageURL",
      "type": "n8n-nodes-base.set",
      "position": [
        2960,
        1240
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "e0dfd38b-8fc2-4752-aaf7-5b6ccbc53530",
      "name": "DownloadImage",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3180,
        1240
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "9646251f-e427-4a27-98f8-fd0d4779ab44",
      "name": "SendProductPhotography",
      "type": "n8n-nodes-base.telegram",
      "position": [
        3440,
        1240
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "041ab07d-ac24-406c-a971-b5bb175d338b",
      "name": "SendInstagramPost",
      "type": "n8n-nodes-base.telegram",
      "position": [
        3660,
        1240
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "7cbb4f66-f7c3-448b-a55b-a5600dbd8fb1",
      "name": "GenerateRandomSeedNumber",
      "type": "n8n-nodes-base.code",
      "position": [
        1620,
        1240
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "66ada10b-baa3-4bfd-a126-404f0fffd75d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -840,
        1160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a43a0459-6499-4cef-a537-db84d05a6360",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -560,
        1160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "78ad7870-26c2-408e-9c8b-de214b7db24a",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        1160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c84665a2-1dae-4462-903e-bcea1ae72df4",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        1160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b0022473-3282-499e-9a90-323cb7ce35c2",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -840,
        540
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8d944459-65da-4679-b22b-b2a7a1be7eb2",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1080,
        1080
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0b552b17-7dff-49b1-84f2-097ed65f6a53",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1560,
        1120
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f29b578e-57bf-4e85-9eea-6f7e8a4c5dff",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2000,
        1080
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b85d7557-9dd1-450c-9fe8-e48ddef8ab6b",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2420,
        1120
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d1854c84-6a66-4c0b-89be-54490237dd2a",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2700,
        1120
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "09991a12-2ae1-4df7-951b-dfa30d171c70",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3120,
        1120
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "578de79d-b67c-4003-965b-3fa246cece2f",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3360,
        1120
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "95ece10a-2524-4bc4-be6d-4381cdca3238",
      "name": "SendImageURL",
      "type": "n8n-nodes-base.telegram",
      "position": [
        3860,
        1240
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "e9e49882-b094-4877-99ee-851b718f4bff",
      "name": "GetImage_Segmind",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2120,
        1240
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "538b43cd-51ab-438a-9be7-9fe98d478f82",
      "name": "Wait 5 minutes",
      "type": "n8n-nodes-base.wait",
      "position": [
        2500,
        1240
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "4571ecef-87ee-4a8a-9c31-eafd55a4748d",
      "name": "Get image description",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        320,
        1320
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "601aa5b2-0b19-4367-973e-2af327421741",
      "name": "Set seed field",
      "type": "n8n-nodes-base.set",
      "position": [
        1820,
        1240
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "92354b40-5318-4b9f-b4bb-968375854e8d",
      "name": "Check if an Human Model is required",
      "type": "n8n-nodes-base.if",
      "position": [
        640,
        1320
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "bbe201f5-a9a5-42d0-8b6f-b96978365567",
      "name": "Telegram ChatID",
      "type": "n8n-nodes-base.set",
      "position": [
        20,
        1320
      ],
      "parameters": {},
      "typeVersion": 3.4
    }
  ],
  "active": false,
  "settings": {},
  "versionId": "0c8faac3-1d9d-4f19-b695-7bb6535f958b",
  "connections": {
    "AI Agent1": {
      "main": [
        [
          {
            "node": "GenerateRandomSeedNumber",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "NoHumanModel": {
      "main": [
        [
          {
            "node": "AI Agent1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "DownloadImage": {
      "main": [
        [
          {
            "node": "SendProductPhotography",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SegmindAPIKey": {
      "main": [
        [
          {
            "node": "ImageInstruction",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set seed field": {
      "main": [
        [
          {
            "node": "GetImage_Segmind",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 5 minutes": {
      "main": [
        [
          {
            "node": "RetrieveGeneratedImage",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "WithHumanModel": {
      "main": [
        [
          {
            "node": "AI Agent1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram ChatID": {
      "main": [
        [
          {
            "node": "Get image description",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GetImage_Segmind": {
      "main": [
        [
          {
            "node": "Wait 5 minutes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ImageInstruction": {
      "main": [
        [
          {
            "node": "InputYourImageURL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RetrieveImageURL": {
      "main": [
        [
          {
            "node": "DownloadImage",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "SegmindAPIKey",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "InputYourImageURL": {
      "main": [
        [
          {
            "node": "Telegram ChatID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SendInstagramPost": {
      "main": [
        [
          {
            "node": "SendImageURL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get image description": {
      "main": [
        [
          {
            "node": "Check if an Human Model is required",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RetrieveGeneratedImage": {
      "main": [
        [
          {
            "node": "RetrieveImageURL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SendProductPhotography": {
      "main": [
        [
          {
            "node": "SendInstagramPost",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GenerateRandomSeedNumber": {
      "main": [
        [
          {
            "node": "Set seed field",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Check if an Human Model is required": {
      "main": [
        [
          {
            "node": "WithHumanModel",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "NoHumanModel",
            "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

Automatically generate professional-grade product photography and ready-to-use Instagram posts using the power of AI, delivered straight to your Telegram for approval.

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

More AI & RAG workflows → · Browse all categories →

Related workflows

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

AI & RAG

Staying up to date with fast-moving topics like AI, machine learning, or your specific industry can be overwhelming. You either drown in daily noise or miss important developments between weekly diges

HTTP Request, Data Table, OpenAI Chat +5
AI & RAG

Title: Create daily AI news digest and send to Telegram

HTTP Request, Agent, OpenAI Chat +5
AI & RAG

Staying up to date with fast-moving topics like AI, machine learning, research, or your specific industry can be tricky.

HTTP Request, Telegram, Output Parser Structured +4
AI & RAG

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

Mailgun, OpenAI, OpenAI Chat +8
AI & RAG

Complete PostgreSQL-backed system: Keyword scoring → AI research → Multi-part content generation → fal.ai Nano Banana image generation → WordPress publishing

WordPress, OpenAI, Perplexity +8