AutomationFlowsAI & RAG › Slackn8ntrigger

Slackn8ntrigger

slackn8ntrigger. Uses slackTrigger, openAi, slack. Event-driven trigger; 3 nodes.

Event trigger★☆☆☆☆ complexityAI-powered3 nodesSlack TriggerOpenAISlack
AI & RAG Trigger: Event Nodes: 3 Complexity: ★☆☆☆☆ AI nodes: yes Added:

This workflow follows the OpenAI → 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": "slackn8ntrigger",
  "nodes": [
    {
      "parameters": {
        "trigger": [
          "message"
        ],
        "channelId": {
          "__rl": true,
          "value": "C0A1XBE00QN",
          "mode": "list",
          "cachedResultName": "new-channel"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.slackTrigger",
      "typeVersion": 1,
      "position": [
        -1056,
        -240
      ],
      "id": "ea950f1e-095b-4a34-98a5-04fedf36516f",
      "name": "Slack Trigger",
      "credentials": {
        "slackApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "resource": "image",
        "prompt": "=Create an image for the given text \n{{ $json.blocks[0].elements[0].elements[0].text }}",
        "options": {
          "dalleQuality": "standard",
          "size": "1024x1024"
        }
      },
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "typeVersion": 2,
      "position": [
        -848,
        -240
      ],
      "id": "d6ba5480-e06c-4708-b577-072bf3ccc34e",
      "name": "Generate an image",
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "authentication": "oAuth2",
        "resource": "file",
        "options": {
          "channelId": "={{ $('Slack Trigger').item.json.channel }}",
          "fileName": "={{ $json.fileName }}"
        }
      },
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2.3,
      "position": [
        -640,
        -240
      ],
      "id": "fdf8af25-0340-4050-8d3c-2cc4596fbc17",
      "name": "Upload a file",
      "credentials": {
        "slackOAuth2Api": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Slack Trigger": {
      "main": [
        [
          {
            "node": "Generate an image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate an image": {
      "main": [
        [
          {
            "node": "Upload a file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "f12af144-6d88-403d-b394-13718f1835f1",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "LVdwlVoGupxcMizB",
  "tags": []
}

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

slackn8ntrigger. Uses slackTrigger, openAi, slack. Event-driven trigger; 3 nodes.

Source: https://github.com/Selvarani-vka/GenAI-60days/blob/4983ec1e2fcbfcf244d247dd63c6fbb271e93cdd/n8n/slackn8ntrigger.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

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

AI & RAG

This workflow helps you capture "tribal knowledge" shared in Slack conversations and automatically converts it into structured documentation. By simply adding a specific reaction (default: 📚) to a mes

Slack Trigger, Slack, OpenAI +2
AI & RAG

&gt; This n8n workflow template uses a community node and is only compatible with the self-hosted version of n8n.

Slack Trigger, OpenAI, @Permitio/N8N Nodes Permitio +2
AI & RAG

Meet Transcript Task Manager. Uses googleDriveTrigger, pdf, openAi, googleCalendar. Event-driven trigger; 7 nodes.

Google Drive Trigger, PDF, OpenAI +4
AI & RAG

Complete AI-powered sales system Automates lead capture, qualification, and follow-up from multiple channels. AI INTELLIGENCE:

Gmail Trigger, Google Sheets, OpenAI +3
AI & RAG

An automated quote generation system that monitors your inbox, classifies quote requests using AI, calculates intelligent pricing based on historical data, and provides a professional dashboard for re

Gmail Trigger, OpenAI, Supabase +2