AutomationFlowsSlack & Telegram › Slack Calendar Bot

Slack Calendar Bot

Slack Calendar Bot. Uses slackTrigger, googleCalendar, slack. Event-driven trigger; 5 nodes.

Event trigger★★★★☆ complexity5 nodesSlack TriggerGoogle CalendarSlack
Slack & Telegram Trigger: Event Nodes: 5 Complexity: ★★★★☆ Added:

This workflow follows the Google Calendar → Slack recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Slack Calendar Bot",
  "nodes": [
    {
      "parameters": {
        "events": [
          "message"
        ],
        "options": {}
      },
      "name": "Slack Trigger",
      "type": "n8n-nodes-base.slackTrigger",
      "typeVersion": 1,
      "position": [
        250,
        300
      ],
      "credentials": {
        "slackApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "conditions": {
          "string": [
            {
              "value1": "={{$json.text}}",
              "operation": "contains",
              "value2": "agenda"
            }
          ]
        }
      },
      "name": "Check Command",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2,
      "position": [
        450,
        300
      ]
    },
    {
      "parameters": {
        "authentication": "oAuth2",
        "calendarId": "primary",
        "startDate": "={{DateTime.now().toISO()}}",
        "endDate": "={{DateTime.now().plus({days: 7}).toISO()}}",
        "options": {
          "maxResults": 10,
          "singleEvents": true,
          "orderBy": "startTime"
        }
      },
      "name": "Get Calendar Events",
      "type": "n8n-nodes-base.googleCalendar",
      "typeVersion": 2,
      "position": [
        650,
        200
      ],
      "credentials": {
        "googleCalendarOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "jsCode": "const events = $input.all().map(i => i.json);\nconst channel = $('Slack Trigger').first().json.channel;\nconst user = $('Slack Trigger').first().json.user;\n\nconst formattedEvents = events.map(e => {\n  const start = DateTime.fromISO(e.start?.dateTime || e.start?.date);\n  return {\n    summary: e.summary,\n    start: start.toFormat('dd/MM/yyyy HH:mm'),\n    duration: e.end ? DateTime.fromISO(e.end.dateTime || e.end.date).diff(start, 'hours').hours + 'h' : 'Todo el d\u00eda'\n  };\n});\n\nreturn {\n  json: {\n    channel,\n    user,\n    events: formattedEvents\n  }\n};"
      },
      "name": "Format Events",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        850,
        200
      ]
    },
    {
      "parameters": {
        "channel": "={{$json.channel}}",
        "text": "\ud83d\udcc5 *Pr\u00f3ximos eventos (7 d\u00edas)*\n\n{{$json.events.map((e, i) => `${i+1}. *${e.summary}*\\n   \ud83d\udccd ${e.start} (${e.duration})`).join('\\n\\n')}}\n\n\ud83d\udca1 Escribe `reservar demo` para agendar",
        "attachments": [],
        "otherOptions": {}
      },
      "name": "Send Calendar to Slack",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2.1,
      "position": [
        1050,
        200
      ],
      "credentials": {
        "slackApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Slack Trigger": {
      "main": [
        [
          {
            "node": "Check Command",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Command": {
      "main": [
        [
          {
            "node": "Get Calendar Events",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Calendar Events": {
      "main": [
        [
          {
            "node": "Format Events",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Events": {
      "main": [
        [
          {
            "node": "Send Calendar to Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null,
  "tags": [
    "slack",
    "calendar"
  ],
  "triggerCount": 0,
  "updatedAt": "2025-11-30T17:05:00.000Z",
  "versionId": "1"
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Slack Calendar Bot. Uses slackTrigger, googleCalendar, slack. Event-driven trigger; 5 nodes.

Source: https://github.com/SmarterCL/os.smarterbot.cl/blob/0c9c17e0e6d7e57ba50d1141b656b14242162c9d/n8n-workflows/slack-calendar-bot.json — original creator credit. Request a take-down →

More Slack & Telegram workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Slack & Telegram

Vendorbot Form Filler. Uses executeCommand, gmail, telegram, slack. Event-driven trigger; 39 nodes.

Execute Command, Gmail, Telegram +6
Slack & Telegram

Type in Slack. Walk away. Get a professional PDF report and a structured Excel fix sheet delivered to Google Drive and posted back in your Slack thread — fully automated, zero manual work.

Compression, HTTP Request, Google Drive +3
Slack & Telegram

This workflow automates the full company enrichment pipeline: Simply import CSV company lists to Slack and save time on enrichment and CRM maintenance. It processes uploaded files, extracts company do

Slack Trigger, Slack, HTTP Request +3
Slack & Telegram

This workflow manages clinic appointments across Google Sheets and Google Calendar, using webhooks and Telegram to book and confirm visits, Gmail and Telegram to deliver prescriptions, scheduled Teleg

Google Calendar, Telegram, Google Sheets +4
Slack & Telegram

This workflow enables seamless, bidirectional communication between WhatsApp and Slack using n8n. It automates the reception, processing, and forwarding of messages (text, media, and documents) betwee

WhatsApp Trigger, Slack, Slack Trigger +2