Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

738 B
Raw Blame
import { createNotifyWebhookTrigger } from '../common/webhook-factory';

export const emailSpamReportedTrigger = createNotifyWebhookTrigger({
  event: { id: 2, key: 'spam_reported' },
  name: 'email_spam_reported',
  displayName: 'Email Spam Reported',
  description:
    'Triggers when a recipient marks a transactional email as spam in their inbox.',
  aiMetadata: {
    description:
      'Fires when a recipient marks a transactional email sent through INBOX Notify as spam. Represents a spam complaint for a specific message and recipient.',
  },
  sampleData: {
    event: 'SpamReported',
    eventId: 2,
    messageId: '5df9d4b691183c000106cb90',
    email: '[email protected]',
    occurredAt: '2024-01-15T10:30:00.000Z',
  },
});