đ Learn Code Node (JavaScript) with an Interactive Hands-On Tutorial â Workflow n8n
Aperçu
How it works
This workflow is a hands-on tutorial for the Code node in n8n, covering both basic and advanced concepts through a simple data processing task.
Provides Sample Data: The workflow begins with a sample list of users. Processes Each Item (Run Once for Each Item): The first Code node iterates through each user to calculate their fullName and age. This demonstrates basic item-by-item data manipulation using $input.item.json. Fetches External Data (Advanced): The second Code node showca
NĆuds utilisĂ©s
Aperçu du workflow
Comment ça fonctionne
- 1
Déclencheur
Le workflow démarre avec un déclencheur déclencheur.
- 2
Traitement
Les donnĂ©es transitent par 7 nĆuds, connecting code, manualtrigger, set.
- 3
Sortie
Le workflow termine son automatisation et livre le résultat à la destination configurée.
DĂ©tails des nĆuds (7)
Code
code
Comment importer ce workflow
- 1Cliquez sur le bouton Télécharger JSON à droite pour enregistrer le fichier du workflow.
- 2Ouvrez votre instance n8n. AccĂ©dez Ă Workflows â Nouveau â Importer depuis un fichier.
- 3Sélectionnez le fichier
learn-code-node-javascript-with-an-interactive-hands-on-tutorialtĂ©lĂ©chargĂ© et cliquez sur Importer. - 4Configurez les identifiants pour chaque nĆud de service (clĂ©s API, OAuth, etc.).
- 5Cliquez sur Tester le workflow pour vérifier que tout fonctionne, puis activez-le.
Ou collez directement dans n8n â Importer depuis JSON :
Intégrations
Créé par
Lucas Peyrin
@lucaspeyrin
Tags
Nouveau sur n8n ?
n8n est un outil d'automatisation de workflows gratuit et open-source. HĂ©bergez-le vous-mĂȘme ou utilisez la version cloud.
Obtenir n8n gratuitement â