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.2 KB
Raw Blame
import { createMailgunWebhookTrigger } from './common';

export const newFailedDeliveryEvent = createMailgunWebhookTrigger({
  name: 'new_failed_delivery_event',
  displayName: 'New Failed Delivery Event',
  description:
    'Triggers when an email temporarily fails to deliver in Mailgun (will be retried)',
  aiMetadata: {
    description:
      'Fires when Mailgun records a temporary delivery failure (soft bounce) for an email, which Mailgun will automatically retry. Represents a single transient failure with its reason and SMTP details; distinct from a permanent hard bounce.',
  },
  eventType: 'temporary_fail',
  testEventFilter: { event: 'failed', severity: 'temporary' },
  sampleData: {
    event: 'failed',
    id: 'def123',
    timestamp: 1710000000,
    recipient: '[email protected]',
    domain: 'example.com',
    severity: 'temporary',
    reason: 'generic',
    log_level: 'warn',
    message_headers_message_id: '[email protected]',
    message_headers_from: '[email protected]',
    message_headers_to: '[email protected]',
    message_headers_subject: 'Important update',
    delivery_status_code: 452,
    delivery_status_message: 'Mailbox full',
    delivery_status_description: 'The recipient mailbox is full',
  },
});