What are triggers?

A Trigger is not required if you only plan to run an Agent manually.
How to create triggers
Based on a schedule

Based on events

- Source: The connected application where the event originates (for example, Gong, Salesforce, HubSpot, or Slack).
- Trigger when: The specific event that starts the Agent, such as “New call recording”, “Deal stage changed”, or “New message in channel”.
- Filter conditions (optional): Rules that control precisely when the Agent runs.
- If: Set conditions based on data within the event. For example, only run the Agent if a call’s duration is longer than 10 minutes.
- Folder: Restrict the trigger to a specific folder within the source application.
- Source: Gong
- Trigger when: New call recording
- 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: Deal stage changed
- 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.
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
- Run status for each execution, such as Completed
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
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
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

