Back to Catalog

Create dual-source expert articles with internal knowledge and web research using Lookio, Linkup, and GPT-5

Guillaume DuvernayGuillaume Duvernay
252 views
2/3/2026
Official Page

Create truly authoritative articles that blend your unique, internal expertise with the latest, most relevant information from the web. This template orchestrates an advanced "hybrid research" content process that delivers unparalleled depth and credibility.

Instead of a simple prompt, this workflow first uses an AI planner to deconstruct your topic into key questions. Then, for each question, it performs a dual-source query: it searches your trusted Lookio knowledge base for internal facts and simultaneously uses Linkup to pull fresh insights and sources from the live web. This comprehensive "super-brief" is then handed to a powerful AI writer to compose a high-quality article, complete with citations from both your own documents and external web pages.

👥 Who is this for?

  • Content Marketers & SEO Specialists: Scale the creation of authoritative content that is both grounded in your brand's facts and enriched with timely, external sources for maximum credibility.
  • Technical Writers & Subject Matter Experts: Transform complex internal documentation into rich, public-facing articles by supplementing your core knowledge with external context and recent data.
  • Marketing Agencies: Deliver exceptional, well-researched articles for clients by connecting the workflow to their internal materials (via Lookio) and the broader web (via Linkup) in one automated process.

💡 What problem does this solve?

  • The Best of Both Worlds: Combines the factual reliability of your own knowledge base with the timeliness and breadth of a web search, resulting in articles with unmatched depth.
  • Minimizes AI "Hallucinations": Grounds the AI writer in two distinct sets of factual, source-based information—your internal documents and credible web pages—dramatically reducing the risk of invented facts.
  • Maximizes Credibility: Automates the inclusion of source links from both your internal knowledge base and external websites, boosting reader trust and demonstrating thorough research.
  • Ensures Comprehensive Coverage: The AI-powered "topic breakdown" ensures a logical structure, while the dual-source research for each point guarantees no stone is left unturned.
  • Fully Automates an Expert Workflow: Mimics the entire process of an expert research team (outline, internal review, external research, consolidation, writing) in a single, scalable workflow.

⚙️ How it works

This workflow orchestrates a sophisticated, multi-step "Plan, Dual-Research, Write" process:

  1. Plan (Decomposition): You provide an article title and guidelines via the built-in form. An initial AI call acts as a "planner," breaking down the main topic into an array of logical sub-questions.
  2. Dual Research (Knowledge Base + Web Search): The workflow loops through each sub-question and performs two research actions in parallel:
    • It queries your Lookio assistant to retrieve relevant information and source links from your uploaded documents.
    • It queries Linkup to perform a targeted web search, gathering up-to-date insights and their source URLs.
  3. Consolidate (Brief Creation): All the retrieved information—internal and external—is compiled into a single, comprehensive research brief for each sub-question.
  4. Write (Final Generation): The complete, source-rich brief is handed to a final, powerful AI writer (e.g., GPT-5). Its instructions are clear: write a high-quality article based only on the provided research and integrate all source links as hyperlinks.

🛠️ Setup

  1. Set up your Lookio assistant:
    • Sign up at Lookio, upload your documents to create a knowledge base, and create a new assistant.
    • In the Query Lookio Assistant node, paste your Assistant ID in the body and add your Lookio API Key for authentication (we recommend a Bearer Token credential).
  2. Connect your Linkup account:
    • In the Query Linkup for AI web-search node, add your Linkup API key for authentication (we recommend a Bearer Token credential). Linkup's free plan is very generous.
  3. Connect your AI provider:
    • Connect your AI provider (e.g., OpenAI) credentials to the two Language Model nodes.
  4. Activate the workflow:
    • Toggle the workflow to "Active" and use the built-in form to generate your first hybrid-research article!

🚀 Taking it further

  • Automate Publishing: Connect the final Article result node to a Webflow or WordPress node to automatically create draft posts in your CMS.
  • Generate Content in Bulk: Replace the Form Trigger with an Airtable or Google Sheet trigger to generate a batch of articles from your content calendar.
  • Customize the Writing Style: Tweak the system prompt in the final New content - Generate the AI output node to match your brand's tone of voice, prioritize internal vs. external sources, or add SEO keywords.

n8n Workflow: Create Dual-Source Expert Articles

This n8n workflow automates the generation of expert articles by combining internal knowledge with external web research using Lookio, Linkup, and GPT-5. It's designed to streamline content creation for topics requiring both curated internal data and up-to-date external information.

What it does

