Skip to Workflow Atlas
Event-Driven AutomationAI systemIntermediate

AI-Driven Workflow for Email and Slack Automation

AI-Driven Workflow for Email and Slack Automation is a 26-node automation blueprint connecting Slack, OpenAI, Gmail. Inspect its trigger, execution graph, branches, and implementation requirements.

Interactive system map

Follow the runtime. Inspect what supports it.

Solid horizontal paths show main-channel execution. Violet dependencies sit beneath the exact step they configure or empower.

26

Nodes

21

Links

5

Run groups

Connected tools

4 integrations

  • Slack
  • OpenAI
  • Gmail
  • Pinecone

Canvas controls

Fit wide systems, then zoom into any run group.

AI-Driven Workflow for Email and Slack Automation execution lanes5 run groups containing 26 workflow nodes and 21 visible links. Solid horizontal lines are main-channel runtime links. Violet dashed lines connect typed dependencies beneath the runtime step they support. Focus any node to inspect its immediate path.On new email to nathan's inbox. Gmail node, gmailTrigger. 0 incoming and 1 outgoing connections.STARTOn new email to nathan's …GMAILGMAILTRIGGER0 IN / 1 OUTAssign label with AI. ai node, textClassifier. 2 incoming and 2 outgoing connections.STEP 02Assign label with AIAITEXTCLASSIFIER2 IN / 2 OUTAdd automation label. Gmail node, gmail. 1 incoming and 0 outgoing connections.OUTCOMEAdd automation labelGMAILGMAIL1 IN / 0 OUTAdd music label. Gmail node, gmail. 1 incoming and 0 outgoing connections.OUTCOMEAdd music labelGMAILGMAIL1 IN / 0 OUTOpenAI Chat Model1. OpenAI node, lmChatOpenAi. 0 incoming and 1 outgoing connections.DEPENDENCY · DEPTH 1OpenAI Chat Model1OPENAILMCHATOPENAI0 IN / 1 OUTWebhook. trigger node, webhook. 0 incoming and 1 outgoing connections.STARTWebhookTRIGGERWEBHOOK0 IN / 1 OUTWhether email contains n8n. decision node, if. 1 incoming and 2 outgoing connections.STEP 02Whether email contains n8nDECISIONIF1 IN / 2 OUTExecute JavaScript. transform node, code. 1 incoming and 0 outgoing connections.OUTCOMEExecute JavaScriptTRANSFORMCODE1 IN / 0 OUTSend message. Slack node, slack. 1 incoming and 0 outgoing connections.OUTCOMESend messageSLACKSLACK1 IN / 0 OUTAppointment booking agent. ai node, agent. 4 incoming and 0 outgoing connections.CORE RUNTIMEAppointment booking agentAIAGENT4 IN / 0 OUTAnthropic Chat Model. Anthropic node, lmChatAnthropic. 0 incoming and 1 outgoing connections.DEPENDENCY · DEPTH 1Anthropic Chat ModelANTHROPICLMCHATANTHROPIC0 IN / 1 OUTWindow Buffer Memory. ai node, memoryBufferWindow. 0 incoming and 1 outgoing connections.DEPENDENCY · DEPTH 1Window Buffer MemoryAIMEMORYBUFFERWINDOW0 IN / 1 OUTGet calendar availability. ai node, toolHttpRequest. 0 incoming and 1 outgoing connections.DEPENDENCY · DEPTH 1Get calendar availabilityAITOOLHTTPREQUEST0 IN / 1 OUTBook appointment. ai node, toolHttpRequest. 0 incoming and 1 outgoing connections.DEPENDENCY · DEPTH 1Book appointmentAITOOLHTTPREQUEST0 IN / 1 OUTPDFs to download. integration node, noOp. 0 incoming and 1 outgoing connections.STARTPDFs to downloadINTEGRATIONNOOP0 IN / 1 OUTDownload PDF. integration node, httpRequest. 1 incoming and 1 outgoing connections.STEP 02Download PDFINTEGRATIONHTTPREQUEST1 IN / 1 OUTInsert into Pinecone vector store. Pinecone node, vectorStorePinecone. 3 incoming and 0 outgoing connections.OUTCOMEInsert into Pinecone vect…PINECONEVECTORSTOREPINECONE3 IN / 0 OUTEmbeddings OpenAI. OpenAI node, embeddingsOpenAi. 0 incoming and 1 outgoing connections.DEPENDENCY · DEPTH 1Embeddings OpenAIOPENAIEMBEDDINGSOPENAI0 IN / 1 OUTDefault Data Loader. ai node, documentDefaultDataLoader. 1 incoming and 1 outgoing connections.DEPENDENCY · DEPTH 1Default Data LoaderAIDOCUMENTDEFAULTDATALOAD1 IN / 1 OUTRecursive Character Text Splitter. ai node, textSplitterRecursiveCharacterTextSplitter. 0 incoming and 1 outgoing connections.DEPENDENCY · DEPTH 2Recursive Character Text …AITEXTSPLITTERRECURSIVECH0 IN / 1 OUTWhen chat message received. trigger node, chatTrigger. 0 incoming and 1 outgoing connections.STARTWhen chat message receivedTRIGGERCHATTRIGGER0 IN / 1 OUTQuestion and Answer Chain. ai node, chainRetrievalQa. 3 incoming and 0 outgoing connections.OUTCOMEQuestion and Answer ChainAICHAINRETRIEVALQA3 IN / 0 OUTOpenAI Chat Model. OpenAI node, lmChatOpenAi. 0 incoming and 1 outgoing connections.DEPENDENCY · DEPTH 1OpenAI Chat ModelOPENAILMCHATOPENAI0 IN / 1 OUTVector Store Retriever. ai node, retrieverVectorStore. 1 incoming and 1 outgoing connections.DEPENDENCY · DEPTH 1Vector Store RetrieverAIRETRIEVERVECTORSTORE1 IN / 1 OUTRead Pinecone Vector Store. Pinecone node, vectorStorePinecone. 1 incoming and 1 outgoing connections.DEPENDENCY · DEPTH 2Read Pinecone Vector StorePINECONEVECTORSTOREPINECONE1 IN / 1 OUTEmbeddings OpenAI2. OpenAI node, embeddingsOpenAi. 0 incoming and 1 outgoing connections.DEPENDENCY · DEPTH 3Embeddings OpenAI2OPENAIEMBEDDINGSOPENAI0 IN / 1 OUT

