Build a weekly AI trend alerter with arXiv and Weaviate
Build a Weekly AI Trend Alerter with arXiv and Weaviate
Ditch the endless scroll for AI trends. Meet Archi, your personal AI research assistant that hits you up once a week with everyone you need to know. ๐ง๐ฝโ๐ฌ
This workflow scrapes AI and machine learning article abstracts from arXiv, enriches them with topic categories using a LLM, and embeds them in a Weaviate vector store. The vector store is then used as a tool for agentic RAG to write a concise, easy-to-read summary of the week in AI research.
The final output is a short, weekly email sent to the address of your choice that summarizes key AI research trends and future research directions, with links directly to the most interesting and impactful arXiv papers of the week.
Who it's for
This workflow is for anyone who can't keep up with all the latest AI advances. Coding skills are not required.
How it works
This is a contiguous workflow that can be summarized in two main parts: a data pipeline that fetches and embeds articles in Weaviate, and an agentic workflow that generates a weekly email summary.
Part 1: Automatically fetch newly published articles on a weekly basis
- Fetch article abstracts (and metadata) from arXiv's free API
- Pre-process abstract data
- Enrich each article with a primary topic, secondary topics, and estimated potential impact of the research using a LLM
- Post-process data
- Insert data and embeddings into Weaviate
Part 2: Use an AI Agent and Weaviate to generate a weekly summary email
- Add Weaviate as a Tool to an AI agent node
- Query Weaviate, agentically, to generate a report on the most important research trends of the week
- Post-process data
- Send the summary via email
Prerequisites
- An existing Weaviate cluster. You can view instructions for setting up a local cluster with Docker here or a Weaviate Cloud cluster here.
- API keys to generate embeddings and power chat models. We use a combination of OpenRouter and OpenAI models. Feel free to switch out the models as you like.
- An email address with STMP privileges. This is the address the email will come from. In this demo we use a personal Gmail address. You can create a new credential to link a
STMP Accountusing these instructions. - Self-hosted n8n instance. See this video for how to get set up in just three minutes.
How to run the workflow
- Go through the prerequisites, creating a Weaviate cluster (can be local or cloud), downloading self-hosted n8n, creating STMP privileges for your email account, and adding your API keys and other credentials.
- Select the embedding and chat models you'd like to use.
- Enter the email addresses you want to send the email from and to.
- Let it rip.
Workflow output
The output for this workflow is a weekly email that summarizes key research trends and future research directions based on AI and ML papers published on arXiv.
Here's an example of a summary email:
Hey there,
Here's a quick rundown of the key trends in Machine Learning research from the past week.
Key Research Trends This Week
This week saw significant advancements in retrieval-augmented systems, foundation models for specialized domains, and techniques balancing efficiency with performance.
-
Advanced RAG Architectures: Researchers are developing sophisticated RAG frameworks that go beyond simple document retrieval, with AdaPCR introducing passage combination retrieval and UrbanMind proposing a framework for urban intelligence with multilevel optimization.
-
Foundation Models for Tabular Data: The Real-TabPFN shows that targeted continued pre-training on real-world datasets can significantly boost the performance of foundation models for tabular data, outperforming models trained on broader, potentially noisier datasets.
-
Efficiency-Focused Techniques: Researchers are developing resourceful methods that maintain performance without expensive computations, like logit reweighting for topic-focused summarization and strategic querying for privacy-preserving personalization.
Future Research Directions
Based on current trends, we expect to see the following developments in the near future:
-
Explainable RAG Systems: Following the source attribution work in RAG systems, we can expect more research into making complex retrieval systems transparent and explainable for users.
-
Cross-Domain and Cross-Modal Fusion: The promising performance of vision-language and code-specialized LLMs in retrieval tasks points toward unified retrievers capable of handling text, code, images, and multimodal content.
-
Data-Centric Synthetic Generation: As shown by work on synthetic relational tabular data, we'll likely see more sophisticated approaches to generating high-quality synthetic data for pre-training foundation models in specialized domains.
This week highlights how researchers are making AI more efficient, explainable, and applicable to specialized domains. Look out for more developments in RAG systems, tabular foundation models, and privacy-preserving AI techniques in the coming weeks.
Until next week,
Archi 
Want to make it better?
Feel free to tweak, build on, or completely reconfigure this workflow. If you come up with something cool, let us know and we might just share it with our community! ๐
AI-Powered Weekly Trend Alerter with arXiv and Weaviate
This n8n workflow automates the process of identifying and summarizing emerging AI trends by leveraging academic papers from arXiv and storing them in Weaviate for efficient retrieval and analysis. It then generates a weekly email alert with the latest insights.
What it does
This workflow performs the following key steps:
- Schedules Weekly Execution: Triggers once a week to fetch the latest AI research.
- Fetches Latest arXiv Papers: Makes an HTTP request to the arXiv API to retrieve recently published papers in AI-related fields (e.g., "cs.AI", "cs.CL", "cs.LG", "cs.NE", "stat.ML").
- Parses XML Data: Converts the XML response from arXiv into a structured JSON format.
- Extracts and Cleans Data: Processes the parsed data to extract relevant fields like title, authors, abstract, and publication date. It also formats the publication date.
- Filters for Recent Papers: Keeps only papers published within the last 7 days.
- Removes Duplicates: Ensures that only unique papers are processed.
- Generates Embeddings: Uses OpenAI Embeddings to create vector representations of the paper abstracts, which are crucial for semantic search.
- Stores in Weaviate: Adds the processed papers and their embeddings to a Weaviate vector database, making them searchable.
- Analyzes Trends with AI Agent: Utilizes an AI Agent (powered by an OpenRouter Chat Model and Simple Memory) to analyze the newly added papers and identify emerging trends.
- Structures AI Output: Parses the AI agent's response into a structured format using a Structured Output Parser.
- Formats Email Content: Converts the AI-generated trend summary into a readable Markdown format for the email.
- Sends Weekly Trend Alert: Composes and sends an email containing the identified AI trends to a specified recipient.
Prerequisites/Requirements
To use this workflow, you will need:
- n8n Instance: A running n8n instance (cloud or self-hosted).
- OpenAI API Key: For generating embeddings.
- OpenRouter API Key: For the AI Chat Model.
- Weaviate Instance: Access to a Weaviate vector database instance.
- SMTP Credentials: For sending emails.
Setup/Usage
- Import the Workflow: Download the provided JSON and import it into your n8n instance.
- Configure Credentials:
- OpenAI Embeddings: Configure your OpenAI API key credential.
- OpenRouter Chat Model: Configure your OpenRouter API key credential.
- Weaviate Vector Store: Configure your Weaviate credentials (API key, URL, etc.).
- Send Email: Configure your SMTP credentials for sending emails.
- Customize arXiv Query (HTTP Request node - ID: 19):
- Adjust the
search_queryparameter to focus on different AI subfields if needed. - Modify the
max_resultsto control the number of papers fetched.
- Adjust the
- Configure Email Recipient (Send Email node - ID: 11):
- Update the "To" email address to your desired recipient.
- Customize the email subject and body as needed.
- Activate the Workflow: Once configured, activate the workflow. It will automatically run weekly based on the "Schedule Trigger" node.
- Optional: Adjust Schedule (Schedule Trigger node - ID: 839): Modify the cron expression if you want to change the frequency or timing of the alerts.
Related Templates
Auto-create TikTok videos with VEED.io AI avatars, ElevenLabs & GPT-4
๐ฅ Viral TikTok Video Machine: Auto-Create Videos with Your AI Avatar --- ๐ฏ Who is this for? This workflow is for content creators, marketers, and agencies who want to use Veed.ioโs AI avatar technology to produce short, engaging TikTok videos automatically. Itโs ideal for creators who want to appear on camera without recording themselves, and for teams managing multiple brands who need to generate videos at scale. --- โ๏ธ What problem this workflow solves Manually creating videos for TikTok can take hours โ finding trends, writing scripts, recording, and editing. By combining Veed.io, ElevenLabs, and GPT-4, this workflow transforms a simple Telegram input into a ready-to-post TikTok video featuring your AI avatar powered by Veed.io โ speaking naturally with your cloned voice. --- ๐ What this workflow does This automation links Veed.ioโs video-generation API with multiple AI tools: Analyzes TikTok trends via Perplexity AI Writes a 10-second viral script using GPT-4 Generates your voiceover via ElevenLabs Uses Veed.io (Fabric 1.0 via FAL.ai) to animate your avatar and sync the lips to the voice Creates an engaging caption + hashtags for TikTok virality Publishes the video automatically via Blotato TikTok API Logs all results to Google Sheets for tracking --- ๐งฉ Setup Telegram Bot Create your bot via @BotFather Configure it as the trigger for sending your photo and theme Connect Veed.io Create an account on Veed.io Get your FAL.ai API key (Veed Fabric 1.0 model) Use HTTPS image/audio URLs compatible with Veed Fabric Other APIs Add Perplexity, ElevenLabs, and Blotato TikTok keys Connect your Google Sheet for logging results --- ๐ ๏ธ How to customize this workflow Change your Avatar: Upload a new image through Telegram, and Veed.io will generate a new talking version automatically. Modify the Script Style: Adjust the GPT prompt for tone (educational, funny, storytelling). Adjust Voice Tone: Tweak ElevenLabs stability and similarity settings. Expand Platforms: Add Instagram, YouTube Shorts, or X (Twitter) posting nodes. Track Performance: Customize your Google Sheet to measure your most successful Veed.io-based videos. --- ๐ง Expected Outcome In just a few seconds after sending your photo and theme, this workflow โ powered by Veed.io โ creates a fully automated TikTok video featuring your AI avatar with natural lip-sync and voice. The result is a continuous stream of viral short videos, made without cameras, editing, or effort. --- โ Import the JSON file in n8n, add your API keys (including Veed.io via FAL.ai), and start generating viral TikTok videos starring your AI avatar today! ๐ฅ Watch This Tutorial --- ๐ Documentation: Notion Guide Need help customizing? Contact me for consulting and support : Linkedin / Youtube
Track competitor SEO keywords with Decodo + GPT-4.1-mini + Google Sheets
This workflow automates competitor keyword research using OpenAI LLM and Decodo for intelligent web scraping. Who this is for SEO specialists, content strategists, and growth marketers who want to automate keyword research and competitive intelligence. Marketing analysts managing multiple clients or websites who need consistent SEO tracking without manual data pulls. Agencies or automation engineers using Google Sheets as an SEO data dashboard for keyword monitoring and reporting. What problem this workflow solves Tracking competitor keywords manually is slow and inconsistent. Most SEO tools provide limited API access or lack contextual keyword analysis. This workflow solves that by: Automatically scraping any competitorโs webpage with Decodo. Using OpenAI GPT-4.1-mini to interpret keyword intent, density, and semantic focus. Storing structured keyword insights directly in Google Sheets for ongoing tracking and trend analysis. What this workflow does Trigger โ Manually start the workflow or schedule it to run periodically. Input Setup โ Define the website URL and target country (e.g., https://dev.to, france). Data Scraping (Decodo) โ Fetch competitor web content and metadata. Keyword Analysis (OpenAI GPT-4.1-mini) Extract primary and secondary keywords. Identify focus topics and semantic entities. Generate a keyword density summary and SEO strength score. Recommend optimization and internal linking opportunities. Data Structuring โ Clean and convert GPT output into JSON format. Data Storage (Google Sheets) โ Append structured keyword data to a Google Sheet for long-term tracking. Setup Prerequisites If you are new to Decode, please signup on this link visit.decodo.com n8n account with workflow editor access Decodo API credentials OpenAI API key Google Sheets account connected via OAuth2 Make sure to install the Decodo Community node. Create a Google Sheet Add columns for: primarykeywords, seostrengthscore, keyworddensity_summary, etc. Share with your n8n Google account. Connect Credentials Add credentials for: Decodo API credentials - You need to register, login and obtain the Basic Authentication Token via Decodo Dashboard OpenAI API (for GPT-4o-mini) Google Sheets OAuth2 Configure Input Fields Edit the โSet Input Fieldsโ node to set your target site and region. Run the Workflow Click Execute Workflow in n8n. View structured results in your connected Google Sheet. How to customize this workflow Track Multiple Competitors โ Use a Google Sheet or CSV list of URLs; loop through them using the Split In Batches node. Add Language Detection โ Add a Gemini or GPT node before keyword analysis to detect content language and adjust prompts. Enhance the SEO Report โ Expand the GPT prompt to include backlink insights, metadata optimization, or readability checks. Integrate Visualization โ Connect your Google Sheet to Looker Studio for SEO performance dashboards. Schedule Auto-Runs โ Use the Cron Node to run weekly or monthly for competitor keyword refreshes. Summary This workflow automates competitor keyword research using: Decodo for intelligent web scraping OpenAI GPT-4.1-mini for keyword and SEO analysis Google Sheets for live tracking and reporting Itโs a complete AI-powered SEO intelligence pipeline ideal for teams that want actionable insights on keyword gaps, optimization opportunities, and content focus trends, without relying on expensive SEO SaaS tools.
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