Skip to main content
Triggers define what can wake up a SuperAgent. They can be Alpha events, schedules, or custom external events from systems like TradingView, Zapier, internal services, exchange alerts, and monitoring scripts.
This page covers SuperAgent triggers. For the outbound Alpha/Radar flow where Gigabrain calls your endpoint, see Alpha Webhooks.

How it works

  1. Open the agent’s Triggers tab.
  2. Create a custom trigger.
  3. Choose a trigger name, such as price-alert or risk_event.
  4. Leave the optional fields blank, or expand advanced options to customize them.
  5. Send a POST request to the generated endpoint.
When an event is accepted, the agent creates a new trigger session and processes the rendered prompt asynchronously. If no custom instructions are set, the agent receives the full JSON payload.

Endpoint

Each custom external trigger has this endpoint format:
Anyone with the full endpoint URL can trigger that agent. Treat the security key like a password and rotate it if it leaks.

Create a trigger

From the dashboard:
  1. Open the SuperAgent.
  2. Go to Triggers.
  3. Under Custom triggers, click Add trigger.
  4. Fill in the fields below.

Payloads

The request body must be a JSON object.
If the trigger accepts the event, the response looks like:
If the event does not match the trigger filter, the response is:

Prompt templates

Prompt templates use {{key}} placeholders. Each placeholder is replaced by the matching top-level field from the JSON payload. Template:
Payload:
The agent receives:
Unmatched placeholders are removed. Keep important fields explicit in the template so the agent knows what to do with the event.

Filters

Filters are optional. If no filter is set, every valid event triggers the agent. Filters are strict: every configured filter key must exist in the payload and match. Example filter:
With this filter, the trigger ignores events that do not include both token and confidence.

Examples

TradingView alert

Use the generated endpoint URL as the alert webhook URL and send JSON like:
Prompt template:

Internal risk event

Prompt template:

Responses and limits

Custom event triggers are rate-limited to 60 requests per minute per IP. A matched event starts an agent run, so use filters to avoid noisy or duplicate events.

Best practices

  • Use one trigger per event type, for example price-alert, risk-event, or deposit-detected.
  • Keep the security key private and rotate it if it is exposed.
  • Send only the fields the agent needs.
  • Use filters for noisy integrations.
  • Make the prompt template action-oriented: tell the agent whether to review, alert, trade, summarize, or update a file.
  • Include source and timestamp fields when possible so the agent can reason about freshness.