Real-time notifications in Rayven.io let you instantly alert your team, customers, or systems when specific conditions occur in your data — such as anomalies, threshold breaches, or operational updates.
Overview
Real-time notifications in Rayven.io let you instantly alert your team, customers, or systems when specific conditions occur in your data — such as anomalies, threshold breaches, or operational updates. These notifications can be sent via email, SMS, webhook, Slack, or other integrations, all from within a workflow.
This ensures the right people are notified at the right time — with no delay.
Use Cases
-
Notify operators when a sensor reading exceeds safe limits
-
Send real-time incident alerts to support teams
-
Alert account managers when a customer submits a form or hits a usage threshold
-
Push live event data to Slack or a webhook for external automation
-
Send AI-generated summaries as dynamic messages in real time
How It Works
Notifications are built into workflows using:
-
Trigger Nodes (real-time event detection)
-
Condition Nodes (logic to check if notification should fire)
-
Notification Nodes (send the alert)
You can also use AI Agents to personalize or auto-generate notification content.
Step-by-Step Instructions
Step 1: Create or Open a Workflow
-
Go to your Workflow Builder.
-
Create a new workflow or open an existing one.
-
Add a real-time Trigger Node:
-
Examples: New row in table, data stream input, sensor update
-
Step 2: Add Conditions (Optional)
-
Drag in a Condition Node to control when notifications are sent.
-
Example:
If temperature > 80°C AND device_status = “Active” → Send alert
Step 3: Add a Notification Node
Choose the type of notification you want to send:
📧 Email Notification
-
Drag in the Email Node.
-
Define recipients (static or dynamic).
-
Customize subject and body — you can include dynamic fields like
{device_name}
,{value}
, etc.
📱 SMS Notification
-
Use the SMS Node (if SMS is enabled in your account).
-
Define message content and recipient phone numbers.
💬 Slack / Teams / Chat
-
Use a Webhook Node to send formatted content to a chat channel.
-
Include JSON payload with message, title, and fields.
🌐 Webhook/API Push
-
Send real-time data or alerts to another system using the Webhook Node.
-
Configure headers, authentication, and body structure.
Step 4: (Optional) Use AI to Customize the Message
-
Add an AI Agent Node before the Notification Node.
-
Use a prompt like:
“Write a short alert message based on this data. Mention the device and the issue clearly.” -
Pass the AI’s output into the notification content.
Step 5: Save and Test
-
Use the manual test or simulate incoming data.
-
Check logs to confirm the notification is firing correctly.
-
Review formatting and delivery (especially for emails or webhook responses).
Best Practices
-
Keep notification messages short, clear, and actionable.
-
Include links or instructions (e.g., “View this incident in dashboard”).
-
Use dynamic fields for personalization.
-
Log all sent notifications in a table or audit log for tracking.
-
Add throttling if alerts could be frequent (e.g., one alert per device per hour).
Examples
Trigger | Notification Type | Message Example |
---|---|---|
Sensor breach | "Device A1 exceeded 80°C at 3:42 PM – immediate attention required." | |
Job created | Slack | "New service request submitted for location: Site B2." |
Customer usage | Webhook | [ "event": "quota_limit_reached", "user_id": "123" ] |
Form submission | AI + Email | AI-generated summary of the user's request sent to support |
Troubleshooting
-
No email received?
Check spam, verify sender settings, and confirm the recipient field is correct. -
Message not triggering?
Use a Logger Node to confirm the condition is evaluating to true. -
Webhook failing?
Inspect the response from the external system. Verify URL, headers, and payload. -
Too many messages?
Add a condition or time filter (e.g., only send one every X minutes).
Next Steps
👉 How to Use AI Agents in Real-Time Workflows
👉 How to Log Alerts in a Table
👉 Using Webhooks for 3rd-Party Integrations
👉 Creating Scheduled Notifications