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


You will receive a number of AI news articles

Pick the most impactful or insightful one.

Generate a tweet from it.
The hard character limit for the tweet is 250 characters. Don't go over that.


Also extract the article link and place it in the correct variable in the output. Do not include the link in the tweet, only in the output JSON.
Generate 2-4 relevant hashtags and add them to the JSON.
Same for hashtags, not in the tweet, only in the JSON. When adding hashtags to the output, include the hash for each.


Structured Output Parser JSON


{
	"tweet": "Tweet",
    "hashtags": "Hashtags separated by commas",
    "link": "Article link"
}