Signal inspector

Focus, hover, or select a step to isolate its runtime and support links.

Main-channel runtimeTyped dependencytriggeraidecisiontransformintegration
Scroll horizontally to follow every connected flow.26 connected nodesEnter or click to lock · Escape to clear

Runtime breakdown

Read the execution spine before its dependencies.

Each run group separates main-channel steps from the models, tools, retrievers, and data services that support them. Start and outcome labels apply only to runtime nodes.

01

Run Group

On new email to nathan's inbox

3 Execution Links1 Support Dependency
  1. Start

    On new email to nathan's inbox

    Trigger

  2. Step 2

    Assign label with AI

    AI reasoning

  3. Outcome

    Add automation label

    Integration

    Add music label

    Integration

Attached dependencies

These nodes support the runtime above; they are not additional starts or outcomes.

1 node
  • OpenAI Chat Model1

    AI reasoning dependency

02

Run Group

Webhook

3 Execution Links
  1. Start

    Webhook

    Trigger

  2. Step 2

    Whether email contains n8n

    Decision

  3. Outcome

    Execute JavaScript

    Transform

    Send message

    Integration

03

Run Group

Appointment booking agent

0 Execution Links4 Support Dependencies
  1. Core Runtime

    Appointment booking agent

    AI reasoning

Attached dependencies

These nodes support the runtime above; they are not additional starts or outcomes.

4 nodes
  • Anthropic Chat Model

    AI reasoning dependency

  • Window Buffer Memory

    AI reasoning dependency

  • Get calendar availability

    AI reasoning dependency

  • Book appointment

    AI reasoning dependency

04

Run Group

PDFs to download

2 Execution Links3 Support Dependencies
  1. Start

    PDFs to download

    Integration

  2. Step 2

    Download PDF

    Integration

  3. Outcome

    Insert into Pinecone vector store

    AI reasoning

Attached dependencies

These nodes support the runtime above; they are not additional starts or outcomes.

3 nodes
  • Embeddings OpenAI

    AI reasoning dependency

  • Default Data Loader

    AI reasoning dependency

  • Recursive Character Text Splitter

    AI reasoning dependency

05

Run Group

When chat message received

1 Execution Link4 Support Dependencies
  1. Start

    When chat message received

    Trigger

  2. Outcome

    Question and Answer Chain

    AI reasoning

Attached dependencies

These nodes support the runtime above; they are not additional starts or outcomes.

4 nodes
  • OpenAI Chat Model

    AI reasoning dependency

  • Vector Store Retriever

    AI reasoning dependency

  • Read Pinecone Vector Store

    AI reasoning dependency

  • Embeddings OpenAI2

    AI reasoning dependency

Turn the map into a plan

Adapt this blueprint to your company.

Bring the system shape into a workspace, then define the production controls, data boundaries, owners, and delivery sequence around your context.