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

699 B
Raw Blame
import { createTeamWebhookTrigger } from '../common/trigger-factory';

export const newContactTrigger = createTeamWebhookTrigger({
  name: 'new_contact',
  displayName: 'New Contact',
  description: 'Triggers when a new contact is created in the selected team.',
  aiMetadata: {
    description:
      'Fires when a new person contact is created in the selected team, representing a freshly added individual in the team\'s shared CRM.',
  },
  event: 'CONTACT_CREATE',
  sampleData: {
    key: 'agxzfm1haWxmb29nYWVyMQsSB0NvbnRhY3QYgICAwI_oogow',
    emailAddresses: ['[email protected]'],
    givenName: 'Jane',
    familyName: 'Doe',
    title: 'VP of Sales',
    creationDate: 1714080000000,
  },
});