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

777 B
Raw Blame
import { createPipelineWebhookTrigger } from '../common/trigger-factory';

export const taskDueTrigger = createPipelineWebhookTrigger({
  name: 'task_due',
  displayName: 'Task Due',
  description:
    'Triggers when a task becomes due (but has not yet been completed) on a box in the selected pipeline.',
  aiMetadata: {
    description:
      'Fires when a still-incomplete task on a box in the selected pipeline reaches its due date, representing an outstanding action item that has come due on a CRM record.',
  },
  event: 'TASK_DUE',
  sampleData: {
    key: 'agxzfm1haWxmb29nYWVyMQsSBFRhc2sYgICAwI_oogow',
    boxKey: 'agxzfm1haWxmb29nYWVyMQsSA0JveBiAgIDAj-iiCgw',
    text: 'Send follow-up email to buyer.',
    status: 'NOT_DONE',
    dueDate: 1714248000000,
  },
});