Zapier Integration
Zapier is the most popular workflow automation platform with 8,000+ app integrations. With APITube News API, you can build automated Zaps for news monitoring, alerts, and AI-powered digests — all without writing code.
Prerequisites
Setting Up APITube Credentials
Zapier does not have a built-in APITube integration, so we use the Webhooks by Zapier app to make HTTP requests. Authentication is passed as a header in each request.
When configuring a Webhooks step:
- Set Method to
GET - Under Headers, add:
X-API-Key|YOUR_API_KEY - Set URL to the APITube endpoint (e.g.,
https://api.apitube.io/v1/news/everything)
TIP
You can also pass the API key as a query parameter: add api_key=YOUR_API_KEY to the URL. However, using the header is recommended for security.
API Endpoints Reference
| Endpoint | Method | Description |
|---|---|---|
/v1/news/everything | GET | Search all articles with 50+ filters |
/v1/news/top-headlines | GET | Top news from authoritative sources |
/v1/news/article | GET | Get articles by ID |
/v1/news/story/:articleId | GET | Get related articles for a story |
/v1/news/trends | GET | Trending topics and aggregations |
/v1/news/time-series | GET | Article counts over time |
Base URL: https://api.apitube.io
Full list of endpoints and parameters: Endpoints | Parameters
Zap 1: News Monitoring → Google Sheets
Automatically collect news articles matching your criteria into a Google Sheets spreadsheet.
How it works:
- Schedule by Zapier triggers every 15 minutes
- Webhooks by Zapier sends a GET request to APITube
- Looping by Zapier iterates over articles
- Google Sheets appends each article as a row
Step-by-step setup:
Step 1: Schedule by Zapier (Trigger)
- Choose Schedule by Zapier as trigger
- Set Schedule to
Every 15 Minutes
Step 2: Webhooks by Zapier (GET Request)
- Choose Webhooks by Zapier → Custom Request
- Method:
GET - URL:
https://api.apitube.io/v1/news/everything?title=artificial+intelligence&language.code=en&per_page=50&sort.by=published_at&sort.order=desc - Headers:
X-API-Key|YOUR_API_KEY
Step 3: Looping by Zapier
- Choose Looping by Zapier → Create Loop From Line Items
- Set Values to Loop to the articles array from Step 2
Step 4: Google Sheets (Create Row)
- Choose Google Sheets → Create Spreadsheet Row
- Map fields:
- Title → article title
- URL → article url
- Source → article source name
- Published → article published_at
- Sentiment → article sentiment overall polarity
Customization tips:
- Change the
titlequery parameter to monitor different keywords - Add
category.idto filter by category (see list of categories) - Add
source.country.codeto filter by country (e.g.,us,gb) - Use
person.nameororganization.nameto track specific entities
Zap 2: News Alerts → Slack / Email
Get notified in Slack or email when new articles match your criteria.
How it works:
- Schedule by Zapier triggers every 30 minutes
- Webhooks by Zapier fetches articles from APITube
- Filter by Zapier checks if there are results
- Slack / Gmail sends a formatted notification
Step-by-step setup:
Step 1: Schedule by Zapier (Trigger)
- Set Schedule to
Every 30 Minutes
Step 2: Webhooks by Zapier (GET Request)
- Method:
GET - URL:
https://api.apitube.io/v1/news/everything?title=startup+funding&language.code=en&per_page=10&sort.by=published_at&sort.order=desc - Headers:
X-API-Key|YOUR_API_KEY
Step 3: Filter by Zapier
- Field: articles count from Step 2
- Condition: Greater than
0 - This prevents empty notifications when no articles are found
Step 4: Slack — Send Channel Message
- Channel: your target channel
- Message Text:
New articles found for "startup funding":
[Article Title] — mapped from articles → title
[Source Name] • [Published Date] — mapped from articles → source.name, published_at
[Article URL] — mapped from articles → urlUse Zapier's field mapper to insert dynamic values from the Webhooks step.
For Email: Replace Slack with Gmail → Send Email:
- Subject:
News Alert: startup funding - Body: map article fields (title, url, source, published_at)
Zap 3: AI News Digest → Email
Build a daily AI-powered news digest with ChatGPT and send it via email.
How it works:
- Schedule by Zapier triggers once daily (e.g., 8:00 AM)
- Webhooks by Zapier fetches top headlines
- Code by Zapier formats articles into a text list
- ChatGPT by Zapier summarizes the articles
- Gmail sends the digest
Step-by-step setup:
Step 1: Schedule by Zapier (Trigger)
- Set Schedule to
Every Dayat8:00 AM
Step 2: Webhooks by Zapier (GET Request)
- Method:
GET - URL:
https://api.apitube.io/v1/news/top-headlines?language.code=en&per_page=20&sort.by=published_at&sort.order=desc - Headers:
X-API-Key|YOUR_API_KEY
Step 3: Code by Zapier (Format Articles)
- Language: JavaScript
- Input Data:
articles→ articles array from Step 2 - Code:
const articles = JSON.parse(inputData.articles);
const formatted = articles.map((a, i) =>
`${i + 1}. ${a.title} (${a.source.name})\n ${a.url}`
).join('\n\n');
output = [{ summary: formatted, count: articles.length }];Step 4: ChatGPT — Conversation
- User Message:
Summarize the following ${count} news articles into a concise daily digest. Group by topic, highlight the most important stories, and keep it under 500 words.\n\n${summary}
Step 5: Gmail — Send Email
- To: your email address
- Subject:
Daily News Digest - Body: ChatGPT response from Step 4
Parameters
For a full list of available query parameters (50+ filters including language, category, sentiment, entities, date ranges, and more), see the Parameters reference.
Tips & Tricks
- URL encoding: Spaces in query parameters should be encoded as
+or%20(e.g.,title=climate+change) - Rate limits: APITube allows 50 requests per minute. Space your Schedule triggers accordingly
- Pagination: Use
pageparameter to fetch more results. Maxper_pageis 250 - Date filtering: Use
published_at.startwith a relative date to avoid duplicate articles between polls - Zapier plan limits: Free Zapier plan allows 100 tasks/month. Consider scheduling frequency vs. plan limits
- Error handling: Add a Paths by Zapier step after the Webhooks step to handle HTTP errors gracefully
Next Steps
- Common Workflows — more query examples
- Parameters — full parameter reference
- Endpoints — all available endpoints
- API Reference — interactive API explorer