Nœuds de workflow
Tous les nœuds de workflow, générés à partir du catalogue de blocs et des connecteurs.
Les nœuds natifs s'exécutent dans le moteur de workflows. Les nœuds de connecteurs (node.<id>) proviennent de connectors/ et s'exécutent dans le bac à sable des fonctions. Les fonctions de l'espace de travail sont aussi disponibles sous forme de nœuds fn.<name>.
Nœuds natifs
ai.decide
Décision IA. L'IA choisit l'une des branches déclarées et explique pourquoi.
Branches : .
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
prompt | string | oui | |
context | any | non | |
branches | array | oui |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"branch": {
"type": "string"
},
"reason": {
"type": "string"
},
"confidence": {
"type": "number"
}
},
"required": ["branch", "reason", "confidence"],
"additionalProperties": false
}ai.extract
Extraction IA. L'IA extrait des champs structurés d'un texte.
Branches : ok.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
text | string | oui | |
fields | array | oui | |
instructions | string | non |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}ai.run
Agent IA. L'IA suit une instruction et peut lire ou mettre à jour des objets.
Branches : ok.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
prompt | string | oui | |
context | any | non | |
objects | array | oui | |
schema | object | non |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"result": {}
},
"required": ["result"],
"additionalProperties": false
}condition
Condition (oui / non). Vérifie une ou plusieurs règles sur l'enregistrement (relations comprises), ou compare n'importe quelle valeur de l'exécution ({ left: "{{steps.x.output.y}}", op, right }) : continue sur Oui si c'est vrai, sinon sur Non.
Branches : true, false.
Entrée
Aucun paramètre.
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"result": {
"type": "boolean"
}
},
"required": ["result"],
"additionalProperties": false
}data.set
Définir des valeurs. Crée des valeurs nommées (texte, nombre, variables) à réutiliser dans les étapes suivantes.
Branches : ok.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
values | object | oui |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}data.transform
Remodeler des données. Extrait des champs d'un objet (par exemple le contenu d'un événement) sous de nouveaux noms.
Branches : ok.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
source | any | oui | |
mapping | object | oui |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}date
Calculer une date. Formate une date, ajoute une durée ou calcule l'écart entre deux dates.
Branches : ok.
Entrée
Aucun paramètre.
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"value": {
"type": ["string", "number"]
}
},
"required": ["value"],
"additionalProperties": false
}event.emit
Émettre un événement. Publie un événement qui peut déclencher d'autres workflows.
Branches : ok.
Entrée
| Nom | Type | Requis | Description |
| ---------------- | --------- | ------ | ----------- | --- |
| type | string | oui | |
| recordId | string \ | null | non | |
| payload | object | oui | |
| occurredAt | string | non | |
| idempotencyKey | string | non | |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"eventId": {
"type": "string"
},
"duplicate": {
"type": "boolean"
}
},
"required": ["eventId", "duplicate"],
"additionalProperties": false
}formatter
Formater une valeur. Transforme une valeur sans IA : texte (casse, remplacement, découpage, extraction d'e-mail/URL/nombre, slug), nombre (analyse, formatage, arrondi, calcul), date (analyse, formatage, ajout, écart), table de correspondance, première valeur non vide, liste/jointure.
Branches : ok.
Entrée
Aucun paramètre.
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"value": {}
},
"required": ["value"],
"additionalProperties": false
}http.request
Requête HTTP. Appelle une URL externe et renvoie la réponse.
Branches : ok, error.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
method | string | oui | Valeurs possibles : GET, POST, PUT, PATCH, DELETE. |
url | string | oui | |
headers | object | oui | |
body | any | non |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"status": {
"type": "number"
},
"body": {}
},
"required": ["status", "body"],
"additionalProperties": false
}human.approve
Approbation humaine. Met l'exécution en pause jusqu'à son approbation ou son rejet, avec un délai facultatif.
Branches : approved, rejected, expired.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
message | string | oui | |
timeout | string | non |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"message": {
"type": "string"
}
},
"required": ["message"],
"additionalProperties": false
}list.aggregate
Calculer sur une liste. Compte les éléments ou calcule une somme, une moyenne, un minimum ou un maximum, au total ou par groupe.
Branches : ok.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
items | array | oui | |
op | string | oui | Valeurs possibles : count, sum, avg, min, max. |
path | string | non | |
groupBy | string | non |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"value": {
"type": ["number", "null"]
},
"groups": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": ["number", "null"]
}
},
"required": ["key", "value"],
"additionalProperties": false
}
}
},
"required": ["value"],
"additionalProperties": false
}list.dedupe
Supprimer les doublons. Supprime les éléments en double d'une liste (selon un champ ou l'élément entier).
Branches : ok.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
items | array | oui | |
path | string | non |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"items": {
"default": [],
"type": "array",
"items": {}
},
"removed": {
"type": "number"
}
},
"required": ["items", "removed"],
"additionalProperties": false
}list.filter
Filtrer une liste. Garde les enregistrements d'une liste qui remplissent une condition.
Branches : ok.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
object | string | oui | |
items | array | oui | |
condition | any | oui | |
limit | integer | oui |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"items": {
"default": [],
"type": "array",
"items": {}
},
"truncated": {
"type": "boolean"
}
},
"required": ["items", "truncated"],
"additionalProperties": false
}list.limit
Garder les premiers éléments. Garde un nombre limité d'éléments d'une liste.
Branches : ok.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
items | array | oui | |
limit | integer | oui | |
offset | integer | oui |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"items": {
"default": [],
"type": "array",
"items": {}
},
"total": {
"type": "number"
}
},
"required": ["items", "total"],
"additionalProperties": false
}list.map
Transformer une liste. Transforme chaque élément d'une liste en objet.
Branches : ok.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
items | array | oui | |
mapping | object | oui | |
limit | integer | oui |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"items": {
"default": [],
"type": "array",
"items": {}
},
"truncated": {
"type": "boolean"
}
},
"required": ["items", "truncated"],
"additionalProperties": false
}list.sort
Trier une liste. Trie les éléments d'une liste selon un champ.
Branches : ok.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
items | array | oui | |
path | string | non | |
order | string | oui | Valeurs possibles : asc, desc. |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"items": {
"default": [],
"type": "array",
"items": {}
}
},
"required": ["items"],
"additionalProperties": false
}loop
Boucle. Répète une suite d'étapes pour chaque élément d'une liste.
Branches : done.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
items | array | oui | |
limit | integer | oui | |
include | array | non | |
do | array | oui |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"iterations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"index": {
"type": "number"
},
"durationMs": {
"type": "number"
},
"cost": {
"type": "number"
}
},
"required": ["index", "durationMs", "cost"],
"additionalProperties": false
}
},
"truncated": {
"type": "boolean"
}
},
"required": ["results", "iterations", "truncated"],
"additionalProperties": false
}mcp.call
Appel MCP. Appelle un outil sur un serveur MCP configuré.
Branches : ok, error.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
server | string | oui | |
tool | string | oui | |
arguments | object | oui |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"result": {}
},
"required": ["result"],
"additionalProperties": false
}record.create
Créer un enregistrement. Crée un enregistrement dans un objet d'une base de données.
Branches : ok.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
object | string | oui | |
data | object | oui |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"record": {}
},
"required": ["record"],
"additionalProperties": false
}record.delete
Supprimer un enregistrement. Supprime définitivement un enregistrement.
Branches : ok, not_found.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
recordId | string | oui |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"deleted": {
"type": "boolean"
}
},
"required": ["deleted"],
"additionalProperties": false
}record.get
Lire un enregistrement. Lit un enregistrement par son identifiant.
Branches : found, not_found.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
id | string | oui | |
include | array | non |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"record": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": ["record"],
"additionalProperties": false
}record.map
Copier un enregistrement. Copie un enregistrement vers un objet de n'importe quelle base de données, champ par champ.
Branches : ok.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
source | string | oui | |
sourceObject | string | non | |
object | string | oui | |
mode | string | oui | Valeurs possibles : create, update, upsert. |
recordId | string | non | |
key | string | non | |
externalId | string | non | |
mapping | object | oui |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"record": {},
"created": {
"type": "boolean"
}
},
"required": ["record", "created"],
"additionalProperties": false
}record.merge
Fusionner des enregistrements. Fusionne des doublons en un seul enregistrement : champs, relations et chronologie, tout ou rien.
Branches : ok.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
keep | string | oui | |
merge | array | oui |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"record": {},
"merged": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": ["record", "merged"],
"additionalProperties": false
}record.search
Rechercher des enregistrements. Recherche les enregistrements d'un objet avec un filtre.
Branches : found, empty.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
object | string | oui | |
filter | any | non | |
limit | integer | non |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"records": {
"type": "array",
"items": {}
}
},
"required": ["records"],
"additionalProperties": false
}record.transact
Écritures groupées. Applique plusieurs créations, mises à jour et suppressions en une seule transaction.
Branches : ok.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
ops | array | oui |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {}
}
},
"required": ["results"],
"additionalProperties": false
}record.update
Mettre à jour un enregistrement. Met à jour un ou plusieurs champs d'un enregistrement.
Branches : ok.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
recordId | string | oui | |
data | object | oui |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"record": {},
"changed": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": ["record", "changed"],
"additionalProperties": false
}record.upsert
Créer ou mettre à jour un enregistrement. Upsert par champ unique (e-mail, domaine…) ou identifiant externe, sans doublon.
Branches : created, updated.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
object | string | oui | |
data | object | oui | |
match | string | non | |
externalId | string | non |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"record": {},
"created": {
"type": "boolean"
},
"changed": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": ["record", "created", "changed"],
"additionalProperties": false
}slack.send
Message Slack. Envoie un message sur Slack via une URL d'Incoming Webhook.
Branches : ok, error.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
webhookUrl | string | oui | |
text | string | oui |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"status": {
"type": "number"
}
},
"required": ["status"],
"additionalProperties": false
}stop.error
Arrêter avec une erreur. Arrête le workflow avec un message d'erreur ; l'erreur apparaît dans le centre d'erreurs.
Branches : .
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
message | string | oui |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": false
}switch
Aiguillage. Oriente vers une branche selon la valeur d'un champ de l'enregistrement, ou selon n'importe quelle valeur de l'exécution ({ value: "{{steps.x.output.y}}", cases }) : un cas par valeur, puis Sinon.
Branches : dynamiques (selon la configuration).
Entrée
Aucun paramètre.
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"case": {
"type": ["string", "null"]
},
"label": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": ["case", "label", "reason"],
"additionalProperties": false
}wait
Attendre. Met l'exécution en pause pendant une durée.
Branches : done.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
duration | string | oui |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"until": {
"type": "string"
}
},
"required": ["until"],
"additionalProperties": false
}wait.until
Attendre jusqu'à une date. Met l'exécution en pause jusqu'à une date et une heure précises.
Branches : done.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
until | string | oui |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"until": {
"type": "string"
}
},
"required": ["until"],
"additionalProperties": false
}webhook.emit
Envoyer un webhook. Envoie un contenu signé à une URL.
Branches : ok, error.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
url | string | oui | |
secret | string | oui | |
payload | any | oui |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"status": {
"type": "number"
}
},
"required": ["status"],
"additionalProperties": false
}workflow.run
Exécuter un autre workflow. Exécute un autre workflow et attend son résultat, ou continue sans attendre.
Branches : ok, error.
Entrée
| Nom | Type | Requis | Description |
| ---------- | --------- | ------ | ----------- | --- |
| workflow | string | oui | |
| recordId | string \ | null | non | |
| event | any | non | |
| wait | boolean | oui | |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"runId": {
"type": "string"
},
"status": {
"type": "string"
},
"output": {},
"error": {
"type": "string"
}
},
"required": ["runId"],
"additionalProperties": false
}Nœuds de connecteurs
node.slack.post_message
Publier un message Slack. Publie un message dans un canal Slack (ou une réponse dans un fil avec threadTs) en tant que bot connecté.
Branches : ok.
Entrée
| Nom | Type | Requis | Description |
|---|---|---|---|
channel | string | oui | |
text | string | oui | |
threadTs | string | non |
Sortie
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"channel": {
"type": "string"
},
"ts": {
"type": "string"
}
},
"required": ["channel", "ts"],
"additionalProperties": false
}