This workflow takes a user-submitted topic, performs web research, integrates it with a predefined internal knowledge base, and then uses an advanced AI model (GPT-5) to synthesize this information into a structured article.

  1. Triggers on Form Submission: The workflow starts when a user submits a topic via an n8n form.
  2. Performs Web Research: It makes an HTTP request to an external service (likely Lookio/Linkup based on the directory name) to gather web-based research on the submitted topic.
  3. Combines Data: It prepares the collected web research and a predefined internal knowledge base for processing.
  4. Generates Article with AI: It utilizes a LangChain Basic LLM Chain, specifically an OpenAI Chat Model (GPT-5), to generate an article based on the combined internal knowledge and web research.
  5. Structures Output: The generated article is then processed by a Structured Output Parser to ensure it adheres to a desired format.
  6. Batches and Aggregates: The workflow includes steps to loop over items, split them into batches, and then aggregate the results, suggesting it might handle multiple research queries or article sections.
  7. Final Output: The final, structured article is then available for further use or publication.

Prerequisites/Requirements

To use this workflow, you will need:

  • n8n Instance: A running n8n instance.
  • OpenAI API Key: For the OpenAI Chat Model (GPT-5).
  • Lookio/Linkup API Access: Although not explicitly configured in the provided JSON, the "HTTP Request" node is likely configured to interact with a web research API like Lookio or Linkup, as suggested by the workflow's directory name. You would need credentials or access to such a service.
  • Internal Knowledge Base: A source for your internal knowledge, which would be integrated into the workflow (likely via a previous node not included in this JSON snippet, or hardcoded within a node).

Setup/Usage

  1. Import the Workflow: Import the provided JSON into your n8n instance.
  2. Configure Credentials:
    • Set up your OpenAI API Key credential for the "OpenAI Chat Model" node.
    • Configure the "HTTP Request" node with the necessary API endpoint and credentials for your web research service (e.g., Lookio/Linkup).
  3. Configure the n8n Form Trigger: Customize the "On form submission" node to define the input fields for your article topics.
  4. Customize Internal Knowledge (if applicable): If your internal knowledge is not dynamically fetched, you may need to modify a preceding node (not shown in this JSON) or inject it into the "Edit Fields (Set)" node.
  5. Activate the Workflow: Once configured, activate the workflow. You can then submit topics via the n8n form to generate articles.

Related Templates

Generate song lyrics and music from text prompts using OpenAI and Fal.ai Minimax

Spark your creativity instantly in any chat—turn a simple prompt like "heartbreak ballad" into original, full-length lyrics and a professional AI-generated music track, all without leaving your conversation. 📋 What This Template Does This chat-triggered workflow harnesses AI to generate detailed, genre-matched song lyrics (at least 600 characters) from user messages, then queues them for music synthesis via Fal.ai's minimax-music model. It polls asynchronously until the track is ready, delivering lyrics and audio URL back in chat. Crafts original, structured lyrics with verses, choruses, and bridges using OpenAI Submits to Fal.ai for melody, instrumentation, and vocals aligned to the style Handles long-running generations with smart looping and status checks Returns complete song package (lyrics + audio link) for seamless sharing 🔧 Prerequisites n8n account (self-hosted or cloud with chat integration enabled) OpenAI account with API access for GPT models Fal.ai account for AI music generation 🔑 Required Credentials OpenAI API Setup Go to platform.openai.com → API keys (sidebar) Click "Create new secret key" → Name it (e.g., "n8n Songwriter") Copy the key and add to n8n as "OpenAI API" credential type Test by sending a simple chat completion request Fal.ai HTTP Header Auth Setup Sign up at fal.ai → Dashboard → API Keys Generate a new API key → Copy it In n8n, create "HTTP Header Auth" credential: Name="Fal.ai", Header Name="Authorization", Header Value="Key [Your API Key]" Test with a simple GET to their queue endpoint (e.g., /status) ⚙️ Configuration Steps Import the workflow JSON into your n8n instance Assign OpenAI API credentials to the "OpenAI Chat Model" node Assign Fal.ai HTTP Header Auth to the "Generate Music Track", "Check Generation Status", and "Fetch Final Result" nodes Activate the workflow—chat trigger will appear in your n8n chat interface Test by messaging: "Create an upbeat pop song about road trips" 🎯 Use Cases Content Creators: YouTubers generating custom jingles for videos on the fly, streamlining production from idea to audio export Educators: Music teachers using chat prompts to create era-specific folk tunes for classroom discussions, fostering interactive learning Gift Personalization: Friends crafting anniversary R&B tracks from shared memories via quick chats, delivering emotional audio surprises Artist Brainstorming: Songwriters prototyping hip-hop beats in real-time during sessions, accelerating collaboration and iteration ⚠️ Troubleshooting Invalid JSON from AI Agent: Ensure the system prompt stresses valid JSON; test the agent standalone with a sample query Music Generation Fails (401/403): Verify Fal.ai API key has minimax-music access; check usage quotas in dashboard Status Polling Loops Indefinitely: Bump wait time to 45-60s for complex tracks; inspect fal.ai queue logs for bottlenecks Lyrics Under 600 Characters: Tweak agent prompt to enforce fuller structures like [V1][C][V2][B][C]; verify output length in executions

