Triggers
When the task runs
Instructions
What the agent does
Output
Where the result goes
How tasks connect to agents
Every agent in Mantle can have one or more tasks. Think of an agent as the who (the AI with specific skills and tools) and a task as the what + when:| Field | Description |
|---|---|
| Name | A label like “Daily digest” or “Weekly report” |
| Task instructions | Extra prompt added on top of the agent’s system prompt |
| Trigger | When the task fires (manual, schedule, event…) |
| Output | Where the result goes |
Setting up a task
Choose a trigger
Pick when the task should run. Start with Manual if you just want an on-demand button.
Set the output
Choose where the agent’s response goes: a new private chat, a team channel, or silent (no output).
Output types
Where does the agent’s response go when a task runs?| Output | Best for |
|---|---|
| New chat | Reports or summaries you want to read privately |
| Post to channel | Team digests, alerts, or updates everyone should see |
| Silent | Background automations that write to external tools (Linear, Notion, etc.) with no chat output |
Task chains
Tasks can trigger other tasks. When one task finishes, it can fire the next — passing its output along.Chains are capped at 10 steps deep. One task can trigger at most 5 downstream tasks. Cycles are blocked at save time.
Run history
Every task execution creates a run record. You can see the last 20 runs per task:- Status — success, failed, or running
- Triggered by — manual press, schedule, or upstream task
- Duration and token usage
- Output link — jump to the chat or channel message the agent produced
- Error message — if something went wrong
Example use cases
Daily digest
Daily digest
A research agent scrapes your sources every morning and posts a summary to a team channel. You wake up to a briefing without lifting a finger.Trigger: Schedule — daily at 8am
Output: Post to #daily-digest channel
Weekly report
Weekly report
A data agent queries your metrics every Monday and emails a formatted report. Runs silently, posts a link to #reports when done.Trigger: Schedule — every Monday at 9am
Output: Post to #reports channel
On-demand analysis
On-demand analysis
A research agent you run manually when you need a deep-dive. Press “Run now” from the task page, get results in a new chat.Trigger: Manual
Output: New chat
Multi-step pipeline
Multi-step pipeline
A researcher fetches data → an editor cleans and structures it → a publisher formats and posts it to the team channel. Three agents, each adding value to the previous step’s output.Trigger: Schedule on the first step, On Complete for steps 2 and 3
Output: Silent → New chat → Post to channel
Error handling
Error handling
A monitoring agent checks your deployment every 5 minutes. On failure, it fires a different “alert” agent that posts to #incidents with context.Trigger: Schedule on monitor, On Complete (failure) on alert
Output: Post to #incidents channel
Trigger types
Learn about all the ways to trigger a task — manual, schedule, on completion, and integrations