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

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

export const emailOpenedTrigger = createNotifyWebhookTrigger({
  event: { id: 5, key: 'opened' },
  name: 'email_opened',
  displayName: 'Email Opened',
  description:
    'Triggers each time a transactional email is opened by the recipient. Fires on every open (not unique).',
  aiMetadata: {
    description:
      'Fires each time a recipient opens a transactional email sent through INBOX Notify. Fires on every open, not only the first, so the same message and recipient can trigger it repeatedly.',
  },
  sampleData: {
    event: 'Opened',
    eventId: 5,
    messageId: '5df9d4b691183c000106cb90',
    email: '[email protected]',
    occurredAt: '2024-01-15T10:30:00.000Z',
    userAgent: 'Mozilla/5.0',
    ip: '203.0.113.42',
  },
});