Audit and improve workflows with OpenAI and Slack
Ready for 3.0What this workflow does
This AI workflow has 33 nodes and runs manually, when you click “Execute workflow” (plus 2 other triggers). Along the way it connects OpenAI Chat Model and Slack.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 2 other triggers).
- Create a data table (Data table): create (table)
- Get many workflows (n8n): uses n8n
- If: checks a condition and branches into true / false
- Get known workflows (Data table): get
- Merge: merges the data from its input branches
- Switch: routes items into 2 branches
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Disable scan (Data table): update
- Enable scan (Data table): update
- Filter: keeps only the items that match a condition
…plus 16 more steps. See the full node list below.
Services it uses
Other OpenAI + Slack templates (979)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Still check Slack Trigger requires a signing secret on the Slack API credential (Slack Trigger).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (16)
- n8n
n8n-nodes-base.n8n - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Slack
n8n-nodes-base.slack - Data table
n8n-nodes-base.dataTable - Manual Trigger
n8n-nodes-base.manualTrigger - Merge
n8n-nodes-base.merge - Slack Trigger
n8n-nodes-base.slackTrigger - Filter
n8n-nodes-base.filter - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - Wait
n8n-nodes-base.wait - Switch
n8n-nodes-base.switch
From the author
Quick overview This workflow runs weekly to audit your n8n workflows with OpenAI, posts improvement reports to Slack, and stores per-workflow scan preferences in an n8n Data Table that users can toggle by reacting with :x: in Slack. How it works 1. Runs…