Set credentials dynamically using expressions — Workflow n8n

Faible complexité Déclencheur3 nœuds🏷️ Miscellaneous👁 3,642 vuespar Deborah

Aperçu

How it works

This workflow shows how to set credentials dynamically using expressions. It accepts an API key via a form, then uses it in the NASA node to authenticate a request.

Setup steps

First, set up your NASA credential:

Create a new NASA credential. Hover over API Key. Toggle Expression on. In the API Key field, enter {{ $json["Enter your NASA API key"] }}.

Then, test the workflow:

Get an API key from NASA Select Test workflow Enter your key using the form. The workflow runs and se

Nœuds utilisés

NASA

Aperçu du workflow

This workflow shows how to set credentials dy
First, set up your NASA credential:
1. Create a new NASA credential.
1. Hover over API Key.
1. Toggle Expression o
User submits an API key using the form
The workflow passes the key to the NASA node.
The Respond to Webhook node controls the form
N
n8n Form Trigger
NASA
R
Respond to Webhook
3 nodes2 edges

Comment ça fonctionne

  1. 1

    Déclencheur

    Le workflow démarre avec un déclencheur déclencheur.

  2. 2

    Traitement

    Les données transitent par 3 nœuds, connecting formtrigger, nasa, respondtowebhook.

  3. 3

    Sortie

    Le workflow termine son automatisation et livre le résultat à la destination configurée.

Détails des nœuds (3)

NA

NASA

nasa

#1

Comment importer ce workflow

  1. 1Cliquez sur le bouton Télécharger JSON à droite pour enregistrer le fichier du workflow.
  2. 2Ouvrez votre instance n8n. Accédez à Workflows → Nouveau → Importer depuis un fichier.
  3. 3Sélectionnez le fichier set-credentials-dynamically-using-expressions téléchargé et cliquez sur Importer.
  4. 4Configurez les identifiants pour chaque nœud de service (clés API, OAuth, etc.).
  5. 5Cliquez sur Tester le workflow pour vérifier que tout fonctionne, puis activez-le.

Ou collez directement dans n8n → Importer depuis JSON :

{ "name": "Set credentials dynamically using expressions", "nodes": [...], ...}

Intégrations

formtriggernasarespondtowebhook

Obtenir ce workflow

Téléchargez et importez en un clic

Télécharger JSONVoir sur n8n.io
Nœuds3
Complexitélow
Déclencheurtrigger
Vues3,642
CatégorieMiscellaneous

Créé par

Deborah

Deborah

@deborah

Tags

formtriggernasarespondtowebhook

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 →

Related Miscellaneous Workflows