{
  "name": "Cross-platform content publisher: Telegram to WordPress, Facebook, X & LinkedIn",
  "nodes": [
    {
      "id": "c878a355-2801-4786-b5f7-d0f5e5d98533",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -96,
        -256
      ]
    },
    {
      "id": "511afd83-6cd9-4cfb-af8e-97c5466c6023",
      "name": "Download audio",
      "type": "n8n-nodes-base.telegram",
      "position": [
        848,
        -416
      ]
    },
    {
      "id": "13fb8b02-d9ac-4957-bd0b-3b023c45b117",
      "name": "Download document",
      "type": "n8n-nodes-base.telegram",
      "position": [
        848,
        -928
      ]
    },
    {
      "id": "e11e3c05-644a-4f87-aa3d-0ba4973915d0",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        1712,
        16
      ]
    },
    {
      "id": "b6dbebe7-8ad6-460f-832e-d252f3d9a3f3",
      "name": "do nothing",
      "type": "n8n-nodes-base.noOp",
      "position": [
        816,
        912
      ]
    },
    {
      "id": "fdbb891b-395d-4836-b96e-a4246fa957e6",
      "name": "Download file",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1200,
        -64
      ]
    },
    {
      "id": "ee232f4f-2d8b-4872-aa81-997f30dc3962",
      "name": "Create WordPress Post",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        2128,
        -336
      ]
    },
    {
      "id": "0783cf8a-70af-4ffe-902d-855a30a51e6a",
      "name": "Edit Image",
      "type": "n8n-nodes-base.editImage",
      "position": [
        2544,
        -336
      ]
    },
    {
      "id": "494ed6c8-1322-4afb-a232-bee5ca3acbde",
      "name": "upload media to wp",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2736,
        -336
      ]
    },
    {
      "id": "73a8cec2-965f-41e4-8334-c1614ec157f5",
      "name": "upload image to meta data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2928,
        -336
      ]
    },
    {
      "id": "22750548-0184-4e51-a0fe-72bb31719088",
      "name": "set featured image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3120,
        -336
      ]
    },
    {
      "id": "022e908e-743c-4d86-89ee-22870d511008",
      "name": "Download image",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1200,
        112
      ]
    },
    {
      "id": "14fcc6c2-cf1b-48a2-aabb-513434f569fd",
      "name": "Get a image",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2352,
        -336
      ]
    },
    {
      "id": "bbdec0e1-ca8a-4bf3-8dc1-c0bed8e57270",
      "name": "Get facebook post image",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2128,
        -160
      ]
    },
    {
      "id": "5a31da16-8191-4170-8420-22d796c64d33",
      "name": "Get linkedIn profile post image",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2128,
        192
      ]
    },
    {
      "id": "bd3efb39-2725-4bf4-b3e1-b005c3fc03ae",
      "name": "Get linkedIn page post image",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2128,
        368
      ]
    },
    {
      "id": "8cc63a94-9d48-4bd1-8079-405271f03a52",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        704,
        496
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "97630a90-8f34-4286-9710-221b3023de1f",
      "name": "Detect Message Type",
      "type": "n8n-nodes-base.switch",
      "position": [
        192,
        -368
      ]
    },
    {
      "id": "d27f20e9-9cb2-4526-a267-f1a71262666a",
      "name": "Download voice",
      "type": "n8n-nodes-base.telegram",
      "position": [
        848,
        -256
      ]
    },
    {
      "id": "1b917d7e-d970-488f-a100-59567047384b",
      "name": "send text post",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1184,
        592
      ]
    },
    {
      "id": "abefaa8c-b83c-4f6e-b5e0-437269d54bac",
      "name": "Create Tweet text",
      "type": "n8n-nodes-base.twitter",
      "position": [
        1184,
        752
      ]
    },
    {
      "id": "4b374f44-4acd-4a35-91ef-40772faa95dc",
      "name": "Create profile text post",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        1184,
        912
      ]
    },
    {
      "id": "b84dc686-52b5-4564-a06b-8e2539ca9171",
      "name": "Create page text post",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        1184,
        1072
      ]
    },
    {
      "id": "ac263c00-c1a6-45f8-ab27-12ca1dc6ef66",
      "name": "Facebook text post",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        1184,
        1232
      ]
    },
    {
      "id": "d6f665cc-4b4a-4355-878b-e7a075dd7b79",
      "name": "Facebook Document Video post",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        1440,
        -592
      ]
    },
    {
      "id": "a665cebf-7872-47c1-bd7c-8d658cb05dde",
      "name": "Facebook Video post",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        1440,
        -752
      ]
    },
    {
      "id": "ea39bd8e-f439-4160-8613-aedc30ba67eb",
      "name": "Facebook Image post",
      "type": "n8n-nodes-base.facebookGraphApi",
      "position": [
        2352,
        -160
      ]
    },
    {
      "id": "11726acf-077f-494c-8cd0-a326d31a77a0",
      "name": "Telegram Image post",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2128,
        16
      ]
    },
    {
      "id": "07d82a67-b2e9-4f09-b0ad-fccbce775ac9",
      "name": "Create profile image post",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        2384,
        192
      ]
    },
    {
      "id": "9df8fe30-2909-4638-88bd-2cf1793264e4",
      "name": "Create page image post",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        2384,
        368
      ]
    },
    {
      "id": "d594ccfd-c481-424e-9bfe-5e93180789fe",
      "name": "Telegram Send video",
      "type": "n8n-nodes-base.telegram",
      "position": [
        848,
        -752
      ]
    },
    {
      "id": "5267bbbf-ed25-426e-a298-fb3ef1d9a90c",
      "name": "Telegram Sent Document Video",
      "type": "n8n-nodes-base.telegram",
      "position": [
        848,
        -592
      ]
    },
    {
      "id": "d39ebeef-46a5-482a-8726-57beba50c602",
      "name": "Telegram Send audio",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1200,
        -416
      ]
    },
    {
      "id": "f8e7fd44-d050-40ec-ada0-4a0bd87755ba",
      "name": "Telegram Send voice",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1200,
        -256
      ]
    },
    {
      "id": "4ffb4973-f9ec-446a-859b-07c303216a16",
      "name": "Telegram Send File",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1200,
        272
      ]
    },
    {
      "id": "553cc7b3-b1d5-4f87-abd5-4ee127483858",
      "name": "Download File",
      "type": "n8n-nodes-base.telegram",
      "position": [
        848,
        272
      ]
    },
    {
      "id": "836e4d85-67be-4cd6-92d7-1a13a2f6d137",
      "name": "Telegram Send document",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1200,
        -928
      ]
    },
    {
      "id": "608ec4cb-503f-4c3a-9d92-04e7ed415a80",
      "name": "Get facebook post document",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1200,
        -592
      ]
    },
    {
      "id": "72fc0ddf-a2d1-4c2d-b7a9-bc444e3c045b",
      "name": "Get facebook post video",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1200,
        -752
      ]
    },
    {
      "id": "515293a3-5539-42ab-97ff-f066486ce411",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        816,
        272
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e9e55b69-58e6-425d-9ea3-61c9764ac640",
      "name": "Image quality detect",
      "type": "n8n-nodes-base.code",
      "position": [
        848,
        112
      ]
    },
    {
      "id": "99bb551e-1464-4dab-ba34-6647182e65a1",
      "name": "File image quality detect switch",
      "type": "n8n-nodes-base.code",
      "position": [
        848,
        -64
      ]
    },
    {
      "id": "e9799d37-7377-4f7f-ab54-84cab4548840",
      "name": "Sticky Note20",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -640
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e8a39966-3521-44c0-a204-1e3d472c922a",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1648,
        -352
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "2cd3609e-6fc9-4119-a060-fc564dcc89f7",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2608,
        -352
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "2c3a0206-38cc-498d-8642-ed36481e1c22",
      "name": "Sticky Note14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1344,
        -272
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "632e213a-e683-44df-a51a-5776970fb902",
      "name": "Sticky Note15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1344,
        -432
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "da3c1456-1df8-4a2c-8eb0-63a35470aa35",
      "name": "Sticky Note16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1584,
        -608
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "471dd2d5-f2d8-49c9-b151-6d0f75f9f8de",
      "name": "Sticky Note17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1344,
        -944
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "440f12cf-cc13-4a3d-a9a9-f8b853258e4f",
      "name": "Sticky Note18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1584,
        -768
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "363619f8-168c-466b-bad5-b4d72836dfc3",
      "name": "Sticky Note21",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1200,
        -640
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "08dda5f7-8fcc-4457-a6e0-ab16ae3cbd47",
      "name": "Sticky Note23",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        768,
        -1120
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Create WordPress Post",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get facebook post image",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get linkedIn profile post image",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get linkedIn page post image",
            "type": "main",
            "index": 0
          },
          {
            "node": "Telegram Image post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Image": {
      "main": [
        [
          {
            "node": "upload media to wp",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "do nothing": {
      "main": [
        [
          {
            "node": "send text post",
            "type": "main",
            "index": 0
          },
          {
            "node": "Create Tweet text",
            "type": "main",
            "index": 0
          },
          {
            "node": "Create profile text post",
            "type": "main",
            "index": 0
          },
          {
            "node": "Create page text post",
            "type": "main",
            "index": 0
          },
          {
            "node": "Facebook text post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a image": {
      "main": [
        [
          {
            "node": "Edit Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download File": {
      "main": [
        [
          {
            "node": "Telegram Send File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download file": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download audio": {
      "main": [
        [
          {
            "node": "Telegram Send audio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download image": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Download voice": {
      "main": [
        [
          {
            "node": "Telegram Send voice",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "send text post": {
      "main": [
        []
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Detect Message Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Tweet text": {
      "main": [
        []
      ]
    },
    "Download document": {
      "main": [
        [
          {
            "node": "Telegram Send document",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Send File": {
      "main": [
        []
      ]
    },
    "set featured image": {
      "main": [
        []
      ]
    },
    "upload media to wp": {
      "main": [
        [
          {
            "node": "upload image to meta data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Detect Message Type": {
      "main": [
        [
          {
            "node": "Download document",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Telegram Send video",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Telegram Sent Document Video",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Download audio",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Download voice",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "File image quality detect switch",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Image quality detect",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Download File",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "do nothing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Facebook Image post": {
      "main": [
        []
      ]
    },
    "Telegram Image post": {
      "main": [
        []
      ]
    },
    "Telegram Send audio": {
      "main": [
        []
      ]
    },
    "Telegram Send video": {
      "main": [
        [
          {
            "node": "Get facebook post video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Image quality detect": {
      "main": [
        [
          {
            "node": "Download image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create WordPress Post": {
      "main": [
        [
          {
            "node": "Get a image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Send document": {
      "main": [
        []
      ]
    },
    "Get facebook post image": {
      "main": [
        [
          {
            "node": "Facebook Image post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get facebook post video": {
      "main": [
        [
          {
            "node": "Facebook Video post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "upload image to meta data": {
      "main": [
        [
          {
            "node": "set featured image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get facebook post document": {
      "main": [
        [
          {
            "node": "Facebook Document Video post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Facebook Document Video post": {
      "main": [
        []
      ]
    },
    "Get linkedIn page post image": {
      "main": [
        [
          {
            "node": "Create page image post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Sent Document Video": {
      "main": [
        [
          {
            "node": "Get facebook post document",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get linkedIn profile post image": {
      "main": [
        [
          {
            "node": "Create profile image post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "File image quality detect switch": {
      "main": [
        [
          {
            "node": "Download file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}