Daniel NkenchoBy Daniel Nkencho
601

AI-powered code review with linting, red-marked corrections in Google Sheets & Slack

Advanced Code Review Automation (AI + Lint + Slack) Who’s it for For software engineers, QA teams, and tech leads who want to automate intelligent code reviews with both AI-driven suggestions and rule-based linting — all managed in Google Sheets with instant Slack summaries. How it works This workflow performs a two-layer review system: Lint Check: Runs a lightweight static analysis to find common issues (e.g., use of var, console.log, unbalanced braces). AI Review: Sends valid code to Gemini AI, which provides human-like review feedback with severity classification (Critical, Major, Minor) and visual highlights (red/orange tags). Formatter: Combines lint and AI results, calculating an overall score (0–10). Aggregator: Summarizes results for quick comparison. Google Sheets Writer: Appends results to your review log. Slack Notification: Posts a concise summary (e.g., number of issues and average score) to your team’s channel. How to set up Connect Google Sheets and Slack credentials in n8n. Replace placeholders (<YOURSPREADSHEETID>, <YOURSHEETGIDORNAME>, <YOURSLACKCHANNEL_ID>). Adjust the AI review prompt or lint rules as needed. Activate the workflow — reviews will start automatically whenever new code is added to the sheet. Requirements Google Sheets and Slack integrations enabled A configured AI node (Gemini, OpenAI, or compatible) Proper permissions to write to your target Google Sheet How to customize Add more linting rules (naming conventions, spacing, forbidden APIs) Extend the AI prompt for project-specific guidelines Customize the Slack message formatting Export analytics to a dashboard (e.g., Notion or Data Studio) Why it’s valuable This workflow brings realistic, team-oriented AI-assisted code review to n8n — combining the speed of automated linting with the nuance of human-style feedback. It saves time, improves code quality, and keeps your team’s review history transparent and centralized.

higashiyama By higashiyama
90

Auto-reply & create Linear tickets from Gmail with GPT-5, gotoHuman & human review

This workflow automatically classifies every new email from your linked mailbox, drafts a personalized reply, and creates Linear tickets for bugs or feature requests. It uses a human-in-the-loop with gotoHuman and continuously improves itself by learning from approved examples. How it works The workflow triggers on every new email from your linked mailbox. Self-learning Email Classifier: an AI model categorizes the email into defined categories (e.g., Bug Report, Feature Request, Sales Opportunity, etc.). It fetches previously approved classification examples from gotoHuman to refine decisions. Self-learning Email Writer: the AI drafts a reply to the email. It learns over time by using previously approved replies from gotoHuman, with per-classification context to tailor tone and style (e.g., different style for sales vs. bug reports). Human Review in gotoHuman: review the classification and the drafted reply. Drafts can be edited or retried. Approved values are used to train the self-learning agents. Send approved Reply: the approved response is sent as a reply to the email thread. Create ticket: if the classification is Bug or Feature Request, a ticket is created by another AI agent in Linear. Human Review in gotoHuman: How to set up Most importantly, install the gotoHuman node before importing this template! (Just add the node to a blank canvas before importing) Set up credentials for gotoHuman, OpenAI, your email provider (e.g. Gmail), and Linear. In gotoHuman, select and create the pre-built review template "Support email agent" or import the ID: 6fzuCJlFYJtlu9mGYcVT. Select this template in the gotoHuman node. In the "gotoHuman: Fetch approved examples" http nodes you need to add your formId. It is the ID of the review template that you just created/imported in gotoHuman. Requirements gotoHuman (human supervision, memory for self-learning) OpenAI (classification, drafting) Gmail or your preferred email provider (for email trigger+replies) Linear (ticketing) How to customize Expand or refine the categories used by the classifier. Update the prompt to reflect your own taxonomy. Filter fetched training data from gotoHuman by reviewer so the writer adapts to their personalized tone and preferences. Add more context to the AI email writer (calendar events, FAQs, product docs) to improve reply quality.

gotoHumanBy gotoHuman
353