workflows.fit
Back to n8n workflows
n8n templateFreeBy Robin Geuens

Create fact-based blog outlines with GPT-4o & Tavily search data

Overview Turn your keyword research into a clear, fact-based content outline with this workflow. It splits your keyword into 5-6 subtopics, makes research questions for those subtopics, and uses Tavily to pull answers...

DevelopmentCore NodesAILangchainOpen AiSplit Out@tavily/n8n-nodes-tavily.tavilySet
Loading interactive preview...

Template notes

Overview

Turn your keyword research into a clear, fact-based content outline with this workflow. It splits your keyword into 5-6 subtopics, makes research questions for those subtopics, and uses Tavily to pull answers from real search results. This way your outline is based on real data, not just AI training data, so you can create accurate and reliable content.

How it works

- Enter a keyword in the form to start the workflow - The OpenAI node splits the keyword into 5-6 research subtopics and makes a research question for each one. These questions will be used to enrich the outline later on - We split the research questions into separate items so we can process them one by one - Each research question is sent to Tavily. Tavily searches the web for answers and returns a short summary - Next, we add the answers to our JSON sections - We take all the separate items and join them into one list again - The JSON outline is converted into Markdown using a code node. The code takes the JSON headers, turns them into Markdown headings (level 2), and puts the answers underneath

Setup steps

1. Get an [OpenAI API](https://openai.com/api/) key and set up your credentials inside n8n 2. Sign up for a [Tavily](https://www.tavily.com/) account and get an API key — you can use a free account for testing 3. Install the Tavily community node. If you don’t want to use a community node, you can call Tavily directly using an HTTP node. Check their [API reference](https://docs.tavily.com/documentation/api-reference/endpoint/search) for what endpoints to call 4. Run the workflow and enter the keyword you want to target in the form 5. Adjust the workflow to decide what to do with the Markdown outline

Requirements

- An [OpenAI API](https://openai.com/api/) key - A [Tavily](https://www.tavily.com/) account - The Tavily community node installed - (Optional) If you don’t want to use the Tavily community node, use a regular HTTP node and call the API directly. Check their [API reference](https://docs.tavily.com/documentation/api-reference/endpoint/search) for what endpoints to call