Holiday Import from iCal Files

May 10, 2022 | General

SIGNL4 offers powerful duty scheduling and time-based overrides for routing alerts to the right people at the right time.

With time-based overrides for example, you can apply different alerting workflows during business hours, weekends, holidays, etc. Holidays in general can bring other requirements for signaling and must also be considered separately when planning shifts.

You can add and edit holidays manually in SIGNL4 or you can import them from iCal files. For the latter we provide a sample script here and you only need an iCal (.ics) file containing your local holidays. You can get these from the Internet or from third-party systems.

Usage and Sample Code

Attention: This code is intended as a sample and as a starting point for your own implementation. It is provided with no guarantee. Please use with care.

Attention 2: Existing holidays will be overridden.

We provide a sample Node.js script for importing holidays from a .ics file. The sample file uses the SIGNL4 REST API as documented here: https://connect.signl4.com/api/docs/index.html

You can find the import script as well as additional information on GitHub.

As a prerequisite you first need to install Node.js as described here.

The sample code is provided in the file ‘holiday-import.js’. You can execute the wile with the node command. The file takes the path to the .ics file as an argument.

Command line sample:

    node holiday-import.js C:\holidays.ics

This will import the holidays from the specified file.

You can also clear all holidays from the current and from the following year by using the following call:

    node holiday-import.js CLEAR

Within the source file you need to adapt the SIGNL4 API key and the team name:

const strAPIKey = 'YOUR-SIGNL4-API-KEY';
const strTeamName = 'Super SIGNL4';

You can create the API key in your SIGNL4 web portal under Teams -> Developer.

The command line execution returns result information about success or failure from the API call.

iCal File

The iCal (.ics) file contains the holidays to be imported. You can find those files containing your local holidays in the Internet.

You can adapt the script according to your needs.

Discover SIGNL4

Dashboard of SIGNL4's mobile Alerting App

Stay ahead of critical incidents with SIGNL4 and its superpowers. SIGNL4 provides superior and automated mobile alerting, delivers alerts to the right people at the right time and enables operations teams to respond and to manage incidents from anywhere.

Learn more about SIGNL4 and start your free 30-days trial.

    Mobile Alerting and Response for Modern Operations

    Resources

    Feature Overview

    A comprehensive Platform for mobile Alerting for an up to 10x faster Response

    AIOps and AI Alerting

    AI-powered Alerting and Alert & Incident Management

    Reliable Alert Notifications

    Alert Notifications by push, text, voice and email. With Tracking and Escalations

    Mobile Alerting App

    The modern Way of receiving and managing critical Alerts on-the-go

    On-Call Scheduling

    AI-powered Scheduling and Management of On-Call Duties and Shifts

    Call Routing

    Live call routing and a Voice Mailbox for modern after-business Hours Operations

    Active Stakeholder Communication

    Automatically deliver real-time incident updates to your Stakeholders

    Use Cases

    IT Alerting

    Minimize downtime with automated real-time IT alerting

    Incident Management

    Accelerate response, and streamline incident workflows with real-time mobile alerts

    SecOps Alerting

    Respond faster to cyber threats with mobile-first alerting

    Incident Alerting for MSPs

    Turn Detection into Accountable Response

      IoT Service Alerting

      Automatically alert field teams based on real-time IoT signals

      SCADA Alarm Notifications

      Respond faster to machine breakdowns, quality issues, and maintenance calls

      Field Service Alerting

      Automated Mobile Routing of Service Requests and Alerts to Field Teams

      On-Call Management

      Create duty schedules, automate alerts, and route after-hours calls

      Building Automation

      Ensure fast response, fewer disruptions, and better facility management and service

      After-Hours Call Routing

      SIGNL4 automatically routes after-hours calls to on-call staff for fast response and 24/7 coverage

      Emergency Alerting

      Fast, reliable emergency alerts when every second counts

      Alert Management

      Streamline enterprise alerting with a centralized alert hub

      Integrations and APIs

      Integrations Overview

      We have verified and tested 200+ Integrations with 3d Party Products

      EMail (SMTP)

      The fastest and easiest way to connect to SIGNL4.

      Webhook

      SIGNL4’s most popular and flexible integration

      REST API

      Seamlessly integrate services or implement additional features

        Selected Customer Case Studies

        Berlin-Brandenburg Airport

        Automated Alerts and Mobile Incident Response for Luggage Transportation Systems

        BASF Coatings

        Automated Transport Dispatching with IoT Buttons and a mobile App for optimized Intralogistics

        RedIron, Canada

        Unifying Alerts and Notifications in mission-critical IT Operations

        CSP Lighthouse, Australia

        Reliable 24/7 Alerting for a global Cybersecurity Service Provider

          Swiss Bankers, Switzerland

          Real-Time Fraud Prevention with 24/7 mobile alerting in Financial Services Operation

          Conexus Credit Union, Canada

          Conexus transformed Incident Response in a Single Day with SIGNL4

          Overview of Industries

          Exciting case studies from selected customers in sectors such as logistics, aviation, manufacturing, finance and IT

          About us

          About Derdack & SIGNL4

          Learn more about a Market Leader in mobile Alerting and Anywhere Incident Response for critical Systems

          Partner Program

          Become a SIGNL4 Partner and take Advantage of a well-established and rapidly growing Product

          Newsletter

          Get Updates, exciting Insights, and Customer Stories – Sign up for our Newsletter!

          Glossary

          We explain the most important Terms and Topics in the Field of Alerting and Incident Management

          Blog

          Our blog offers expert insights and practical tips for getting the most out of SIGNL4

            G2 Summer Awards for SIGNL4