Skip to Workflow Atlas
Event-Driven AutomationAI systemIntermediate

Automated Email Labeling with AI

Automated Email Labeling with AI is a 11-node automation blueprint connecting Gmail, OpenAI. 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.

11

Nodes

11

Links

1

Run groups

Connected tools

2 integrations

  • Gmail
  • OpenAI

Canvas controls

Fit wide systems, then zoom into any run group.

Automated Email Labeling with AI execution lanes1 run groups containing 11 workflow nodes and 11 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.Gmail trigger. Gmail node, gmailTrigger. 0 incoming and 1 outgoing connections.STARTGmail triggerGMAILGMAILTRIGGER0 IN / 1 OUTGet message content. Gmail node, gmail. 1 incoming and 1 outgoing connections.STEP 02Get message contentGMAILGMAIL1 IN / 1 OUTAssign labels for message. ai node, chainLlm. 3 incoming and 1 outgoing connections.STEP 03Assign labels for messageAICHAINLLM3 IN / 1 OUTSet label values. transform node, set. 1 incoming and 2 outgoing connections.STEP 04Set label valuesTRANSFORMSET1 IN / 2 OUTGet all labels. Gmail node, gmail. 1 incoming and 1 outgoing connections.STEP 05Get all labelsGMAILGMAIL1 IN / 1 OUTSplit out assigned labels. transform node, splitOut. 1 incoming and 1 outgoing connections.STEP 05Split out assigned labelsTRANSFORMSPLITOUT1 IN / 1 OUTMerge corresponding labels. decision node, merge. 2 incoming and 1 outgoing connections.STEP 06Merge corresponding labelsDECISIONMERGE2 IN / 1 OUTAggregate label IDs. transform node, aggregate. 1 incoming and 1 outgoing connections.STEP 07Aggregate label IDsTRANSFORMAGGREGATE1 IN / 1 OUTAdd labels to message. Gmail node, gmail. 1 incoming and 0 outgoing connections.OUTCOMEAdd labels to messageGMAILGMAIL1 IN / 0 OUTOpenAI Chat. OpenAI node, lmChatOpenAi. 0 incoming and 1 outgoing connections.DEPENDENCY · DEPTH 1OpenAI ChatOPENAILMCHATOPENAI0 IN / 1 OUTJSON Parser. ai node, outputParserStructured. 0 incoming and 1 outgoing connections.DEPENDENCY · DEPTH 1JSON ParserAIOUTPUTPARSERSTRUCTURED0 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.11 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

Gmail trigger

9 Execution Links2 Support Dependencies
  1. Start

    Gmail trigger

    Trigger

  2. Step 2

    Get message content

    Integration

  3. Step 3

    Assign labels for message

    AI reasoning

  4. Step 4

    Set label values

    Transform

  5. Step 5

    Get all labels

    Integration

    Split out assigned labels

    Transform

  6. Step 6

    Merge corresponding labels

    Decision

  7. Step 7

    Aggregate label IDs

    Transform

  8. Outcome

    Add labels to message

    Integration

Attached dependencies

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

2 nodes
  • OpenAI Chat

    AI reasoning dependency

  • JSON Parser

    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.