Day Selection

Control which days of the week calls can be made

Introduction

Control which days of the week calls can be made using the day_selection_mode setting. Kejue automatically adjusts weekend definitions based on each lead's country.

Day Selection Modes

ModeDescription
all_daysCalls can be made 7 days a week
weekend_offExcludes weekends (adjusts to each lead's country)
choose_daysCustom list of allowed days

Weekend Handling

When using weekend_off, Kejue automatically adjusts to each lead's country. Different countries have different weekend days:

  • Most countries: Saturday and Sunday
  • Some Middle Eastern countries: Friday and Saturday
  • Other variations: Country-specific weekend definitions

The system automatically applies the correct weekend definition based on the lead's phone number country.

Weekend definitions are automatically determined from the lead's phone number. You don't need to specify country-specific weekend rules manually.

Custom Day Selection

When day_selection_mode is set to choose_days, you must provide an allowed_days array:

FieldTypeDescription
allowed_daysarray of integersWeekday numbers (0=Monday, 6=Sunday)

Weekday Reference:

  • 0 = Monday
  • 1 = Tuesday
  • 2 = Wednesday
  • 3 = Thursday
  • 4 = Friday
  • 5 = Saturday
  • 6 = Sunday

Example: Weekdays Only

To allow calls only on weekdays (Monday-Friday):

{
  "call": {
    "day_selection_mode": "choose_days",
    "allowed_days": [0, 1, 2, 3, 4]
  }
}

Example: Specific Days

To allow calls only on Tuesday, Thursday, and Saturday:

{
  "call": {
    "day_selection_mode": "choose_days",
    "allowed_days": [1, 3, 5]
  }
}

Default Settings

If day_selection_mode is not specified, Kejue uses the default day selection mode configured in the Calls page in your Settings. You can set this default once and it will apply to all calls unless overridden.

Examples

Weekend Off (Auto-Adjusts by Country)

{
  "call": {
    "day_selection_mode": "weekend_off",
    "call_start_hour": 9,
    "call_end_hour": 17
  }
}

This will exclude weekends, but the weekend definition will automatically adjust based on each lead's country.

All Days

{
  "call": {
    "day_selection_mode": "all_days",
    "call_start_hour": 10,
    "call_end_hour": 20
  }
}

Calls can be made any day of the week.

Custom Days with Campaign

{
  "schedule": {
    "day_selection_mode": "choose_days",
    "allowed_days": [0, 1, 2, 3, 4],
    "call_start_hour": 9,
    "call_end_hour": 17
  }
}
  • Call Scheduling - Control when calls are made during the day
  • Calls - Learn about creating individual calls
  • Campaigns - Learn about batch campaigns

API Reference

Last updated on