n8n recipe · docs

Google Drive → Slack

When a new file lands in a Google Drive folder, your team hears about it in Slack #files.

구글 드라이브 폴더에 새 파일이 생기면 슬랙 #files 채널에 알려 줘요.

Steps

  1. When when a new file is added to google drive — Google Drive node
  2. Then send a slack message to #files — Slack node

Fields to fill (3)

The file has every node wired up. These are the blanks only you can fill (your form, your sheet, your words).

NodeWhat to do
Google Drivefill folderToWatch (Folder) — only if triggerOn = specificFolder
Slackcheck channelId = 'files' (pick it in n8n's list)
Slackfill text (The message text to post)

Accounts to connect (2)

In n8n, pick or add a credential on each node — one of the types below.

Get the n8n file

Download google-drive-new-file-to-slack.json

  1. Open a new, empty workflow in n8n.
  2. Open the workflow menu (⋯) and choose Import from File — or copy the JSON below and paste it onto the canvas (Ctrl/Cmd+V).
  3. Connect the accounts, fill the fields above, run one test, then turn the workflow on.
Or copy the JSON
{
  "name": "When a new file lands in a Google Drive folder",
  "nodes": [
    {
      "id": "n1",
      "name": "Google Drive Trigger",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "typeVersion": 1,
      "parameters": {
        "triggerOn": "specificFolder",
        "event": "fileCreated",
        "folderToWatch": {
          "__rl": true,
          "mode": "list",
          "value": ""
        }
      },
      "position": [
        240,
        300
      ],
      "notes": "step: when a new file is added to google drive"
    },
    {
      "id": "n2",
      "name": "Slack",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2.7,
      "parameters": {
        "resource": "message",
        "operation": "post",
        "channelId": {
          "__rl": true,
          "mode": "name",
          "value": "files"
        },
        "select": "channel",
        "text": ""
      },
      "position": [
        460,
        300
      ],
      "notes": "step: send a slack message to #files"
    }
  ],
  "connections": {
    "Google Drive Trigger": {
      "main": [
        [
          {
            "node": "Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "active": false
}