Tasks
Tasks are saved instructions that Junior runs later. They are built into @sentry/junior.
Task Types
Section titled “Task Types”| Type | Trigger | Example |
|---|---|---|
| Scheduled task | A date or recurring schedule | “Every Monday at 9am, post a project recap” |
| Event task | A resource event from a plugin | “When this issue closes, summarize it here” |
A resource subscription is different: it follows one resource temporarily without storing an instruction. See Resource Subscriptions.
Scheduled Tasks
Section titled “Scheduled Tasks”Ask in the Slack conversation where results should appear:
remind me in 10 minutes to stretchevery Monday at 9am, post a project recap in this channelJunior can list, update, delete, or run a scheduled task immediately:
what scheduled tasks do I have?move my weekly recap to Friday at 3pmrun the weekly recap nowmove my weekly planning reminder from #ops hereAsk in the destination conversation when rehoming a task across channels. Junior lists the requester’s matching task and updates that existing schedule to deliver here; it does not require opening the source channel first.
Event Tasks
Section titled “Event Tasks”Event tasks require a plugin that publishes the selected resource and event:
when ACME-42 closes, summarize the resolution in this channelwhenever a new issue is created in Linear team SRE, investigate it and comment findings on the issueIf the plugin is disabled, the task remains visible but cannot receive events until a compatible plugin is enabled again. Each plugin page lists the resources and events it can publish.
Access and Delivery
Section titled “Access and Delivery”- Tasks run as Junior and deliver to the Slack channel or DM currently set as the task destination.
- New tasks start in the conversation where they were created; creators can later update their own task so it delivers in another conversation they are currently talking in.
- A task may use its creator’s connected account when access was delegated to that task.
- Only the creator can enable creator credential access or change a task’s destination.
- Event content is treated as data, not as a user instruction.
- Action review still applies when required.
Signed-in users can inspect and delete their tasks from the dashboard Tasks page. Completed one-off reminders stay under Mine so creators can confirm they ran.
Verify Tasks
Section titled “Verify Tasks”- Ask Junior to remind you in one minute.
- Confirm the task appears on the dashboard Tasks page.
- Confirm the reminder arrives in the original Slack conversation.
If tasks do not run, follow Reliability Runbooks to check the heartbeat and conversation worker.
Next Step
Section titled “Next Step”Read Credentials & OAuth before using connected accounts in scheduled or event tasks.