NotifyHub — Multi-Channel Notification Dispatcher
Pricing
from $0.50 / 1,000 notifications
NotifyHub — Multi-Channel Notification Dispatcher
Send each notification to Slack, Discord, Telegram or a generic webhook — one dataset item per channel attempt, pay per event. Message bodies are never stored; dryRun validates without sending.
Pricing
from $0.50 / 1,000 notifications
Rating
0.0
(0)
Developer
Khristian Kopachelli
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Features
Share
Send each notification to Slack, Discord, Telegram or a generic webhook — one dataset item per channel attempt, in batch. Message bodies are never stored in the dataset; channel secrets are masked in every result.
Your credentials stay yours. Webhook URLs and bot tokens go into the run input, which is visible in the Apify Console to whoever can see the run. Use least-privilege webhooks. The Actor masks them in the output but cannot hide them from the input record.
No automatic retry. A retried send can post the same message twice, so a failed delivery is reported honestly (
failed+ reason) and you decide whether to resend.
What it is for
- Multi-channel alerting. One message fans out to Slack, Discord, Telegram and any HTTPS endpoint in a single run.
- Deploy/monitoring notifications. Scheduled runs turn dataset rows or upstream events into chat messages.
- Webhook bridging. Post to internal tools that accept JSON webhooks, with a
uniform
{text, sentAtUtc, source}envelope.
Input
| Field | Default | Meaning |
|---|---|---|
notifications (required) | — | The messages, one object per notification: { "text": "…", "channels": […], "vars": {…} }. text may contain {{name}} placeholders filled from vars. |
dryRun | false | Validate channels and render templates without sending anything and without charging. |
maxItems | 200 | The run stops after this many notifications. The largest value is 200. There is no "unlimited". |
fetchConcurrency | 4 | How many notifications are delivered at the same time (1–16). Each notification's channels run in parallel. Higher values finish faster but burst more requests at the providers. |
Channels
Each entry in channels is { "type": … } plus its credentials:
| Type | Extra fields | Endpoint |
|---|---|---|
slack | url — an https://hooks.slack.com/… webhook | POST {text} |
discord | url — an https://discord.com/api/webhooks/… webhook | POST {content} |
telegram | botToken, chatId | POST to api.telegram.org |
webhook | url — any https URL on port 443 with a path | POST {text, sentAtUtc, source} |
Hard caps: ≤ 200 notifications, ≤ 10 channels each, ≤ 8 KB text, ≤ 2,000 channel
attempts per run. URLs must be https on port 443 and must not embed credentials
(user:pass@host is rejected). Private/loopback/link-local addresses are refused for
webhook URLs.
Example input
{"notifications": [{"text": "Deploy finished: {{service}} is live.","vars": { "service": "api" },"channels": [{ "type": "slack", "url": "https://hooks.slack.com/services/YOUR/WEBHOOK" },{ "type": "discord", "url": "https://discord.com/api/webhooks/YOUR/WEBHOOK" },{ "type": "telegram", "botToken": "123:ABC", "chatId": "-100123" },{ "type": "webhook", "url": "https://your-tool.example.com/notify" }]}],"dryRun": false}
Output
One dataset item per channel attempt:
| Field | Meaning |
|---|---|
notificationIndex, channelIndex | Position in the input (0-based). |
channel.type, channel.target | The destination — target is masked (origin only, never the secret path or token). |
status | delivered (HTTP 2xx), failed (see reason), skipped (invalid channel spec), dry-run. |
httpStatus, latencyMs | What the endpoint answered and how long it took. |
unresolvedVars | {{placeholder}} names that had no matching var. |
dryRun, fetchedAtUtc | Run mode and processing time. |
The message body and vars values are never written to the dataset.
Pricing
Pay per event: notifyhub-notification per notification with at least one valid
channel, channel-delivered per successful channel. dryRun and fully-invalid
input are free. Final prices are the store owner's decision (see docs/PRD.md §7).
Limits and honesty
- Per-type text ceilings are enforced before sending: Telegram 4,096 characters, Discord 2,000, Slack 4,000. Longer text fails with a clear reason instead of a wasted API call; the generic webhook has no provider limit (the 8 KB input cap applies).
- Discord webhooks are rate-limited (~30 requests/minute per webhook); bursts can fail with HTTP 429 — there is no retry, resend deliberately.
- The generic
webhookchannel cannot reach private-network addresses: IP literals are refused at validation, and hostnames are DNS-resolved before sending — any private/loopback/link-local/metadata answer blocks the send. A DNS-rebinding race remains a documented residual risk.