Aller au contenu
Skillpedia
Automatisations7.6k · #13138

automations

Ce qu’il fait

Cette compétence explique comment créer des automatisations dans une application Agent-Native. Une automatisation est une série d'instructions que l'agent suit, déclenchée par un planning, un événement, un webhook ou un appui manuel. Elle s'adresse aux personnes qui veulent que le travail routinier de l'agent s'exécute sans être demandé à chaque fois.

Quand l’utiliser

  • ✓Quand vous voulez que l'agent exécute une tâche selon un planning, par exemple chaque matin.
  • ✓Quand vous voulez qu'une tâche démarre lorsqu'un événement précis se produit.
  • ✓Quand vous voulez qu'un service externe lance une tâche par un webhook.

Lien du skill

https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/automations/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/automations/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Peux-tu mettre en place une automatisation qui m'envoie chaque matin de semaine un résumé des nouveaux tickets de support ?”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent enregistre chaque automatisation dans un fichier markdown avec quelques réglages en tête pour définir quand elle s'exécute, et les instructions en dessous. Vous pouvez aussi la lancer à la main à tout moment.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Automations

Rule

Automations are the user-facing umbrella for agent-executed tasks that run on demand, in response to events or webhooks, or on a cron schedule. Schedule, Event, Manual, and Webhook are the persisted trigger types. Each automation is a markdown resource under jobs/ with YAML frontmatter describing when and how it fires, and a body containing natural-language instructions the agent follows.

Recurring Jobs is the legacy name and API for scheduled automations. manage-jobs, jobs/, and /agent#jobs remain stable compatibility surfaces. Use manage-automations for new personal or organization automations, including per-automation model overrides and MCP allowlists. Keep manage-jobs for existing schedule-only integrations and delivery metadata.

The Persisted Trigger Types

Type Fires when Trigger-specific fields
schedule Cron expression matches (same as recurring jobs) schedule (required), timezone
event A matching event is emitted on the event bus event (required), condition (optional)
manual A user explicitly invokes run-now None
webhook A POST reaches its generated webhook endpoint None

Event triggers can optionally include a condition -- a natural-language string evaluated by a model against the event payload before dispatch. If the condition does not match, the automation is skipped. Manual automations have no schedule, timezone, event, or condition; they never fire from the scheduler or event bus and run only through manage-automations action=run-now. Webhook automations run only when their generated endpoint is called. The endpoint path contains a secret token; share it only with the intended webhook provider.

The UI's Email received choice is not a persisted trigger type. It is a specialized event editor that persists triggerType: event with event: mail.message.received and represents email filters as the event condition.

How It Works

  1. User asks the agent to create an automation (or uses the app's Automations page in Settings, /settings/automations; open it with open-settings-page page automations).
  2. For an event trigger, the agent calls manage-automations with action=list-events to discover the exact registered event name and payload.
  3. Agent calls manage-automations with action=define to write a jobs/<name>.md resource.
  4. The scheduler acquires due schedule triggers, the event dispatcher acquires matching event triggers, the webhook route accepts authenticated endpoint calls, and manual triggers wait for action=run-now.
  5. Event acquisition enforces owner and organization scope and evaluates any condition against the event payload.
  6. Schedule, event, webhook, and explicit run-now acquisition converge on the shared background-automation runner, which validates identity, resolves the configured model and MCP allowlist, runs the agent loop, handles continuation and delivery, and records usage.
  7. Status (lastRun, lastStatus, lastError) is written back to the resource frontmatter.

Trigger acquisition stays separate by design: the scheduler decides when a cron expression is due, the event dispatcher matches event names, owners, and conditions, the webhook route authenticates its endpoint token, and run-now is the only acquisition path for manual automations. Everything after a trigger is accepted uses the same execution lifecycle.

Markdown Format

---
enabled: true
triggerType: event
event: calendar.booking.created
condition: "attendee email ends with @example.com"
mode: agentic
domain: calendar
createdBy: user@example.com
runAs: creator
---

Send a Slack message to #sales with the booking details.
Use the web-request tool with ${keys.SLACK_WEBHOOK}.

Frontmatter Fields

Field Type Purpose
schedule string Cron expression; new scheduled automations default to once per hour (0 * * * *) when omitted
enabled boolean Whether the automation is active
triggerType "schedule" | "event" | "manual" | "webhook" How the automation fires
event string?
Questions fréquentes

Quels sont les quatre types de déclencheurs ?

Les déclencheurs planifiés, événementiels, manuels et par webhook sont les quatre types listés par la compétence.

À quoi sert une condition d'événement ?

C'est une vérification formulée en langage courant, exécutée sur l'événement avant le démarrage de l'automatisation.

Quelle différence avec les tâches récurrentes ?

Les tâches récurrentes sont l'ancien nom des automatisations planifiées, et l'ancienne API fonctionne toujours.

Détails

Description originale de l’auteur

Manual, event-triggered, webhook-triggered, and schedule-triggered automations with optional event conditions. Use when creating automations, wiring events or webhooks, running one on demand, or understanding triggers.

repo: BuilderIO/agent-native

Popularité

Étoiles GitHub
7.6k
Position au classement
#13138
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires