{
  "name": "AI Photo Clone Automation",
  "nodes": [
    {
      "parameters": {},
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        -180,
        -75
      ],
      "id": "364a4cb8-74c1-4f19-8ccb-86333a45ba34",
      "name": "When clicking ‘Execute workflow’"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.replicate.com/v1/models",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_API_KEY"
            }
          ]
        },
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "owner",
              "value": "YOUR_USERNAME"
            },
            {
              "name": "name",
              "value": "YOUR_MODELNAME"
            },
            {
              "name": "visibility",
              "value": "private"
            },
            {
              "name": "hardware",
              "value": "gpu-l40s"
            },
            {
              "name": "description",
              "value": "My personal FLUX LoRA"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        40,
        -75
      ],
      "id": "be3b5490-ef96-4d8d-8afb-cef17654ef92",
      "name": "Create Model"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.replicate.com/v1/models/ostris/flux-dev-lora-trainer/versions/4ffd32160efd92e956d39c5338a9b8fbafca58e03f791f6d8011f3e20e8ea6fa/trainings",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_API_KEY"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"version\": \"ostris/flux-dev-lora-trainer:4ffd32160efd92e956d39c5338a9b8fbafca58e03f791f6d8011f3e20e8ea6fa\",\n  \"destination\": \"{{ $json.owner }}/{{ $json.name }}\",\n  \"input\": {\n    \"input_images\": \"https://drive.google.com/uc?export=download&id=YOUR_FILE_ID\",\n    \"steps\": 1000,\n    \"trigger_word\": \"ohwx\"\n  }\n}",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        260,
        -75
      ],
      "id": "f13a726d-ad6c-4f5f-981b-56b7a6e8c952",
      "name": "Train Model"
    },
    {
      "parameters": {
        "url": "=https://api.replicate.com/v1/trainings/{{ $json.id }}",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_API_KEY"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        480,
        -80
      ],
      "id": "607f673c-a453-4d3c-90c7-b9db41257dad",
      "name": "Check Training"
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict",
            "version": 2
          },
          "conditions": [
            {
              "id": "d7c35b46-0466-4953-b246-5de9eb19a090",
              "leftValue": "={{ $json.status }}",
              "rightValue": "succeeded",
              "operator": {
                "type": "string",
                "operation": "equals",
                "name": "filter.operator.equals"
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [
        700,
        -150
      ],
      "id": "8ddf3b62-7576-45b7-9d45-27cf2f31e0de",
      "name": "If"
    },
    {
      "parameters": {
        "amount": 1,
        "unit": "minutes"
      },
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        920,
        25
      ],
      "id": "0fff79ba-e03c-41e0-8826-bef0e2c73c80",
      "name": "Wait",
      "webhookId": "d55b2199-d48a-423c-85c4-d522a5210627"
    },
    {
      "parameters": {
        "chatId": "YOUR_CHAT_ID",
        "text": "The model training was complete. ",
        "additionalFields": {}
      },
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1.2,
      "position": [
        920,
        -200
      ],
      "id": "dc862128-c10c-4dad-80da-1e36c5e7dffb",
      "name": "Send a text message",
      "webhookId": "cea242c6-fa18-4e12-9f6b-560c61895600",
      "credentials": {
        "telegramApi": {
          "id": "W71JhaluJR5IFzk7",
          "name": "Telegram account 29"
        }
      }
    },
    {
      "parameters": {
        "jsCode": "const text = $input.first().json.message.text;\nconst parts = text.split(',').map(part => part.trim());\n\nreturn {\n  scene: parts[0] || \"professional setting\",\n  clothes: parts[1] || \"smart casual\",\n  timeOfDay: parts[2] || \"golden hour\"\n};"
      },
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        40,
        410
      ],
      "id": "23eef0a6-bccf-47f8-8c7a-ecaff2f9e537",
      "name": "Split"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.replicate.com/v1/predictions",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_API_KEY"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"version\": \"YOUR_USERNAME/YOUR_MODELNAME:{{ $json.results[0].id }}\",\n  \"input\": {\n    \"prompt\": \"photo of using EXACT ohwx face and haircut for {{ $('Split').first().json.scene }} wearing {{ $('Split').first().json.clothes }} during {{ $('Split').first().json.timeOfDay }}\",\n    \"aspect_ratio\": \"1:1\"\n  }\n}",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        480,
        410
      ],
      "id": "d79273a4-6963-4e1d-8e9c-48b10b276af2",
      "name": "Create Image"
    },
    {
      "parameters": {
        "url": "https://api.replicate.com/v1/models/YOUR_USERNAME/YOUR_MODELNAME/versions",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_API_KEY"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        260,
        410
      ],
      "id": "249aa416-dbc1-4a69-9276-12cee6d85b67",
      "name": "Get Model"
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict",
            "version": 2
          },
          "conditions": [
            {
              "id": "d7c35b46-0466-4953-b246-5de9eb19a090",
              "leftValue": "={{ $json.status }}",
              "rightValue": "succeeded",
              "operator": {
                "type": "string",
                "operation": "equals",
                "name": "filter.operator.equals"
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [
        920,
        335
      ],
      "id": "57ae6d18-6227-48a6-a4e9-ba1854901938",
      "name": "If1"
    },
    {
      "parameters": {},
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        1140,
        510
      ],
      "id": "9b7c98f8-e251-4628-a2eb-26c00ed97309",
      "name": "Wait1",
      "webhookId": "79a660f9-da6b-4d80-aad5-f43331037cc8"
    },
    {
      "parameters": {
        "url": "=https://api.replicate.com/v1/predictions/{{ $json.id }}",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_API_KEY"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        700,
        410
      ],
      "id": "56aae105-8578-42eb-bc65-a69a297b9051",
      "name": "Get Image"
    },
    {
      "parameters": {
        "resource": "file",
        "fileId": "={{ $json.message.voice.file_id }}"
      },
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1.2,
      "position": [
        40,
        770
      ],
      "id": "bbb250c3-4ed7-4669-aff9-5e85cf90e35b",
      "name": "Get a file",
      "webhookId": "fea2d814-33e9-4fb0-8b19-905d5a6022d0",
      "credentials": {
        "telegramApi": {
          "id": "W71JhaluJR5IFzk7",
          "name": "Telegram account 29"
        }
      }
    },
    {
      "parameters": {
        "resource": "audio",
        "operation": "transcribe",
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "typeVersion": 1.8,
      "position": [
        260,
        770
      ],
      "id": "acdd32b3-417e-41c8-84bc-2577d6637785",
      "name": "Transcribe a recording",
      "credentials": {
        "openAiApi": {
          "id": "80b8DOj8REc2MMqi",
          "name": "OpenAi account 9"
        }
      }
    },
    {
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {}
      },
      "type": "n8n-nodes-base.telegramTrigger",
      "typeVersion": 1.2,
      "position": [
        -720,
        700
      ],
      "id": "20d6299b-2b60-4656-89b4-4cac9f13012c",
      "name": "User Input",
      "webhookId": "4cea98cb-a8b9-4b9f-8a9b-9cd920d32fa3",
      "credentials": {
        "telegramApi": {
          "id": "W71JhaluJR5IFzk7",
          "name": "Telegram account 29"
        }
      }
    },
    {
      "parameters": {
        "rules": {
          "values": [
            {
              "conditions": {
                "options": {
                  "caseSensitive": true,
                  "leftValue": "",
                  "typeValidation": "strict",
                  "version": 2
                },
                "conditions": [
                  {
                    "leftValue": "={{ $json.message.text }}",
                    "rightValue": "",
                    "operator": {
                      "type": "string",
                      "operation": "notEmpty",
                      "singleValue": true
                    },
                    "id": "ccc50f3f-d815-4e29-b131-756e6c39c1c2"
                  }
                ],
                "combinator": "and"
              },
              "renameOutput": true,
              "outputKey": "text"
            },
            {
              "conditions": {
                "options": {
                  "caseSensitive": true,
                  "leftValue": "",
                  "typeValidation": "strict",
                  "version": 2
                },
                "conditions": [
                  {
                    "id": "079d2ad6-919e-4d7c-baa5-1a8f0285c0c4",
                    "leftValue": "={{ $json.message.voice.file_id }}",
                    "rightValue": "",
                    "operator": {
                      "type": "string",
                      "operation": "notEmpty",
                      "singleValue": true
                    }
                  }
                ],
                "combinator": "and"
              },
              "renameOutput": true,
              "outputKey": "voice"
            },
            {
              "conditions": {
                "options": {
                  "caseSensitive": true,
                  "leftValue": "",
                  "typeValidation": "strict",
                  "version": 2
                },
                "conditions": [
                  {
                    "id": "5b2c81eb-d164-4e8e-b11a-3ab76966864a",
                    "leftValue": "={{ $json.message.photo[3].file_id }}",
                    "rightValue": "",
                    "operator": {
                      "type": "string",
                      "operation": "notEmpty",
                      "singleValue": true
                    }
                  }
                ],
                "combinator": "and"
              },
              "renameOutput": true,
              "outputKey": "image"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.switch",
      "typeVersion": 3.2,
      "position": [
        -520,
        700
      ],
      "id": "87bb54e2-2832-4e48-9fa4-30f704b9f084",
      "name": "Switch"
    },
    {
      "parameters": {
        "operation": "sendPhoto",
        "chatId": "={{ $('User Input').item.json.message.chat.id }}",
        "file": "={{ $('Get Image').item.json.output[0] }}",
        "additionalFields": {}
      },
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1.2,
      "position": [
        1140,
        280
      ],
      "id": "caec9ed6-2697-4f95-b292-8b9cafc208bc",
      "name": "Send Image",
      "webhookId": "b6fe236a-2992-40e6-ba01-d66c4c3e61ba",
      "credentials": {
        "telegramApi": {
          "id": "W71JhaluJR5IFzk7",
          "name": "Telegram account 29"
        }
      }
    },
    {
      "parameters": {
        "chatId": "={{ $('User Input').item.json.message.chat.id }}",
        "text": "={{ $json.choices[0].message.content }}",
        "additionalFields": {}
      },
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1.2,
      "position": [
        840,
        770
      ],
      "id": "4e57af6d-74d2-4e7f-8e91-f5ed3a018aff",
      "name": "Send Posts",
      "webhookId": "d09a5a4e-7ae5-45eb-b5d0-71dcb34a174b",
      "credentials": {
        "telegramApi": {
          "id": "W71JhaluJR5IFzk7",
          "name": "Telegram account 29"
        }
      }
    },
    {
      "parameters": {
        "content": "## Train with your Photos",
        "height": 440,
        "width": 1380
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -240,
        -220
      ],
      "id": "6dd42bce-4281-433d-81f0-678119ddf295",
      "name": "Sticky Note"
    },
    {
      "parameters": {
        "content": "## Generate Image",
        "height": 440,
        "width": 1380,
        "color": 6
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -40,
        260
      ],
      "id": "3fa95e4b-67ca-4adf-9424-36343677fe58",
      "name": "Sticky Note1"
    },
    {
      "parameters": {
        "content": "## Generate Post Text",
        "height": 240,
        "width": 1080,
        "color": 4
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -40,
        720
      ],
      "id": "62f44b7b-0692-4dd6-8b50-2a99feef55a8",
      "name": "Sticky Note2"
    },
    {
      "parameters": {
        "content": "## Publish Post",
        "height": 260,
        "width": 1520,
        "color": 3
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -40,
        1000
      ],
      "id": "2f089f70-4984-4f1c-8617-9fe6cd455493",
      "name": "Sticky Note3"
    },
    {
      "parameters": {
        "modelId": {
          "__rl": true,
          "value": "gpt-4o",
          "mode": "list",
          "cachedResultName": "GPT-4O"
        },
        "messages": {
          "values": [
            {
              "content": "=Voice Note User Input: {{ $json.text }}\n\n----\n\nYou are a professional social media copywriter.\n\nYour task is to turn the transcribed voice note into 3 social media posts.  \nEach post must be modeled EXACTLY on one of the post examples below.\n\n# GOAL  \nConvert the core message of the voice note into 3 high-performing posts.  \nEach post must match the structure, layout, and format of one example — nothing more, nothing less.\n\n# RULES  \n\n1. **DO NOT invent your own post structure**.  \n2. **DO NOT merge styles or blend formats from different examples**.  \n3. For each post, **select one post example** from the list below.  \n   - Replace only the content with the voice note’s message  \n   - **Keep everything else exactly the same**: line breaks, number of bullets, layout, style, pacing  \n4. Each post must be returned with:  \n   - One sentence per line  \n   - An empty line between lines  \n   - Numbered clearly: Post 1, Post 2, etc.  \n5. Do NOT explain anything. Just return the 3 posts.  \n6. Never refer to the examples, your method, or this prompt.  \n7. You must always choose post examples based on the input’s topic — but never change their structure.\n\n# OUTPUT FORMAT  \n\nPost 1:  \n[Line-by-line content here, structure = Post X format]\n\nPost 2:  \n...\n\n# POST STRUCTURES (USE THESE AS FORMATS ONLY)\n\n###  \nPost 1:  \nThe best content you can create with AI is:  \n\nEmails.  \n\nHere’s why:  \n\nAI-generated YouTube videos or blog posts → Traffic and leads.  \n\nAI-generated social media posts → Likes, comments, followers.  \n\nAI-generated ads → Traffic and leads.  \n\nAI-generated emails → Sales.  \n\nThe best part?  \n\nThe email copy you generate with my method is also perfect for effective social media posts.  \n\nSo, you get double the impact from a single piece of content:  \n\nReach + customers, appointments, sign-ups... whatever your goal is!  \n\nIn short:  \n\nEmails bring the highest profit and can be reused multiple times.  \n\n➥ Comment \"MAIL\" and I’ll share my best resource for creating emails with AI that deliver real results.  \n\n###  \nPost 2:  \nDo you know how affordable it is to use AI models like GPT-4?  \n\nIt’s amazing.  \n\nOpenAI charges just a tiny amount for using their AI.  \n\nEven in my advanced AI tool, it only costs me a few cents to create a ready-to-send email.  \n\nWith just 5 dollars of credit, I can generate over 250,000 words.  \n\nThat’s about 1,000 book pages.  \n\nFor my tool, that means I can generate over 200 emails with just 5 dollars.  \n\nThat’s incredibly cheap.  \n\nReady to develop your own cost-efficient AI tools?  \n\nLet’s get started!  \n\n###  \nPost 3:  \nCreating custom GPTs that deliver real results is easy – just avoid these 7 mistakes:  \n\n• Not defining specific roles, skills, and contexts:  \nLeaving out these details in your GPT’s instructions might seem unimportant, but even small gaps can reduce effectiveness. Always be clear about the roles and skills your GPT should mimic.  \n\n• Ignoring Hashtag#Markdown formatting:  \nSurprisingly, removing Markdown from your instructions won’t immediately impact output. But an organized structure with Markdown ensures long-term clarity and consistency.  \n\n• Missing input-output examples:  \nWithout these examples, the quality of your GPT’s output can drastically drop. Always give your GPT clear examples to follow.  \n\n• Not mentioning uploaded files:  \nWhen working with multiple files, it’s essential to reference them in your instructions. Otherwise, your GPT might not use the correct data.  \n\n• Providing insufficient data:  \nGiving your GPT too little information can lead to worse results, especially after several requests. The more comprehensive the dataset, the better the output.  \n\n• Uploading incorrect file formats:  \nUsing PDFs instead of .docx or .txt files can significantly hinder your GPT’s performance. Use formats that your GPT handles best.  \n\n• Not outlining specific tasks:  \nWithout a clear list of tasks, your GPT may produce incomplete or irrelevant output. Be precise in what you expect from your GPT.  \n\nHere’s the truth, though:  \nNone of these strategies will guarantee that your GPT delivers results that can replace your work at the same quality.  \n\nHere’s a better plan for you:  \n\n• Feed GPT with examples that have delivered real results  \n• Ensure those examples are “human-made”  \n\nExample: For my \"Sales Email GPT,\" I used as a knowledge base emails that I manually typed and that had already made sales.  \n\nThis ensures that your GPT doesn’t produce junk or robotic content.  \n\nNOTE: You need ChatGPT Plus to create GPTs.  \n\nPS: Have you already created GPTs?  \n\n𝗪𝗮𝗻𝘁 𝗮 𝘃𝗶𝗱𝗲𝗼 𝘁𝘂𝘁𝗼𝗿𝗶𝗮𝗹 𝗼𝗻 𝗶𝘁?  \n\n♻ Share & comment \"GPT\"  \n(I’ll send it to you)  \n\n###  \nPost 4:  \nI created my first AI app prototype within 24 hours, without any programming skills.  \n\nAnd without spending weeks learning a \"no-code platform.\"  \n\nI did it with these three things:  \n\n1. Google Sheets as the user interface.  \n2. ChatGPT providing the code.  \n3. An OpenAI API key.  \n\nYou can get all of this for free.  \n\nOf course, you pay for using the AI, but it’s just pennies.  \n\nMost people think you need programming skills for this.  \n\nBut that’s not true.  \n\nAll you need are tools you already use (Google Sheets + ChatGPT) and a bit of creativity.  \n\nDon’t wait to innovate.  \n\nTurn Google Sheets into a powerful AI tool.  \n\n(Or buy mine.)  \n\nSave time, cut costs, and boost productivity.  \n\nWhich Google apps do you use?  \n\nReady to turn them into AI tools?  \n\n𝗚𝗲𝘁: 𝗔𝗜 𝗦𝗵𝗲𝗲𝘁𝘀 𝗠𝗮𝘀𝘁𝗲𝗿𝗰𝗹𝗮𝘀𝘀.  \n\nWant to learn how to turn Google Sheets into advanced AI tools?  \n\n♻ Share & comment \"SHEETS\"  \n(I’ll send it to you.)  \n\n###  \nPost 5:  \nThe No.1 reason why so many businesses don’t get good results with emails:  \n\nThey don’t have a GOOD email idea.  \n\nSuch email ideas not only strengthen trust in your expertise but also motivate people to take action… to click, to buy, to sign up, etc.  \n\nEven a mediocre email copy converts with a \"good\" email idea.  \n\nBut many entrepreneurs struggle to come up with any email idea, let alone a \"good\" one.  \n\n\"I have no idea what to write.\"  \n\nBut it’s so simple.  \n\nA \"good\" email idea only needs one of the following things:  \n\n1. A specific problem the target audience wants to solve  \n2. A specific result the target audience wants to achieve  \n3. A specific obstacle that stands in the target audience’s way  \n\nIf nothing comes to mind right away, use my handcrafted ChatGPT prompts that generate good email ideas that convert.  \n\nYou just enter your target audience...  \n\nAnd you instantly get 20 ideas for specific problems, results, and obstacles.  \n\nThen you have 60 good ideas for your next email ;)  \n\nIf you want to try them out, comment \"IDEA\" – I’ll send them to you!  \n\n###  \nPost 6:  \nI built (and sold) this AI tool – without programming knowledge:  \n\n• Imports all emails from selected senders  \n• Summarizes each email in 3 bullet points  \n• Rewrites each email for my topic and in my tone of voice  \n\nIt feels great to create a truly useful AI tool without being a programmer! 😆  \n\n###  \nPost 7:  \nWant to get more attention for your content or offers?  \n\nWithout doing a weird TikTok dance? 🤸‍♀️  \n\nThat’s exactly why I developed a free AI tool for you.  \n\nIt generates humorous (and memorable) headlines that convert.  \n\nPerfect for:  \n1. Ads  \n2. Emails  \n3. Blog posts  \n4. Landing pages  \n5. YouTube videos  \n6. Social media posts  \n\n… and your coffee mug. ☕☺️  \n\nComment \"HEADLINE\" and get FREE access to this new headline generator.  \n\n###  \nPost 8:  \nPeople overcomplicate email marketing.  \n\nListen, if you’re a beginner:  \n\nAvoid:  \n- Trying to send emails twice a day  \n- Using generic phrases and over-the-top promises  \n- Sending cold sales pitches as your first email  \n- Using complex jargon and long paragraphs  \n\nInstead:  \n- Spend time understanding your target audience  \n- Find out what your customers really care about  \n- Start by offering value through useful tips and content  \n- Look for successful email campaigns that inspire you  \n- Understand the importance of personalized subject lines and engagement  \n\nFocus on this for the first 3 weeks.  \n\nBuild on it.  \n\n###  \nPost 9:  \n6 months ago, I stopped writing each of my emails by hand.  \n\nNow, I rely on artificial intelligence to write my emails.  \n\nAnd no:  \n\n- Using AI doesn’t make my emails \"impersonal\"  \n- I won’t just use \"generic text\"  \n- I don’t owe you an explanation for why I use AI  \n\nMany people think AI-written emails don’t sound authentic. But that’s not true...  \n\nAnd I can definitely understand why...  \n\nManually written emails never brought this much efficiency to my marketing.  \n\nIn fact, since I started using AI for my email marketing:  \n\n- I’ve started coming up with email ideas much faster  \n- I’ve tripled my productivity  \n- I’ve had more time to focus on strategic tasks  \n- I’ve been praised more often for my efficiency  \n- I’ve begun establishing a more consistent brand voice in my emails  \n- I’ve fully focused on automating my email funnel  \n- I’ve brought in experts and mentors to help refine my AI strategy  \n\nCoincidence? No.  \n\nMy email marketing started improving as soon as I switched to AI-based strategies.  \n\nAnd 20 months later, I’ve never been clearer on my reasons for never writing each email by hand again.  \n\nSo, if someone asks me why I use AI for my emails?  \n\nI say: \"Why don’t you?\"  \n\n###  \nPost 10:  \nHow you think you should sell via email marketing:  \n\n- Directly promote your product in every email  \n- Push immediate offers and discounts  \n- Use every click as a sales opportunity  \n\nHow you actually sell through email marketing:  \n\n- Address specific problems or results your target audience wants to achieve  \n- Introduce solutions without immediately revealing your offer  \n- Formulate call-to-actions that promise clear benefits without directly selling  \n\nIndirect sales strategies are more effective because they don’t scare the reader away right away.  \n\nMake sure people enjoy reading your emails and are motivated to click on your links.  \n\nDon’t overwhelm them with sales messages.  \n"
            }
          ]
        },
        "simplify": false,
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "typeVersion": 1.8,
      "position": [
        480,
        770
      ],
      "id": "426334a5-4ae3-449f-baa1-66e7e412fd84",
      "name": "Generate Post Text",
      "credentials": {
        "openAiApi": {
          "id": "80b8DOj8REc2MMqi",
          "name": "OpenAi account 9"
        }
      }
    },
    {
      "parameters": {
        "resource": "file",
        "fileId": "={{ $json.message.photo[3].file_id }}"
      },
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1.2,
      "position": [
        -20,
        1080
      ],
      "id": "d873a980-af22-4c81-b2fb-d3ebb891ca80",
      "name": "Get a file1",
      "webhookId": "9387865a-5d50-4794-88be-61221bf90982",
      "credentials": {
        "telegramApi": {
          "id": "iLtP3WChrBAr3SiB",
          "name": "Telegram account 30"
        }
      }
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://www.filestackapi.com/api/store/S3?key=AhTgLagciQByzXpFGRI0Az",
        "sendBody": true,
        "contentType": "binaryData",
        "inputDataFieldName": "data",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        140,
        1080
      ],
      "id": "8febf10c-95da-4575-8bbb-740051e073ec",
      "name": "Upload Image"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://backend.blotato.com/v2/media",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "blotato-api-key",
              "value": "YOUR_API_KEY"
            }
          ]
        },
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "url",
              "value": "={{ $json.url }}"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        300,
        1080
      ],
      "id": "93f7a8a8-af0c-476e-bbd4-3b24ccc195aa",
      "name": "Upload Image1"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://backend.blotato.com/v2/posts",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "blotato-api-key",
              "value": "YOUR_API_KEY"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"post\": {\n    \"accountId\": \"YOUR_ACCOUNT_ID\",\n    \"content\": {\n      \"text\": {{ $('User Input').item.json.message.caption.toJsonString() }},\n      \"mediaUrls\": [\n        \"{{ $json.url }}\"\n      ],\n      \"platform\": \"facebook\"\n    },\n    \"target\": {\n      \"targetType\": \"facebook\",\n      \"pageId\": \"YOUR_PAGE_ID\",\n      \"privacyLevel\": \"PUBLIC_TO_EVERYONE\",\n      \"disabledComments\": false,\n      \"disabledDuet\": false,\n      \"disabledStitch\": false,\n      \"isBrandedContent\": false,\n      \"isYourBrand\": true,\n      \"isAiGenerated\": false\n    }\n  }\n}\n",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        460,
        1080
      ],
      "id": "4060ee49-67d7-4d08-b013-bfcc89572648",
      "name": "Facebook"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://backend.blotato.com/v2/posts",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "blotato-api-key",
              "value": "YOUR_API_KEY"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"post\": {\n    \"accountId\": \"YOUR_ACCOUNT_ID\",\n    \"content\": {\n      \"text\": {{ $('User Input').item.json.message.caption.toJsonString() }},\n      \"mediaUrls\": [\n        \"{{ $('Upload Image1').item.json.url }}\"\n      ],\n      \"platform\": \"instagram\"\n    },\n    \"target\": {\n      \"targetType\": \"instagram\",\n      \"privacyLevel\": \"PUBLIC_TO_EVERYONE\",\n      \"disabledComments\": false,\n      \"disabledDuet\": false,\n      \"disabledStitch\": false,\n      \"isBrandedContent\": false,\n      \"isYourBrand\": true,\n      \"isAiGenerated\": false\n    }\n  }\n}\n",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        620,
        1080
      ],
      "id": "61b272ae-a609-4928-a702-90be469d3f49",
      "name": "Instagram"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://backend.blotato.com/v2/posts",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "blotato-api-key",
              "value": "YOUR_API_KEY"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"post\": {\n    \"accountId\": \"YOUR_ACCOUNT_ID\",\n    \"content\": {\n      \"text\": {{ $('User Input').item.json.message.caption.toJsonString() }},\n      \"mediaUrls\": [\n        \"{{ $('Upload Image1').item.json.url }}\"\n      ],\n      \"platform\": \"linkedin\"\n    },\n    \"target\": {\n      \"targetType\": \"linkedin\",\n      \"privacyLevel\": \"PUBLIC_TO_EVERYONE\",\n      \"disabledComments\": false,\n      \"disabledDuet\": false,\n      \"disabledStitch\": false,\n      \"isBrandedContent\": false,\n      \"isYourBrand\": true,\n      \"isAiGenerated\": false\n    }\n  }\n}\n",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        760,
        1080
      ],
      "id": "945d1bca-e402-4558-aa84-8fc39b6455de",
      "name": "LinkedIn"
    },
    {
      "parameters": {
        "modelId": {
          "__rl": true,
          "value": "gpt-4.1",
          "mode": "list",
          "cachedResultName": "GPT-4.1"
        },
        "messages": {
          "values": [
            {
              "content": "=Reduce wordcount of following text to less than 200 characters.\n\nText: {{ $('User Input').item.json.message.caption }}\n"
            }
          ]
        },
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "typeVersion": 1.8,
      "position": [
        900,
        1080
      ],
      "id": "41904a37-54de-41a9-9f81-6d2662ae14ad",
      "name": "Message a model1",
      "credentials": {
        "openAiApi": {
          "id": "6LnEKBlR3JCiWGdk",
          "name": "OpenAi account"
        }
      }
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://backend.blotato.com/v2/posts",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "blotato-api-key",
              "value": "YOUR_API_KEY"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"post\": {\n    \"accountId\": \"YOUR_ACCOUNT_ID\",\n    \"content\": {\n      \"text\": {{ $json.message.content.toJsonString() }},\n      \"mediaUrls\": [\n        \"{{ $('Upload Image1').item.json.url }}\"\n      ],\n      \"platform\": \"twitter\"\n    },\n    \"target\": {\n      \"targetType\": \"twitter\"\n    }\n  }\n}\n",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1180,
        1080
      ],
      "id": "ad2b2dac-b60c-4463-bcf9-5f161891c755",
      "name": "Twitter"
    },
    {
      "parameters": {
        "chatId": "={{ $('User Input').item.json.message.from.id }}",
        "text": "=Your posts was published to Facebook, Instagram, LinkedIn and Twitter.",
        "additionalFields": {}
      },
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1.2,
      "position": [
        1340,
        1080
      ],
      "id": "14fa510b-ba08-4f1e-8987-5381196a796b",
      "name": "Send Confirmation",
      "webhookId": "3c3db272-a253-458f-a5bb-b3399c2bfb4b",
      "credentials": {
        "telegramApi": {
          "id": "iLtP3WChrBAr3SiB",
          "name": "Telegram account 30"
        }
      }
    }
  ],
  "connections": {
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Create Model",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Model": {
      "main": [
        [
          {
            "node": "Train Model",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Train Model": {
      "main": [
        [
          {
            "node": "Check Training",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Training": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If": {
      "main": [
        [
          {
            "node": "Send a text message",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Check Training",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split": {
      "main": [
        [
          {
            "node": "Get Model",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Model": {
      "main": [
        [
          {
            "node": "Create Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If1": {
      "main": [
        [
          {
            "node": "Send Image",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Get Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Image": {
      "main": [
        [
          {
            "node": "Get Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Image": {
      "main": [
        [
          {
            "node": "If1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a file": {
      "main": [
        [
          {
            "node": "Transcribe a recording",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcribe a recording": {
      "main": [
        [
          {
            "node": "Generate Post Text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "User Input": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch": {
      "main": [
        [
          {
            "node": "Split",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get a file",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get a file1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Post Text": {
      "main": [
        [
          {
            "node": "Send Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a file1": {
      "main": [
        [
          {
            "node": "Upload Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Image": {
      "main": [
        [
          {
            "node": "Upload Image1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Image1": {
      "main": [
        [
          {
            "node": "Facebook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Facebook": {
      "main": [
        [
          {
            "node": "Instagram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Instagram": {
      "main": [
        [
          {
            "node": "LinkedIn",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "LinkedIn": {
      "main": [
        [
          {
            "node": "Message a model1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Message a model1": {
      "main": [
        [
          {
            "node": "Twitter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Twitter": {
      "main": [
        [
          {
            "node": "Send Confirmation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "8f1887be-4a80-4f7f-9721-6d4aee2c2f9d",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "7ff6625f0127f3e9a7865e3493009de1c48f57dc5ed87def3ae3316be7f6b238"
  },
  "id": "S4LRSvr7crDbLx57",
  "tags": []
}