What are triggers?

A Trigger is not required if you only plan to run an Agent manually.
Organize triggers with tags
Use trigger tags to label related triggers by team, workflow, customer, or purpose. Tags are shared across your workspace and can be created, renamed, recolored, or deleted from the tag picker on any trigger. On the main Triggers page, use the Tags section in the sidebar to filter the list. Selecting more than one tag shows triggers that have any selected tag.How to create triggers
All trigger types include a Timeout setting. Choose 15, 30, 60, or 120 minutes, or choose Uncapped for runs that should not stop automatically. If you do not change this setting, Realm stops a trigger run after 60 minutes.Based on a schedule

Based on a knowledge event

- Source: The connected application where the event originates, such as Gong, Salesforce, HubSpot, Slack, Google Drive, Jira, or Zendesk. Only connected sources are shown.
- Trigger when: The item type and change type that starts the Agent. Realm builds these options from the selected source’s supported content types, such as Opportunity updated, Deal updated, Ticket created, Call created, Thread created, or Thread reply added.
- Filter conditions (optional): Rules that control precisely when the Agent runs.
- If: Set conditions based on the changed item. For example, only run the Agent when an Opportunity’s Stage changes to Closed Won, when an Owner field is not empty, or when a call’s duration is longer than 10 minutes.
- Folder or Channel: Restrict the trigger to a specific folder, channel, or similar location within the source application. Slack triggers require a channel. Other sources can usually be left unrestricted.
Options of the Trigger when field
After you select a Source, Realm shows the event options available for that source. Each option pairs a supported item type with the event that can start the Agent:
Some item types only support updated events, so you may not see both created and updated for every item type. Salesforce also includes shortcuts such as Task created and Event created for activity-style automation.
For CRM automation, look for the CRM object in this menu rather than a separate generic event name. For example, a Salesforce Opportunity change is configured with Source = Salesforce and Trigger when = Opportunity updated. A HubSpot deal change is configured with Source = HubSpot and Trigger when = Deal updated.
Conditions on updated events
Updated events require at least one Filter condition. The Agent runs only when a condition field changed and the new value matches the condition. For example, to run when a Salesforce Opportunity is moved to Closed Won:- Source: Salesforce
- Trigger when: Opportunity updated
- Filter condition: If Stage equals Closed Won
- Source: Gong
- Trigger when: Call created
- Agent action: The Agent receives the call transcript, summarizes it, searches for competitor names against a predefined list, and sends a summary with action items to a specific Slack channel.
- Source: Salesforce
- Trigger when: Opportunity updated
- Filter: If Stage equals Closed Won
- Agent action: The Agent gathers context from recent activities, generates a concise “Win Reason”, and updates the corresponding field in Salesforce.
- Source: Salesforce
- Trigger when: Opportunity activity added, Task created, or Event created, depending on the activity you want to catch
- Filter: Optional, such as If Reply Type equals Task
- Agent action: The Agent reads the Opportunity context and the new activity, then sends a Slack message to the owner.
- Add Salesforce as knowledge or as a tool, depending on whether the Agent only needs synced CRM context or also needs to run live Salesforce actions.
- Add the Google Sheets tool and enable the read and write actions the Agent needs.
- Make sure the spreadsheet is selected with Google Picker before the Agent writes to it. See Updating Google Sheets for the detailed setup.
- Set write actions to Ask while testing. Change them to On only after the Agent reliably writes the right rows and values.
- Use preset parameters for stable values the Agent should not choose, such as the Spreadsheet ID and a fixed sheet or range pattern.
- Let the Agent fill dynamic values, such as the row to update and the cell values, when those depend on the triggered Opportunity or the current sheet contents.
- Source: Salesforce
- Trigger when: Opportunity created or Opportunity updated
- Filter: Add conditions for the changes you care about, such as If Stage equals Proposal or If ARR Growth is greater than 100000.
- Agent instructions: Tell the Agent to read the triggered Opportunity, check whether that Salesforce Opportunity ID already exists in the sheet, then update that row or add a new row.
Event triggers react to future create, update, and activity events as Realm syncs them. They do not bulk-import every existing CRM record. For an initial backfill, run an Agent manually or on a schedule and instruct it to search Salesforce for the records to add before the event trigger handles future changes.
Based on a webhook

- Select trigger type: Choose “Based on a webhook” when creating your trigger.
- Copy the webhook URL: Realm will generate a unique URL for this trigger. Copy this URL.
- Configure the external system: Paste the copied URL into the webhook configuration section of the external tool you want to trigger the Agent from.
- Choose authentication (optional): Select an authentication method to secure your webhook and ensure only authorized systems can trigger your Agent.
Run history and monitoring

Trigger details page

What you can see
- Trigger status in the list view, such as Active
- Last run in the list view
- Execution history on the trigger detail page
- Configured timeout on the trigger detail page
- Run status for each execution, such as Completed or Timed out
Why it is useful
Use run history to:- Confirm that a trigger is firing as expected
- Check when the trigger last ran
- Review whether recent executions completed successfully
- Track trigger activity over time
- Manually run a trigger with its normal input, a selected document, a webhook payload, or raw text input when testing
Monitoring tips
- After creating a trigger, check its Status and Last run in the list view to confirm it is active and running
- Open the trigger detail page to review Execution history
- Use the history table to verify that scheduled runs are completing as expected
Sharing and permissions
A trigger has one owner and can be shared with other people in your organization. New triggers are private to their owner until the owner shares them. Triggers that were created before sharing was introduced stay visible to everyone in your organization.Roles
- Owner: The person who created the trigger. An owner can do everything an editor can do, and can also delete the trigger, manage its access list, and transfer ownership to someone else.
- Editor: Can change the trigger’s configuration, enable or disable it, run it now, and retry, cancel, or resume runs. An editor cannot delete the trigger, share it, or transfer ownership.
- Viewer: Can open the trigger and read its configuration and run history. A viewer cannot change the trigger, its tags, and cannot start a run.
Who can see a trigger
The owner chooses between two levels of visibility from the sharing menu:- Private: Only the owner and the people on the access list can see the trigger. Add people individually and choose whether each of them is a viewer or an editor.
- Everyone in your organization: Anyone in your organization can open the trigger and follow its runs. Changing or running the trigger still requires the editor role.
Organization admins
Organization admins can see every trigger and can pause or resume any of them without being added to the access list. When an admin needs to change a trigger, they can grant themselves edit access in one click. That grant then appears in the trigger’s access list, so the owner can always see who has access.Runs use the owner’s permissions
Run status, timing, and errors are visible to editors and viewers. The chat transcript of a run is not shared: it stays with the person whose run created it. Because of this, an editor can only pick an agent that the owner can reach, and the Google Calendar connection of a calendar trigger can only be changed by the owner. An editor sees the owner’s calendar selection but cannot swap in their own connection.Transferring ownership
An owner can transfer a trigger to another full member or admin of the organization. The previous owner stays on the access list as an editor, so they can keep working on the trigger without owning it. Because later runs use the new owner’s permissions, a transfer is refused when the new owner cannot reach the trigger’s agent, and a calendar trigger can only be transferred to someone who has access to its Google Calendar connection.Troubleshooting a trigger
If a trigger does not run as expected:- Confirm the trigger is enabled
- Check that the trigger conditions are correct
- Verify that the source system is sending the event or webhook
- Review the most recent run history for errors or skipped runs

