Docs Rizler

Setup

Trigger Hooks

Advanced automation system for triggering custom actions based on AI Sync events and conditions

โšก Trigger Hooks

Trigger Hooks provide a powerful automation framework that executes custom actions when specific events occur in your AI Sync system. Unlike webhooks that send data to external endpoints, trigger hooks perform internal actions and workflows within your AI Sync environment.

๐Ÿ”„ Trigger Hook Workflow#

Event Detection

System monitors for specified events (calls, agent actions, campaigns)

Condition Evaluation

Trigger conditions are evaluated against event data and context

Hook Execution

Qualifying events trigger the configured hook actions

Action Processing

Multiple actions can be executed sequentially or in parallel

Result Logging

Execution results and outcomes are logged for monitoring

๐Ÿ“Š Trigger Hook vs Webhooks Comparison#

๐Ÿ”— Webhooks vs โšก Trigger Hooks
FeatureWebhooksTrigger Hooks
PurposeSend data to external systemsExecute internal actions
DirectionOutbound HTTP requestsInternal processing
ResponseDepends on external endpointImmediate internal execution
ActionsLimited to HTTP callsMultiple action types available
LatencyNetwork dependentMinimal internal latency
ReliabilityExternal system dependentInternal system controlled
Use CasesCRM integration, notificationsAutomation, data processing, workflows

๐Ÿ“‹ Trigger Hook Management#

Navigate to Setup > Trigger Hooks to manage your automation configurations.

Trigger Hook Management

๐Ÿ“‘ Trigger Hook Table Overview#

ColumnDescriptionExample
#Sequential hook ID1, 2, 3
TitleHook name/identifierLead Qualification, Follow-up Scheduler
Updated AtLast modification timestamp09-09-2025 10:27 AM
Created AtHook creation timestamp09-09-2025 10:23 AM
ActionManagement optionsEdit, Delete, Duplicate, Test

โšก Quick Actions#

Add New Hook

Create new trigger hooks for your automation needs

Edit Configuration

Modify existing hook settings and conditions

๐ŸŽ›๏ธ Trigger Hook Configuration#

๐Ÿ†• Creating a New Trigger Hook#

Access Trigger Hooks

Navigate to Setup > Trigger Hooks and click "Add"

Basic Information

  • Title: Descriptive name for the trigger hook
  • Description: Optional detailed description of the hook's purpose
  • Status: Enable/disable the hook

Trigger Configuration

  • Trigger When: Select the event type that activates the hook
  • Conditions: Set up conditional logic for when the hook should execute
  • Filters: Apply additional filters based on data attributes

Action Configuration

  • Hook URL: Internal or external endpoint to call
  • Hook Method: HTTP method (GET, POST, PUT, DELETE)
  • Type: Define the hook type and processing method
  • Role: Specify user role requirements for execution

Test and Activate

Test the trigger hook with sample data and activate for live events

Add Trigger Hook

๐Ÿท๏ธ Field Definitions#

๐Ÿ“ Basic Fields

Title

  • Purpose: Human-readable identifier for the trigger hook
  • Format: Text string (max 255 characters)
  • Example: "Lead Qualification Hook", "Follow-up Scheduler"

Description

  • Purpose: Detailed explanation of hook functionality
  • Format: Text area (optional)
  • Example: "Automatically qualifies leads based on call sentiment and duration"
โšก Trigger Configuration

Trigger When

  • Purpose: Defines the event that activates the hook
  • Options:
    • Power List Dial 1 Time - After first dial attempt
    • Power List Dial 2 Times - After second dial attempt
    • Power List Dial 3 Times - After third dial attempt
    • Call Ended - When any call completes
    • Call Answered - When call is answered
    • Agent Response - When AI agent responds
    • Lead Generated - When new lead is created
    • Appointment Scheduled - When appointment is booked
    • SMS Sent/Received - SMS events
    • Campaign Started/Ended - Campaign lifecycle events

Conditions

  • Purpose: Additional logic to filter when hook executes
  • Format: Conditional expressions
  • Examples:
    • call_duration > 60 (calls longer than 1 minute)
    • sentiment == "positive" (positive sentiment only)
    • lead_score >= 80 (high-quality leads only)
๐Ÿ”— Hook Configuration

Hook URL

  • Purpose: Endpoint URL to send hook data
  • Format: Valid HTTP/HTTPS URL
  • Examples:
    • https://api.yourcrm.com/webhook/leads
    • https://app.hookk.com/webhook
    • https://internal.ai-sync.com/process-lead

Hook Method

  • Purpose: HTTP method for the hook request
  • Options: GET, POST, PUT, DELETE, PATCH
  • Default: POST
  • Usage: POST for creating data, PUT for updates, GET for queries

Type

  • Purpose: Categorizes the hook for processing and organization
  • Options:
    • Lead Processing - Lead qualification and routing
    • CRM Integration - Customer relationship management
    • Analytics - Data analysis and reporting
    • Notification - Alerts and notifications
    • Workflow - Business process automation
    • Other - Custom or miscellaneous hooks
๐Ÿ‘ค Role & Security

Role

  • Purpose: Defines which user roles can trigger this hook
  • Options:
    • Agent - AI agents can trigger the hook
    • Admin - Administrator users only
    • Manager - Manager level and above
    • User - Any authenticated user
    • System - System-level automated triggers
  • Security: Ensures proper access control for sensitive operations

๐Ÿ“ Edit Trigger Hook#

Edit Trigger Hook

When editing existing trigger hooks, you can modify all configuration parameters while maintaining execution history and performance metrics.

๐ŸŽช Available Trigger Events#

Call Events

Triggers:

  • Call Started/Ended/Answered
  • Power List Dial Attempts
  • Call Transferred

Use Cases:

  • Real-time monitoring
  • Progressive lead nurturing
  • CRM updates

Data: Call status, duration, participant info, recordings

Agent Events

Triggers:

  • Agent Response Generated
  • Escalation Required
  • Performance Threshold

Use Cases:

  • Quality monitoring
  • Performance optimization
  • Training triggers

Data: Agent metrics, response content, conversation context

Lead Events

Triggers:

  • Lead Generated/Qualified
  • Status/Score Changed

Use Cases:

  • CRM synchronization
  • Lead routing
  • Sales notifications

Data: Demographics, qualification scores, interaction history

Campaign Events

Triggers:

  • Campaign Started/Completed
  • Milestone Reached
  • Performance Alert

Use Cases:

  • Performance monitoring
  • Budget management
  • Result processing

Data: Campaign metrics, progress, ROI statistics

Appointment Events

Triggers:

  • Scheduled/Confirmed/Cancelled
  • Rescheduled

Use Cases:

  • Calendar integration
  • Reminder automation
  • No-show prevention

Data: Appointment details, participant info, availability

Follow-up Events

Triggers:

  • Follow-up Due
  • Task Created
  • Deadline Approaching

Use Cases:

  • Task automation
  • Deadline management
  • Customer retention

Data: Task details, assigned members, due dates