CryptoHook Sentinel

Advanced validation for grouped webhooks with dark mode UI and multi-bot support

validator.js

const inputData = $json;

// Dark mode theme styling
const primaryColor = 'red';
const secondaryColor = 'orange';
const theme = 'dark';

if (!messages.length || !timestamp || !batchInfo) {
  return [{
    json: {
      error: "Missing required fields",
      status: "error",
      theme: theme,
      styling: {
        primary: primaryColor,
        secondary: secondaryColor
      }
    }
  }];
}

const validatedMessages = messages.map(msg => {
  return {
    bot_name: msg.bot_name,
    message_count: msg.message_count,
    theme: theme,
    styling: {
      primary: primaryColor,
      secondary: secondaryColor
    }
  };
});

Multi-Bot Support

Validate messages from multiple bots simultaneously with grouped webhook structure.

Dark Theme

Built with dark mode in mind, featuring red and orange accent colors.

Comprehensive Validation

Detailed error handling with theme-aware responses and batch processing.