Trigger types
Add more than one trigger to an Agent, and it runs when any trigger’s condition is met. By default, an Agent has no triggers and runs only when you select Run Agent.
How triggers behave
- Each trigger has its own switch. Pause or resume a trigger with its switch under Triggers in the settings panel. Only the person who created a trigger can switch it.
- Triggered runs use the current version of the Agent. Changes you make apply to the next triggered run.
- Triggers belong to the person who set them. Only that person sees the triggered run and its outputs. People the Agent is shared with can run it themselves and see their own runs. Triggers aren’t saved in version history.
- Every triggered run is a chat. Find it under Past Runs at the top of the Agent’s page, with any outputs under Artifacts.
- Triggered runs can run Workflows, too. If the Agent’s instructions include a Workflow, a triggered run runs it and uses its results, the same as a manual run. The person who set the trigger needs access to the Workflow.
Trigger run notifications
Turn on Notify me after the run to get a notification when a run started by that trigger finishes or fails. The option appears in the form for a new trigger. App triggers that save without opening a form don’t show it. Schedule, Monitor, and Profound data triggers also show the option when you edit them, and the change saves right away. To choose how you get the notification, use Agent runs in your notification preferences.Set default values for inputs
A triggered run starts without anyone there to fill in the Agent’s inputs. Set a value for each required input on the trigger so the Agent can run on its own. When creating a Schedule, Monitor, or Profound data trigger that needs input values, select Next, fill in Input values, then select Add trigger. Saved dialogs for these triggers have Configuration and Default inputs tabs. If a required input has no default value, Profound shows a warning for the trigger. Aim can also set up default values for you: ask it in the Agent’s chat.Add a schedule
In the settings panel, select Add next to Triggers and point to Schedule. Select Hourly, Daily, or Weekly to add a schedule that starts now. If inputs need values, the preset opens the form first. Select Custom to set up a schedule yourself:- Set Starts on to the first date and time the Agent should run.
- Select a Frequency: Doesn’t repeat, Daily, Weekdays, Weekend, Weekly, Monthly, Annually, or Custom. For a custom cadence, select Custom, set Repeat every (for example, 1 week or 4 hours), and select the days under Repeat on.
- For a custom hourly or minute schedule, optionally enable Only run between under Active hours and set From and Until.
- Select Add trigger to save. If inputs need values, select Next, fill in Input values, and then select Add trigger.
Add an app trigger
- Select Add next to Triggers and point to an app listed in the menu, for example Slack or GitHub.
- Select the event to watch for.
- Complete the trigger sentence to narrow which events start a run. The options depend on the app. See the sections below.
Slack
Slack triggers can start a run when a specific person sends a message, reacts to a message, or is @mentioned. For example, add a trigger that fires when you’re @mentioned in a channel, and tell the Agent to reply for you. For the Agent to reply in Slack, add Slack as a tool to the Agent.- Select an event: New channel message, Reaction added to a message, or User mentioned.
- Complete the sentence:
- Messages: select which messages count and the sender (Anyone or A specific person).
- Reactions: select the reaction and the person who reacted.
- User mentioned: select the person who gets mentioned, then who mentions them (Anyone or A specific person).
- Messages and mentions: select including replies or excluding replies.
- Keep All channels (the default for these events) or select a channel. To watch all channels again, select the X next to the channel. With All channels, you must select a specific person who sends the message, adds the reaction, or gets mentioned.
GitHub
GitHub triggers can start a run when:- A pull request is opened, merged, or labeled.
- An issue is opened or labeled.
- Someone comments on an issue or pull request.
- A pull request review is submitted.
- Select an event.
- Select a repository, or All repositories.
- Complete the sentence. Depending on the event, narrow the trigger by:
- Title: text the pull request or issue title contains.
- Comment text: text the comment contains.
- Label: any label, or a specific one.
- Author: anyone, anyone except bots, or a GitHub username. For labels, comments, and reviews, optionally select who opened the issue or pull request: anyone, me, or a GitHub username.
- Branch: the branch a pull request merges into.
- Pull request number: one pull request, for comment and review events.
- Review type: approvals, change requests, or review comments.
Add a monitor
A monitor watches the web for updates that match a query you write. Profound checks for new matches on the schedule you choose, ignores anything it has already reported, and starts a run only when something new appears.- Select Add next to Triggers and select Monitor.
- Optionally, enter a Name (up to 200 characters), for example “Competitor blog monitor”. If you leave it empty, Profound names the monitor “Monitor 1”, “Monitor 2”, and so on.
- In the Query field, describe what to watch (up to 2,000 characters), for example, “a new post on competitor.com/blog” or “changes to the pricing page at competitor.com/pricing”.
- Select a Frequency: Every hour (the default), Every 2 hours, Every 4 hours, Every 6 hours, Every 12 hours, or Every day.
- Select Add trigger to save. If inputs need values, select Next, fill in Input values, and then select Add trigger.
Writing a good monitor query
- Describe what you’re looking for in plain language, the way you’d brief a colleague.
- Keep your query clear and specific: include what to watch for and where to watch for it.
- Leave out date ranges. The monitor already surfaces only what’s new.
Add a Profound data trigger
- Select Add next to Triggers and select Profound data.
- Select the Category and the Asset to watch. FactCheck metrics have no Asset field.
- Build the Trigger condition: set When a metric drops by, rises by, drops below, or rises above a value (in % or a number), Against a comparison window (Last day, Last 7 days, Last 14 days, Last month, or Last 3 months).
- Narrow the scope with Filters: Topics, Platforms, Regions, Tags, or Personas.
- Set the Check frequency (Daily by default, or Weekly, Bi-weekly, or Monthly) and select Add trigger. If inputs need values, select Next, fill in Input values, and then select Add trigger.
- Visibility: Visibility Score, Share of Voice, Average Position, and their ranks.
- Sentiment: positive percentage, negative percentage, and assessment count.
- Citations: Citation Share, citation count, Citation Rank, and Citation Coverage.
- FactCheck: Accuracy score, and inaccurate, accurate, and verified claim counts. These appear only when FactCheck is set up for the category.
Edit, pause, or remove a trigger
Under Triggers in the settings panel:- App triggers: edit the inline sentence. If the trigger opens in the app dialog, use Save to commit additions or removals. Saved sentences in that dialog are read-only; remove and recreate them to change the condition.
- Schedule and Profound data: select the trigger, change its settings, and select Save, or select Remove to delete it.
- Monitor: select the trigger to rename it or change its Default inputs, then select Save. To change its query or frequency, remove it and add a new monitor.