Set credentials dynamically using expressions — n8n Workflow

Niedrig Komplexität Auslöser3 Knoten🏷️ Miscellaneous👁 3,642 Aufrufevon Deborah

Übersicht

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

Verwendete Knoten

NASA

Workflow-Vorschau

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

So funktioniert es

  1. 1

    Auslöser

    Der Workflow startet mit einem auslöser-Auslöser.

  2. 2

    Verarbeitung

    Die Daten fließen durch 3 Knoten, connecting formtrigger, nasa, respondtowebhook.

  3. 3

    Ausgabe

    Der Workflow schließt seine Automatisierung ab und liefert das Ergebnis an das konfigurierte Ziel.

Knotendetails (3)

NA

NASA

nasa

#1

So importieren Sie diesen Workflow

  1. 1Klicken Sie rechts auf die Schaltfläche JSON herunterladen, um die Workflow-Datei zu speichern.
  2. 2Öffnen Sie Ihre n8n-Instanz. Gehen Sie zu Workflows → Neu → Aus Datei importieren.
  3. 3Wählen Sie die heruntergeladene Datei set-credentials-dynamically-using-expressions und klicken Sie auf Importieren.
  4. 4Richten Sie Anmeldedaten für jeden Dienstknoten ein (API-Schlüssel, OAuth usw.).
  5. 5Klicken Sie auf Workflow testen, um zu überprüfen, ob alles funktioniert, und aktivieren Sie es dann.

Oder direkt in n8n → Aus JSON importieren einfügen:

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

Integrationen

formtriggernasarespondtowebhook

Diesen Workflow holen

Herunterladen und mit einem Klick importieren

JSON herunterladenAuf n8n.io ansehen
Knoten3
Komplexitätlow
Auslösertrigger
Aufrufe3,642
KategorieMiscellaneous

Erstellt von

Deborah

Deborah

@deborah

Tags

formtriggernasarespondtowebhook

Neu bei n8n?

n8n ist ein kostenloses Open-Source-Workflow-Automatisierungstool. Selbst hosten oder die Cloud-Version nutzen.

n8n kostenlos holen →

Related Miscellaneous Workflows