MCP tools
Trigger n8n workflows as MCP tools from inside an agent.
API reference
Call agent and workflow APIs directly from n8n nodes.
Pre-built workflows
Jarvis includes workflows across three categories:| Category | Examples |
|---|---|
| Infrastructure | Node health checks, disk cleanup, container restarts, mesh rebalancing |
| Monitoring | Alert routing, metric aggregation, uptime notifications, incident creation |
| Deployment | Docker image pulls, service rollouts, config propagation, post-deploy verification |
http://your-jarvis-host:5678.
Trigger a workflow
Workflows run when triggered — by a webhook, a schedule, an event from another system, or directly from a Jarvis agent.Find the workflow ID
Open the n8n editor at
http://your-jarvis-host:5678 and locate the workflow you want to trigger. The workflow ID appears in the URL: /workflow/42.Alternatively, list workflows via the Jarvis API:Enable the webhook trigger
Open the workflow and confirm the trigger node is active. For webhook-triggered workflows, the trigger node shows the webhook URL — for example:Toggle the workflow to Active if it isn’t already.
Trigger types
Workflows can be triggered in several ways:- Webhook — an HTTP request hits a unique URL you define in the workflow
- Schedule — cron-style scheduling built into the trigger node
- Event — another workflow, an agent, or an external system emits an event
- Manual — you click Execute Workflow in the n8n editor
Create a workflow that calls a Jarvis agent
You can use n8n as the orchestrator: trigger a workflow on a schedule or event, then have it call a Jarvis agent to do the reasoning work.Add an HTTP Request node
In the n8n editor, add an HTTP Request node after your trigger. Set the method to
POST and the URL to the agent API endpoint:Connect workflows to the agent API
Any n8n node that makes HTTP requests can call the Jarvis agent API. The most common patterns are: Run an agent from a workflow:jarvis.workflow.trigger MCP tool):
When an agent invokes jarvis.workflow.trigger, it POSTs to the n8n webhook on your behalf — so agents and workflows can call each other bidirectionally.
Customize existing workflows
All pre-built workflows are editable. To customize one:- Open
http://your-jarvis-host:5678and navigate to Workflows - Click the workflow you want to modify
- Edit nodes, add branches, or change trigger conditions
- Save and ensure the workflow is set to Active
Editing a pre-built workflow replaces it. If you want to preserve the original, duplicate the workflow first using the … menu.