Block 1 - Structured Output Parser
- Type / Role
- @n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
- Config choices
- Version 1.3
This n8n template from Intuz provides a complete and automated solution to transform your team's inbox management. It acts as an intelligent agent that reads incoming Gmai...
@n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.set, n8n-nodes-base.slack, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.code, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.lmchatopenrouter, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Intuz.
Original n8n.io sourceThis n8n template from Intuz provides a complete and automated solution to transform your team's inbox management.
It acts as an intelligent agent that reads incoming Gmail messages, uses AI to determine their category, and automatically routes them to the correct Slack channel—even creating new channels on the fly for new topics.
1. Monitor New Emails: The workflow continuously checks a specified Gmail account for new, unread emails. It automatically filters out spam, drafts, and duplicates.
2. AI Categorization: Each new email's subject and body are sent to an AI model (like Llama 3 via OpenRouter). The AI analyzes the content and assigns a category based on a predefined list (e.g., sales, marketing, accounts, internal).
3. Find or Create Slack Channel: The workflow then checks your Slack workspace to see if a channel corresponding to the AI's category already exists (e.g., #sales).
4. Route the Email:
1. n8n Instance & Required Nodes:
2. Gmail Account: An active Gmail account with API access enabled.
3. Slack Workspace & App:
4. OpenRouter Account: An account with OpenRouter to access various AI models like Llama 3. You will need an API key.
1. Gmail Configuration:
2. OpenRouter AI Configuration:
3. Slack Configuration:
4. Activate the Workflow: Save the workflow and toggle the "Active" switch to ON. Your intelligent email routing system is now live!
If you need help setting up this workflow or require a custom version tailored to your specific use case, please feel free to reach out to the template author:
Click here- Get Started
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 26 workflow blocks. Download the JSON for the full node graph.
| Workflow | Route and categorize Gmail emails to Slack with Llama 3 via OpenRouter |
|---|---|
| Complexity | advanced |
| Nodes | 26 |
| Categories | Ticket Management, AI Summarization |
| Author | Intuz |
| Published | 13 Jan 2026 |
Use the JSON export at /data/workflows/12671/12671.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
This n8n template from Intuz provides a complete and automated solution to transform your team's inbox management. It acts as an intelligent agent that reads incoming Gmai...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Ticket Management, AI Summarization use case.