diff --git a/workflows/Create WordPress posts and Telegram updates from links with BrowserAct and Gemini-12364/create_wordpress_posts_and_telegram_updates_from_links_with_browseract_and_gemini.json b/workflows/Create WordPress posts and Telegram updates from links with BrowserAct and Gemini-12364/create_wordpress_posts_and_telegram_updates_from_links_with_browseract_and_gemini.json new file mode 100644 index 000000000..49a7c31f8 --- /dev/null +++ b/workflows/Create WordPress posts and Telegram updates from links with BrowserAct and Gemini-12364/create_wordpress_posts_and_telegram_updates_from_links_with_browseract_and_gemini.json @@ -0,0 +1 @@ +{"id":"uoGILeTpRLjA6PqX","meta":{"instanceId":"6fcb279fd6b00187153abdc6d8b627acfd9fe31f84b387f64b56a0996e8ea182"},"name":"Auto-generate Wordpress posts and social media updates With BrowserAct","tags":[],"nodes":[{"id":"b4354abe-0b88-4a5f-ac40-830082a476c6","name":"Generate an image","type":"@n8n/n8n-nodes-langchain.googleGemini","position":[1712,464],"parameters":{"prompt":"={{ $json.output.Prompt }} ","modelId":{"__rl":true,"mode":"list","value":"models/gemini-3-pro-image-preview","cachedResultName":"models/gemini-3-pro-image-preview (Nano Banana Pro)"},"options":{"binaryPropertyOutput":"data"},"resource":"image"},"credentials":{"googlePalmApi":{"id":"9pXYiybR74j5zn4d","name":"Google Gemini(PaLM) Api account"}},"typeVersion":1},{"id":"a2b9eea1-0ef1-4fec-826c-e9f2000afcd1","name":"Validate user Input","type":"@n8n/n8n-nodes-langchain.agent","position":[-288,304],"parameters":{"text":"={{ $json.message.text }}","options":{"systemMessage":"You are an input classification engine. Your sole purpose is to analyze user text and output a JSON object based on specific criteria. Do not generate conversational text; only output the raw JSON.\n\nRules for Classification (evaluated in order of priority):\n\n1. ARTICLE & LINK PROCESSING (Priority 1):\n If the user asks to generate, summarize, or read an article, blog post, or specific content (e.g., \"Summarize this page,\" \"Write an article based on this link,\" \"Analyze this\").\n - CRITICAL CHECK: Does the input contain a valid URL or web link?\n - IF YES (Link is present):\n - Set \"Type\" to \"Article_Request\".\n - Extract the URL as \"Link\".\n - Output format: {\"Type\": \"Article_Request\", \"Link\": \"extracted_link\"}\n \n - IF NO (Link is missing):\n - Treat this strictly as \"NoData\".\n - Output format: {\"Type\": \"NoData\", \"Link\": \"Null\"}\n\n2. REGULAR CHAT (Priority 2):\n If the user input is a greeting, small talk, or general conversational filler (e.g., \"Hello,\" \"How are you?\", \"Tell me a joke\") without asking for link processing.\n - Output format: {\"Type\": \"Chat\", \"Link\": \"Null\"}\n\n3. INSUFFICIENT DATA (Priority 3):\n If the user input is gibberish, vague, or if it matched the \"Article\" intent but lacked a link (as per Rule 1).\n - Output format: {\"Type\": \"NoData\", \"Link\": \"Null\"}\n\nOutput Constraint:\nReturn ONLY the raw JSON object. Do not wrap it in markdown code blocks. Do not add explanations."},"promptType":"define","hasOutputParser":true},"typeVersion":3},{"id":"914a9e2d-7435-41f0-bf2f-c2080a9651e4","name":"Images Analayze","type":"@n8n/n8n-nodes-langchain.agent","position":[1072,464],"parameters":{"text":"=[\n {\n \"type\": \"text\",\n \"text\": \"Analyze this image in extreme detail.\"\n },\n {\n \"type\": \"image_url\",\n \"image_urls\": {\n \"urls\": \"{{ $json.output.images }}\",\n \"detail\": \"high\"\n }\n }\n]","options":{"systemMessage":"You are an advanced image analysis AI specialized in deconstructing YouTube thumbnails. Your sole task is to generate an exhaustive, forensic-level description of the provided thumbnail image. You must analyze and describe absolutely every visual element present without omission.\n\nMethodically scan the image and provide a detailed account covering:\n\nBackground: The complete setting, location, environment, scenery, lighting, and weather.\n\nForeground & Subjects: Every person, character, or main object. Detail their appearance, clothing, facial expressions, poses, actions, and exact spatial positions relative to the frame.\n\nText: Transcribe absolutely all visible text exactly as it appears (including capitalization and punctuation). For every text element, specify its exact content, font style (e.g., bold, capitalized, handwritten), color, any effects (like outlines or shadows), and its precise location on the image.\n\nGraphics & Effects: Describe any logos, icons, brand marks, arrows, circles, emojis, overlays, borders, or visual effects (like explosions, blurs, or high contrast filters).\n\nComposition: The overall color palette, dominant tones, and the general mood or vibe the thumbnail conveys.\n\nCRITICAL OUTPUT CONSTRAINT: Your final output must consist only of the raw descriptive text stream. Do not include any introductions, explanations, section headers, formatting tags, metadata, or conversational fillers. Send only the complete description."},"promptType":"define","hasOutputParser":true},"typeVersion":3},{"id":"497eb6a7-b4b0-4713-bab0-a937f2f55fb5","name":"Generate Web Structure","type":"@n8n/n8n-nodes-langchain.agent","position":[2240,192],"parameters":{"text":"=Web_Article : {{ $('Analyze Input & Generate Article').first().json.output.web_article.title }}\n{{ $('Analyze Input & Generate Article').first().json.output.web_article.content }}\nimage link: {{ $('Upload Image To Wordpress').first().json.link }}\n\n","options":{"systemMessage":"Role: You are an expert Web Editor and SEO Specialist. Your goal is to transform raw article text into a high-converting, SEO-optimized, and HTML-formatted WordPress blog post.\n\nInput Data: You will receive a JSON object:\n\nweb_article: Contains title and content.\n\nimages: A list of strings, where each string is a public URL of an image.\n\nTask 1: Content Refinement & SEO\n\nTone: Professional, authoritative, and engaging.\n\nReadability: Break text into paragraphs of 2-3 sentences.\n\nSubheadings: Use

for main sections and

for subsections. Ensure they contain keywords naturally.\n\nFormatting: Use for key terms,