Trigger registry

From evolution-foundation/evo-nexus · View interactive version

Trigger registry is an AI agent skill from the GitHub repository evolution-foundation/evo-nexus. Create, manage, and test reactive triggers (webhook & event-based). Triggers execute skills or routines in response to external events (GitHub push, Stripe payment, Linear issue, etc.). Use when user says 'create trigger', 'list triggers', 'novo trigger', 'webhook para', 'quando acontecer', 'trigger

How to use this skill

Skill file

Trigger Registry — Reactive Event Triggers

Create and manage triggers that execute skills or routines in response to external events (webhooks, integrations).

When to Use

API Reference

The dashboard backend exposes these endpoints:

| Method | Endpoint | Action |

|--------|----------|--------|

| GET | /api/triggers | List triggers (query: ?type=webhook\|event&source=github\|stripe\|...&enabled=true\|false) |

| POST | /api/triggers | Create a new trigger |

| GET | /api/triggers/<id> | Get trigger details + last 20 executions |

| PUT | /api/triggers/<id> | Update trigger |

| DELETE | /api/triggers/<id> | Delete trigger + executions |

| POST | /api/triggers/<id>/test | Test trigger (simulate execution) |

| POST | /api/triggers/<id>/regenerate-secret | Regenerate webhook secret |

| GET | /api/triggers/<id>/executions | List executions with pagination |

| POST | /api/triggers/webhook/<id> | Webhook receiver (public, HMAC-validated) |

Trigger Types

| Type | Description |

|------|-------------|

| webhook | Receives HTTP POST from external services (GitHub, Stripe, etc.) |

| event | Reacts to integration events (configured in YAML or UI) |

Sources & Event Examples

| Source | Signature Header | Example Events |

|--------|-----------------|----------------|

| github | X-Hub-Signature-256 | push, pull_request, issues, release |

| stripe | Stripe-Signature | charge.succeeded, customer.subscription.created, invoice.paid |

| linear | X-Linear-Signature | Issue (create/update), Comment |

| telegram | Token-based | message, callback_query |

| discord | Ed25519 | message_create |

| custom | X-Webhook-Signature | Any — user-defined |

Action Types

| Type | Payload | When to Use |

|------|---------|-------------|

| skill | Skill name (e.g. discord-send-message Deploy detectado) | Running a Claude skill |

| prompt | Free-form prompt text | Running a raw Claude prompt |

| script | Script path relative to ADWs/routines/ | Running an existing routine script |

Agents

| Agent ID | Short Name |

|----------|------------|

| clawdia-assistant | @clawdia |

| flux-financeiro | @flux |

| atlas-project | @atlas |

| kai-personal-assistant | @kai |

| pulse-community | @pulse |

| sage-strategy | @sage |

| pixel-social-media | @pixel |

| nex-comercial | @nex |

| mentor-courses | @mentor |

Workflow

Creating a Trigger

  1. Understand the request — extract what event, what action, which agent:
  1. Confirm with user — show summary:

```

Criar trigger:

Confirma?

```

  1. Create via API:

Use from dashboard.backend.sdk_client import evo — auto-handles URL + auth.

```python

from dashboard.backend.sdk_client import evo

trigger = evo.post("/api/triggers", {

"name": "Deploy Notification",

"type": "webhook",

"source": "github",

"event_filter": {"event": "push", "branch": "main", "repo": "EvolutionAPI/evolution-api"},

"action_type": "skill",

"action_payload": "discord-send-message Deploy detectado na main",

"agent": "pulse-community",

"enabled": True,

})

```

  1. Show result — display webhook URL and secret for configuration:

```

Trigger criado!

```

Listing Triggers

from dashboard.backend.sdk_client import evo
triggers = evo.get("/api/triggers")

Format as table: ID | Name | Type | Source | Status | Runs

Testing a Trigger

from dashboard.backend.sdk_client import evo
evo.post("/api/triggers/1/test")

Common Templates

When user selects a source, suggest pre-built event filters:

GitHub:

Stripe:

Linear:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.