Build Sub-Workflow Tools
You're the control room operator at Isla Dino. Your AI Operator can receive briefings about the park status, but right now it can only talk - it can't actually do anything.
In n8n, you can give AI agents "tools" - sub-workflows they can call to perform actions. In this challenge, you'll create a logging tool that the AI Operator can use to record emergency events.
What you'll practice:
- Creating sub-workflows with input parameters
- Using the "Execute Workflow Trigger" for sub-workflows
- Connecting sub-workflows as AI tools
- Using n8n's AI parameter filling feature
Your Task
- 1Copy the exercise below
- 2Paste into your n8n editor (Ctrl+V)
- 3Solve it — use hints if you get stuck
- 4Check the solution when done
Create a sub-workflow that logs emergencies, then connect it as a tool for the AI Operator.
Important: Sub-workflows should live in their own n8n workflow file, not on the same canvas as your main workflow. This keeps things organized and avoids errors when connecting tools.
Part A: Create a new workflow with a "When Executed by Another Workflow" trigger that accepts emergency data (status, time, location, dinosaur count).
Part B: Connect this workflow as a tool to the AI Operator so it can call it automatically.
Expected output: When the AI Operator receives a briefing, it calls the logging tool with the appropriate parameters.
Get the exercise workflow
Create a free account to copy exercises into your n8n editor.