Scheduled Triggers allow users to automate and standardize business processes by enabling agents to perform actions in the background. Each user of an agent can specify when they want that agent to run, such as daily or weekly. By systematically defining and using these triggers within the Agent Builder, you can ensure your agents operate effectively, automating essential processes and improving overall productivity.

Users

Schedule trigger components

  • Agent Builder: Within the agent builder, you can configure an agent to run on a schedule.
  • Agents Library: Manage scheduled runs in the Active tab.
  • Admin Console: Control which teammates can run agents on a schedule and actions can be automatically run.
Inputformtrigger Pn

Configure agents to run on a schedule

When you create an agent, you must specify that it can run on a schedule and use certain actions to output its work:
1

Select Input form as Trigger

  1. Select “Input form” as the trigger type when creating a new agent.
  2. Click the Allow agent to run on a schedule checkbox.
  3. After publishing the agent, the Set schedule option becomes available. Selecttrigger Pn
2

Build your Agent

Select actions to build an agent that fits your needs.
3

Add Write Actions

Add a Write Action (e.g., sending a Slack DM or creating an email draft) to ensure the agent outputs its work. Since the scheduled agent is run in the background, an action that generates an explicit output is required. An agent with only a Respond step will not produce output in the background.Often, a Respond step is needed before the Write Action for proper output formatting.

Schedule an agent

Every agent that can be scheduled must be explicitly activated after it is created. If an agent’s logic or configuration is changed after activation by the agent creator, existing subscribers who have set the schedules will be informed to review the changes via an email, while the agents will continue to run as scheduled. Scheduletriggers Gi

Managing and Monitoring Agents

  • All agents you have activated are visible and manageable in the AgentsActive tab in the Library.
  • To view the history of agent runs and details like run time, status, or triggering event, go to AgentsActiveView run history. You can filter by time period, agent, run status, and trigger type.
The exact time of execution may depend on how many other agents are set to run at the same time. If you notice any significant delay, please reach out to Glean support.

Admins

Managing Access to Scheduled Triggers

  • By default, scheduled triggers are turned off. In the admin console, admins can turn on for everyone or some teammates.
  • When “On for some teammates” is selected, teammates added to the list will be able to run agents on a schedule in addition to agent moderators and admins. This is a good option if admins want to test the functionality before rolling out to the organization.
  • Teammates who don’t have access will not see the “Set Schedule” option.
Scheduleadminsetting Pn

Enabling Actions to Auto-Run

  • Only the actions configured to auto-run can be used as a Write action. This ensures that only safe actions can be performed without the agent user manually reviewing the output.
  • To change the configuration, go to ActionsAction pack2. Configuration5. Enable actionsEdit settingsAgentsAuto-run.
Actionsconfig Pn

Security and Limitations

  • Any Agent Creator can configure agents to run on a schedule, while only the users with Scheduled Triggers permissions can schedule agents.
  • Rate limitations apply to prevent overload:
    • A maximum of 10 active background agents can be scheduled per user.
    • If you exceed these limits, you must remove agents from the Active tab to set schedules for a new agent.
  • For privacy and security, agents running in the background can use only the actions that are configured to auto-run.