Datacrazy Automações icon

Datacrazy Automações

Utilitários de automação para fluxos com o Datacrazy CRM

Actions22

⚡ Verificar Horário de Atendimento → Verificar Horário de Atendimento

AI-generated

Summary

Check whether the current time falls within configured business hours for weekdays, Saturday, and Sunday according to a specified timezone.

Inputs

  • Fuso Horário (required) — Time zone to use for checking the business hours (e.g., America/Sao_Paulo, America/New_York).
  • Atender em Dias Úteis (Seg–Sex) — Enable or disable business hours checking on weekdays (Monday to Friday).
  • Início (Dias Úteis) — Start time for business hours on weekdays, in HH:MM format.
  • Fim (Dias Úteis) — End time for business hours on weekdays, in HH:MM format.
  • Atender no Sábado — Enable or disable business hours checking on Saturdays.
  • Início (Sábado) — Start time for business hours on Saturdays, in HH:MM format.
  • Fim (Sábado) — End time for business hours on Saturdays, in HH:MM format.
  • Atender no Domingo — Enable or disable business hours checking on Sundays.
  • Início (Domingo) — Start time for business hours on Sundays, in HH:MM format.
  • Fim (Domingo) — End time for business hours on Sundays, in HH:MM format.

Output shape

a single JSON object indicating if the current time is within the configured business hours for the day of the week.

The output includes a boolean result reflecting whether the current time falls within the defined schedule for the current day based on the given timezone and enabled day settings.

Examples

Example 1: Verify if current time in 'America/Sao_Paulo' is within business hours Monday to Friday 08:00-18:00, Saturdays 08:00-13:00 disabled, Sundays disabled.

timezone='America/Sao_Paulo', weekdaysEnabled=true, weekdaysStart='08:00', weekdaysEnd='18:00', saturdayEnabled=false, sundayEnabled=false

Links

Discussion