Skip to content
HR

Time off on the team calendar

Every approved absence blocks the calendar and notifies the team.

Request sign-upDownload JSON4 min to set up≈ 1 credit per run

How the flow works

  1. Humaneo

    Trigger

    Absence approved in Humaneo

    Humaneo·absence_approved

  2. Google Calendar

    Step 1

    Block the calendar

    Google Calendar·create_google_calendar_event

  3. Microsoft Teams

    Step 2

    Notify the team on Teams

    Microsoft Teams·microsoft_teams_send_channel_message

Set it up in 4 steps

  1. 1

    Import the template

    In the platform, go to Flows → Import and upload the JSON.

  2. 2

    Connect your accounts

    Each component asks for its connection (Humaneo, Google Calendar, Microsoft Teams). Credentials are stored encrypted.

  3. 3

    Review the highlighted fields

    Pick the channel, sheet, calendar or pipeline. Missing fields are shown in red.

  4. 4

    Test and turn it on

    Run a test with real data, check each step’s output and publish the flow.

View the template JSON
{
  "name": "Time off on the team calendar",
  "description": "Every approved absence blocks the calendar and notifies the team.",
  "tags": [
    "HR"
  ],
  "pieces": [
    "@flooows/component-humaneo",
    "@flooows/component-google-calendar",
    "@flooows/component-microsoft-teams"
  ],
  "template": {
    "displayName": "Time off on the team calendar",
    "trigger": {
      "name": "trigger",
      "type": "PIECE_TRIGGER",
      "valid": false,
      "displayName": "Absence approved in Humaneo",
      "settings": {
        "pieceName": "@flooows/component-humaneo",
        "pieceVersion": "~1.0.0",
        "pieceType": "OFFICIAL",
        "packageType": "REGISTRY",
        "triggerName": "absence_approved",
        "input": {},
        "inputUiInfo": {},
        "propertySettings": {}
      },
      "nextAction": {
        "name": "step_1",
        "type": "PIECE",
        "valid": false,
        "skip": false,
        "displayName": "Block the calendar",
        "settings": {
          "pieceName": "@flooows/component-google-calendar",
          "pieceVersion": "~0.13.4",
          "pieceType": "OFFICIAL",
          "packageType": "REGISTRY",
          "actionName": "create_google_calendar_event",
          "input": {
            "title": "Ausencia · {{trigger.employee_name}}",
            "start_date_time": "{{trigger.start}}",
            "end_date_time": "{{trigger.end}}",
            "send_notifications": "none"
          },
          "inputUiInfo": {},
          "propertySettings": {},
          "errorHandlingOptions": {
            "retryOnFailure": {
              "value": true
            },
            "continueOnFailure": {
              "value": false
            }
          }
        },
        "nextAction": {
          "name": "step_2",
          "type": "PIECE",
          "valid": false,
          "skip": false,
          "displayName": "Notify the team on Teams",
          "settings": {
            "pieceName": "@flooows/component-microsoft-teams",
            "pieceVersion": "~0.8.2",
            "pieceType": "OFFICIAL",
            "packageType": "REGISTRY",
            "actionName": "microsoft_teams_send_channel_message",
            "input": {
              "contentType": "text",
              "content": "{{trigger.employee_name}} estará ausente del {{trigger.start}} al {{trigger.end}}."
            },
            "inputUiInfo": {},
            "propertySettings": {},
            "errorHandlingOptions": {
              "retryOnFailure": {
                "value": true
              },
              "continueOnFailure": {
                "value": false
              }
            }
          }
        }
      }
    },
    "valid": false,
    "schemaVersion": "1"
  },
  "blogUrl": "https://flooows.com/en/templates/absences-in-team-calendar",
  "metadata": {
    "publisher": "flooows",
    "lang": "en",
    "setupMinutes": 4,
    "creditsPerRun": 1
  }
}

More templates

Your first floow, running today.

Work out the price of your plan in a minute and request your sign-up, or book a demo and we will help your team design its first flows.

✓ No credit card✓ Human support✓ Data hosted in Spain