### **Vibhag 1: RSS Feed Tarika (Sabase Aasan aur Muft) ⏱️ 10-15 minute**

Bahut badhiya! Main aapko Google Trends se news lekar automatically Postiz ke through 19+ platforms par post karne ke **teeno tarike** ek-ek karke, step-by-step samjhaunga. Pahle sabse aasan tarika, phir professional, aur aakhir mein sabse powerful. ### **Vibhag 1: RSS Feed Tarika (Sabase Aasan aur Muft) ⏱️ 10-15 minute** Yeh tarika Google Trends ke official RSS feed ka upyog karta hai. Iske liye kisi API key ki zaroorat nahi hai . **🔧 Step 1: n8n mein naya workflow banayein** - n8n dashboard mein jayen - "Create Workflow" button dabayein - Workflow ko naam dein: `Google Trends RSS to Postiz` **📡 Step 2: RSS Feed Trigger lagayein** - Nodes panel se **RSS Feed Read** node dhundein aur add karein - Ismein ye URL daalein: ``` https://trends.google.com/trending/rss?geo=IN ``` - `geo=IN` ka matlab India ke trends. Chahein to `geo=US` ya koi aur country code bhi daal sakte hain **🔄 Step 3: XML node lagayein** - **XML** node add karein - Isse RSS feed ka data JSON mein convert ho jayega - **Operation** mein "From XML" select karein - **Property Name** mein "data" likhein **⚙️ Step 4: Code node se data filter karein** - **Code** node add karein - JavaScript mode mein ye code daalein : ```javascript // RSS feed se trending topics nikaalein const items = $input.all(); const trends = []; for (const item of items) { const trend = { title: item.json.title || '', pubDate: item.json.pubDate || '', traffic: item.json['ht:approx_traffic'] || '0', newsItems: [] }; // Traffic ko number mein convert karein (e.g., "10K+" -> 10000) const trafficStr = trend.traffic.replace(/[^0-9]/g, ''); trend.trafficNumeric = parseInt(trafficStr) || 0; // News articles nikaalein if (item.json['ht:news_item']) { const newsArray = Array.isArray(item.json['ht:news_item']) ? item.json['ht:news_item'] : [item.json['ht:news_item']]; for (const news of newsArray) { trend.newsItems.push({ title: news['ht:news_item_title'] || '', url: news['ht:news_item_url'] || '', source: news['ht:news_item_source'] || '' }); } } // Sirf unhe rakhein jinka traffic zyada ho (optional) if (trend.trafficNumeric > 1000) { trends.push(trend); } } // Sirf top 5 trends return karein return trends.slice(0, 5); ``` **🤖 Step 5: AI se news summary banayein** - **OpenAI** ya **Gemini** node add karein - Prompt mein ye daalein: ``` Is trending topic par ek chhota news article likhein: Topic: {{title}} News sources se in points ko include karein: {{#each newsItems}} - {{title}} ({{source}}) {{/each}} 300 words mein, engaging style mein likhein. ``` **📤 Step 6: Postiz mein bhejein** - **Postiz** node add karein - Operation: "Create Post" select karein - Channel ID: Postiz se copy kiya hua channel ID daalein - Content: AI se mila hua summary daalein **⚡ Quick Setup Code**: ```javascript // Aasan tarike ke liye ye config use karein { "trigger": "RSS Feed Read", "url": "https://trends.google.com/trending/rss?geo=IN", "filter": { "minTraffic": 5000, // Kam se kam 5000 searches "maxItems": 3 // Sirf 3 trending topics } } ``` --- ### **Vibhag 2: n8n Community Nodes Tarika (Adhik Niyantran) ⏱️ 20-25 minute** Is tarike mein aap specially designed n8n nodes ka upyog karenge jo Google Trends ke saath seedha integrate hote hain. **📦 Step 1: Community Node Install Karein** Do achhe options hain: **Option A: n8n-nodes-trends (8 operations ke saath)** - n8n mein Settings → Community Nodes mein jayen - "Install" button dabayein - Package name: `n8n-nodes-trends` - Install karein aur n8n restart karein **Option B: @gamal.dev/n8n-nodes-google-trends (simple, bina API key ke)** - Package name: `@gamal.dev/n8n-nodes-google-trends` - Ismein credentials nahi chahiye, direct kaam karta hai **⚙️ Step 2: Google Trends Node Configure Karein** Node add karne ke baad, ise aise set karein : ```javascript Operation: "Daily Trends" // Ya "Real-Time Trends" Parameters: { "geo": "IN", // India ke trends "language": "hi-IN", // Hindi language "trendingHours": 24 // Pichle 24 ghante ke trends } ``` **📊 Step 3: Alag-alag Operations Ka Istemal** | Operation | Kya Data Deta Hai | Kaise Use Karein | |:---|:---|:---| | **Daily Trends** | Roz ke trending topics | Rozana news ke liye | | **Real-Time Trends** | Abhi ke trending topics | Breaking news ke liye | | **Trending Articles** | Trending topics se related articles | Detailed news ke liye | | **Interest Over Time** | Keyword ka historical data | Long-term analysis ke liye | **🧠 Step 4: Advanced Filtering Code** ```javascript // Google Trends node ke output ko process karein const trends = $input.all(); // Trending articles nikaalein const articles = []; for (const trend of trends) { if (trend.json.articles && trend.json.articles.length > 0) { for (const article of trend.json.articles.slice(0, 3)) { articles.push({ topic: trend.json.title, title: article.title, url: article.url, source: article.source, traffic: trend.json.traffic }); } } } // Unique articles return karein return [...new Map(articles.map(a => [a.url, a])).values()]; ``` **📝 Step 5: AI se Content Generate Karein** ```javascript // Gemini ya GPT-4 ke liye advanced prompt const prompt = ` Aap ek professional content creator hain. In trending topics ke liye alag-alag platform ke hisaab se content banayein: Trending Topics: ${JSON.stringify(articles, null, 2)} Har platform ke liye: - Facebook: Emotional hook, CTA, 2-3 lines - Twitter: Short, hashtags, under 280 chars - LinkedIn: Professional tone, insights, 4-5 lines - Instagram: Engaging, 15-20 hashtags, emojis - Pinterest: Keyword-rich description JSON format mein return karein. `; ``` --- ### **Vibhag 3: SerpApi Tarika (Sabase Vyavsayik) ⏱️ 30-40 minute** Yeh tarika sabse powerful hai lekin iske liye API subscription ki zaroorat hai. SerpApi ka Google Trends News API structured data deta hai . **🔑 Step 1: SerpApi Setup** 1. [SerpApi.com](https://serpapi.com) par account banayein 2. Dashboard se **API Key** copy karein 3. n8n mein **HTTP Request** node ke through use karein **📡 Step 2: Google Trends Trending Now API Call** ```javascript URL: "https://serpapi.com/search" Method: GET Parameters: { "engine": "google_trends_trending_now", "geo": "IN", // India ke trends "hl": "hi", // Hindi language "tz": "420", // India timezone (UTC+5:30) "api_key": "YOUR_API_KEY" } ``` Response kuch aisa aayega : ```json { "search_metadata": { ... }, "trending_searches": [ { "query": "trending topic", "traffic": "50K+ searches", "news_articles": [ { "title": "Article title", "link": "URL", "source": "Source name", "date": "2 hours ago", "thumbnail": "image URL" } ] } ] } ``` **📰 Step 3: News Articles Nikaalne Ke Liye Second API Call** Har trending topic ke news articles ke liye alag API call karna hoga : ```javascript // Pehle wale response se page_token nikaalein const trendingData = $input.first().json; const pageToken = trendingData.trending_searches[0].news_page_token; // Ab news API call karein URL: "https://serpapi.com/search" Method: GET Parameters: { "engine": "google_trends_news", "page_token": pageToken, "api_key": "YOUR_API_KEY" } ``` **🤖 Step 4: SEO Agent Style Content Generation** Aap SerpApi ke [SEO Agent](https://github.com/serpapi/seo-agent) jaisa system bana sakte hain : ```javascript // Step 1: Trending topics lein // Step 2: Har topic ke news articles lein // Step 3: AI se detailed report banayein // Step 4: Postiz par post karein const workflow = { trigger: "Cron (0 8 * * *)", // Roz subah 8 baje steps: [ "Google Trends API → Trending Topics", "For each topic → Google News API", "OpenAI → SEO Report generate", "Postiz → Multi-platform post" ] }; ``` **📊 Step 5: Complete SEO Report Template** ```markdown # 📈 Daily Trends Report - {{date}} ## Top Trending Topic: {{topic}} - Traffic: {{traffic}} - Category: {{category}} ### News Coverage: {{#each news}} - [{{source}}] {{title}} {{snippet}} {{/each}} ### Content Opportunities: 1. Write about {{topic}} from {{angle}} perspective 2. Target keywords: {{keywords}} 3. Competitors covering: {{competitors}} ### Recommended Hashtags: {{hashtags}} ``` --- ## **Teeno Tarikon Ki Tulna** | Feature | RSS Feed | Community Nodes | SerpApi | |:---|:---|:---|:---| | **API Key** | ❌ Nahi chahiye | ✅ Nahi chahiye | ✅ Chahiye | | **Cost** | ₹0 | ₹0 | $50+/month | | **Data Depth** | Basic trends | Intermediate | Advanced + News articles | | **Setup Time** | 10-15 min | 20-25 min | 30-40 min | | **Maintenance** | Zero | Low | Medium | | **Rate Limits** | Unlimited | Unlimited | 100-1000/month | | **Best For** | Shuruwat | Regular use | Professional use | --- ## **Aapke Liye Kya Sahi Hai?** 1. **Agar abhi shuruwat kar rahe hain**: **RSS Feed tarika** sabse aasan hai. 10 minute mein chal jayega aur free hai. 2. **Agar regular news chahiye aur kuch customization chahte hain**: **n8n-nodes-trends** lagayein. 8 operations hain, koi API key nahi chahiye. 3. **Agar professional grade news chahiye, articles ke saath**: **SerpApi** use karein. Paise lagenge lekin quality best hai. **Mera suggestion**: Pehle RSS Feed se start karein. 1 hafte baad agar aur data chahiye to Community Nodes par switch karein. Jab traffic badh jaye aur professional reporting chahiye, tab SerpApi par jayein. Kya aap chahte hain ki main in teeno tarikon ke ready-to-use n8n workflows ka JSON de doon? Isse aap seedha import karke use kar sakte hain! 😊

Comments

Popular posts from this blog

Here's a comprehensive home cleaning schedule to help keep your space tidy and organized:

how many types of banarasi silk saree and what there quality

Which suppliers provide guaranteed 1–2 day shipping options