AutomationFlowsAI & RAG › AI Wealthlab Content Generator

AI Wealthlab Content Generator

AI_WealthLab_Content_Generator. Uses openAi. Event-driven trigger; 7 nodes.

Event trigger★★★★☆ complexityAI-powered7 nodesOpenAI
AI & RAG Trigger: Event Nodes: 7 Complexity: ★★★★☆ AI nodes: yes Added:

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
{
  "name": "AI_WealthLab_Content_Generator",
  "nodes": [
    {
      "id": "ManualTrigger",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        200,
        300
      ]
    },
    {
      "id": "SetContext",
      "name": "Set Context",
      "type": "n8n-nodes-base.set",
      "typeVersion": 2,
      "position": [
        400,
        300
      ],
      "parameters": {
        "values": {
          "string": [
            {
              "name": "brand",
              "value": "AI WealthLab"
            },
            {
              "name": "platform",
              "value": "LinkedIn"
            },
            {
              "name": "tone",
              "value": "Clear, practical, human"
            }
          ]
        }
      }
    },
    {
      "id": "ResearchTopics",
      "name": "Research Topics",
      "type": "n8n-nodes-base.openAi",
      "typeVersion": 1,
      "position": [
        600,
        300
      ],
      "parameters": {
        "model": "gpt-4",
        "messages": [
          {
            "role": "system",
            "content": "You are a research assistant for AI educators. Generate 5 high-engagement topics about AI automation, workflows, and AI tools. Keep them practical and debate-worthy."
          }
        ]
      }
    },
    {
      "id": "SelectTopic",
      "name": "Select Topic",
      "type": "n8n-nodes-base.function",
      "typeVersion": 1,
      "position": [
        800,
        300
      ],
      "parameters": {
        "functionCode": "const text = items[0].json.choices[0].message.content;\nconst lines = text.split('\\n').filter(l => l.trim() !== '');\nreturn [{ json: { topic: lines[0] } }];"
      }
    },
    {
      "id": "GenerateAngle",
      "name": "Generate Angle",
      "type": "n8n-nodes-base.openAi",
      "typeVersion": 1,
      "position": [
        1000,
        300
      ],
      "parameters": {
        "model": "gpt-4",
        "messages": [
          {
            "role": "system",
            "content": "Create one strong educational angle for the topic. Focus on clarity and usefulness."
          },
          {
            "role": "user",
            "content": "Topic: {{$json.topic}}"
          }
        ]
      }
    },
    {
      "id": "WritePost",
      "name": "Write Post",
      "type": "n8n-nodes-base.openAi",
      "typeVersion": 1,
      "position": [
        1200,
        300
      ],
      "parameters": {
        "model": "gpt-4",
        "messages": [
          {
            "role": "system",
            "content": "Write a social media post for AI WealthLab. Clear, practical, human. Short paragraphs. No hype. End with a question."
          },
          {
            "role": "user",
            "content": "Platform: {{$node['Set Context'].json.platform}}\nTopic: {{$json.topic}}"
          }
        ]
      }
    },
    {
      "id": "ImagePrompt",
      "name": "Generate Image Prompt",
      "type": "n8n-nodes-base.openAi",
      "typeVersion": 1,
      "position": [
        1400,
        300
      ],
      "parameters": {
        "model": "gpt-4",
        "messages": [
          {
            "role": "system",
            "content": "Create a simple image prompt for a clean social media graphic. Modern AI education style. No text."
          },
          {
            "role": "user",
            "content": "Topic: {{$json.topic}}"
          }
        ]
      }
    }
  ],
  "connections": {
    "ManualTrigger": {
      "main": [
        [
          {
            "node": "SetContext",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SetContext": {
      "main": [
        [
          {
            "node": "ResearchTopics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ResearchTopics": {
      "main": [
        [
          {
            "node": "SelectTopic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SelectTopic": {
      "main": [
        [
          {
            "node": "GenerateAngle",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GenerateAngle": {
      "main": [
        [
          {
            "node": "WritePost",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "WritePost": {
      "main": [
        [
          {
            "node": "ImagePrompt",
            "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

AI_WealthLab_Content_Generator. Uses openAi. Event-driven trigger; 7 nodes.

Source: https://gist.github.com/alech-1974/32f188f67e310cb634ef7d23e60c56dd — 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

Ask questions like “How much did I spend on food last month?” and get instant answers from your financial data — directly in Telegram.

Telegram Trigger, OpenAI, Google Sheets +2
AI & RAG

The Problem That it Solves

Google Drive Trigger, OpenAI, Google Drive +5
AI & RAG

This intelligent email automation workflow helps you maximize engagement through domain-based outreach. It utilizes AI-powered personalization and strategic follow-ups to increase response rates. The

Gmail, HTTP Request, Google Sheets +1
AI & RAG

Note: Now includes an Apify alternative for Rapid API (Some users can't create new accounts on Rapid API, so I have added an alternative for you. But immediately you are able to get access to Rapid AP

Form Trigger, Google Sheets Trigger, OpenAI +2
AI & RAG

Scrape ads – Pulls Facebook Ad Library data for "ai automation" keywords using Apify Filter & sort – Filters ads by page likes (>1,000) and separates into videos, images, and text ads Analyze creat

HTTP Request, Google Drive, OpenAI +3