RSS Feed URL
https://news.google.com/rss/search?q=AI+tools
Code Node
const articles = items.map(item => {
return `• ${item.json.title} — ${item.json.link}`;
});
const prompt = articles.join('\n');
return [
{
json: {
rss_summary_prompt: prompt
}
}
];AI Agent System Prompt
Here are some recent AI news articles: Pick the most impactful or insightful one. Return: - Title - An opening one sentence paragraph - Any relevant bullet points - A one sentence closing paragraph - The link to the tool - 3–5 relevant hashtags Format your output according to the output parser to achieve a JSON output.
Structured Output Parser JSON
{
"title": "Title",
"intro_paragraph": "The first paragraph",
"bullet_points": "Bullet points",
"outro_paragraph": "The second paragraph",
"link": "https link",
"hashtags": "Hashtags"
}Article Structure:
{{ $json.output.title }}
{{ $json.output.intro_paragraph }}
{{ $json.output.bullet_points }}
{{ $json.output.outro_paragraph }}
{{ $json.output.link }}
{{ $json.output.hashtags }}