Skip to main content

Description

This hook is triggered when a new meeting is successfully scheduled.

Integration Details

  • Subscription Key: sch.meeting.created
  • Use Case: Sync interviews or meetings with an external CRM or shared team calendar.
  • Related Events: sch.meeting.updated

Trigger

  • Event Type: sch_meeting_created
  • Source: Insertion of a record into the sch.meeting table.

Payload Example

{
  "id": 456,
  "external_id": "ext_meet_456",
  "additional_params": {},
  "location": {
    "type": "virtual",
    "url": "https://meet.talview.com/abc-123"
  },
  "meeting_type": "interview",
  "old_id": 0,
  "from": "2023-11-01T14:00:00Z",
  "to": "2023-11-01T15:00:00Z",
  "duration": "1 hour",
  "timezone": "UTC",
  "meeting_status": "scheduled",
  "meeting_participants": [
    {
      "id": 1,
      "rsvp_status": "accepted",
      "user_details": {
        "id": 123,
        "identity_id": "auth0|abc",
        "azure_object_id": "00000000-0000-0000-0000-000000000000",
        "external_id": "ext_u_123",
        "username": "johndoe",
        "email": "john.doe@example.com"
      },
      "participant_role": "interviewer",
      "participation_status": "active",
      "created_at": "2023-10-25T09:00:00Z",
      "created_by": 1,
      "updated_at": "2023-10-25T09:00:00Z",
      "updated_by": 1
    }
  ],
  "drive_occurrence_id": 101,
  "tenant_id": 1,
  "created_by": 1,
  "created_at": "2023-10-25T09:00:00Z",
  "updated_at": "2023-10-25T09:00:00Z",
  "updated_by": 1
}

Payload Type Showcase

{
  id: number;
  external_id: string;
  additional_params: Record<string, any> | null;
  location: Record<string, any> | null;
  meeting_type: string;
  old_id: number;
  from: string | null;
  to: string | null;
  duration: string | null;
  timezone: string;
  meeting_status: string;
  meeting_participants: {
    id: number;
    rsvp_status: string;
    participant_role: string;
    participation_status: string;
    user_details: {
      id: number;
      identity_id: string;
      username: string;
      email: string;
      azure_object_id: string | null;
      external_id: string | null;
    } | null;
    created_at: string;
    created_by: number;
    updated_at: string;
    updated_by: number;
  }[];
  drive_occurrence_id: number | null;
  tenant_id: number;
  created_by: number;
  created_at: string;
  updated_at: string;
  updated_by: number;
}