1. Home
  2. 8: How-to Guides

How to Set Up Real-Time Notifications in Rayven.io

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

  1. Go to your Workflow Builder.

  2. Create a new workflow or open an existing one.

  3. Add a real-time Trigger Node:

    • Examples: New row in table, data stream input, sensor update


Step 2: Add Conditions (Optional)

  1. Drag in a Condition Node to control when notifications are sent.

  2. 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

  1. Drag in the Email Node.

  2. Define recipients (static or dynamic).

  3. Customize subject and body — you can include dynamic fields like {device_name}, {value}, etc.

📱 SMS Notification

  1. Use the SMS Node (if SMS is enabled in your account).

  2. Define message content and recipient phone numbers.

💬 Slack / Teams / Chat

  1. Use a Webhook Node to send formatted content to a chat channel.

  2. Include JSON payload with message, title, and fields.

🌐 Webhook/API Push

  1. Send real-time data or alerts to another system using the Webhook Node.

  2. Configure headers, authentication, and body structure.


Step 4: (Optional) Use AI to Customize the Message

  1. Add an AI Agent Node before the Notification Node.

  2. Use a prompt like:
    “Write a short alert message based on this data. Mention the device and the issue clearly.”

  3. Pass the AI’s output into the notification content.


Step 5: Save and Test

  1. Use the manual test or simulate incoming data.

  2. Check logs to confirm the notification is firing correctly.

  3. 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 Email "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