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

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

export const emailClickedTrigger = createNotifyWebhookTrigger({
  event: { id: 7, key: 'clicked' },
  name: 'email_clicked',
  displayName: 'Email Link Clicked',
  description:
    'Triggers when a recipient clicks a tracked link inside a transactional email.',
  aiMetadata: {
    description:
      'Fires when a recipient clicks a tracked link inside a transactional email sent through INBOX Notify. Represents a link-click engagement event and emits the clicked URL; can fire multiple times for the same message and recipient.',
  },
  sampleData: {
    event: 'Clicked',
    eventId: 7,
    messageId: '5df9d4b691183c000106cb90',
    email: '[email protected]',
    occurredAt: '2024-01-15T10:30:00.000Z',
    url: 'https://example.com/promo',
    userAgent: 'Mozilla/5.0',
    ip: '203.0.113.42',
  },
});