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

1.0 KB
Raw Blame
import { createMailgunWebhookTrigger } from './common';

export const newOpenEvent = createMailgunWebhookTrigger({
  name: 'new_open_event',
  displayName: 'New Open Event',
  description:
    'Triggers when a recipient opens an email in Mailgun',
  aiMetadata: {
    description:
      'Fires when Mailgun detects that a recipient opened a tracked email. Represents a single open event with client and device details; requires open tracking enabled on the domain.',
  },
  eventType: 'opened',
  testEventFilter: { event: 'opened' },
  sampleData: {
    event: 'opened',
    id: 'ghi123',
    timestamp: 1710000000,
    recipient: '[email protected]',
    domain: 'example.com',
    log_level: 'info',
    ip: '192.168.1.1',
    client_info_client_name: 'Chrome',
    client_info_client_os: 'macOS',
    client_info_device_type: 'desktop',
    message_headers_message_id: '[email protected]',
    message_headers_from: '[email protected]',
    message_headers_to: '[email protected]',
    message_headers_subject: 'Check out our new feature',
  },
});