Study FAQ
How should I choose an event, schedule or conversation trigger for an agentic workflow?
Also asked as 2
- When should an agentic workflow start from an event, a schedule or a command?
- How do I match an agentic workflow trigger to its business decision?
Answer
Use an event trigger when qualifying record changes need a response, a schedule when people review a defined reporting period, and a conversation trigger when an authorized person should initiate the work with current context. A trigger starts work; it does not validate its conclusions or authorize every possible effect.
For event-driven triage, define the eligible event, repository and record filters so unrelated activity does not create work. For a weekly digest, define the time window and how unresolved items carry into the next period. For a reassessment requested in a conversation, specify who may request it and what additional evidence they must supply.
GitHub Agentic Workflows ChatOps implements command-triggered repository automation in issue and pull-request conversations. Its default command access is restricted to users with write permission and can be configured through role settings. A built-in slash command typed inside a Copilot client is a different mechanism; knowing the shortcut does not install a repository workflow.
Check the selected runtime's supported triggers. Copilot cloud automations offer schedules, repository events and API starts; local app automation options differ. Test whether the selected event actually qualifies before diagnosing the agent prompt when no run appears.
References: ChatOps, Copilot automations - GitHub Docs, Using automations in the GitHub Copilot app - GitHub Docs.
Full explanation
GH-700: Design Agentic Workflows Around Business Decisions
Study guide · GH-700
Read the full explanation