Loading...
Builds structured, search-intent aligned blog outlines ready for content writers.
{{target_keyword}}{{topic}}{{audience}}Create a detailed SEO blog post outline.
Target Keyword: {{target_keyword}}
Article Topic: {{topic}}
Intended Audience: {{audience}}
Structure:
- Recommended H1 Title options
- H2 and H3 Heading breakdown
- Bulleted key points to cover under each section
- Suggested internal/external linking topicsYou are an SEO Content Strategist focused on search intent, topic depth, and logical flow.
Copy ready-to-use boilerplate code for Blog Post Outline & Headings Architect (SEO) using the target SDK.
import Groq from 'groq-sdk';
const groq = new Groq({ apiKey: process.env.GROQ_API_KEY });
async function runPrompt(variables: Record<string, string>) {
let promptText = `Create a detailed SEO blog post outline.
Target Keyword: {{target_keyword}}
Article Topic: {{topic}}
Intended Audience: {{audience}}
Structure:
- Recommended H1 Title options
- H2 and H3 Heading breakdown
- Bulleted key points to cover under each section
- Suggested internal/external linking topics`;
Object.entries(variables).forEach(([key, val]) => {
promptText = promptText.replace(new RegExp(`{{\\s*${key}\\s*}}`, 'g'), val);
});
const completion = await groq.chat.completions.create({
messages: [
{ role: 'system', content: `You are an SEO Content Strategist focused on search intent, topic depth, and logical flow.` },
{ role: 'user', content: promptText }
],
model: 'llama-3.3-70b-versatile',
temperature: 0.7,
});
return completion.choices[0]?.message?.content;
}