AcademyWorkflowsDevelopment

Set Credentials Dynamically with Expressions

Developers and automation builders who need API keys to come from user input or runtime data.

  • Recommendedour rating
  • 3,642views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

set-credentials-dynamically-using-expressions.json

Loading the file...

What it does

An n8n workflow that shows how to set a node's credentials with an expression. A form asks for an API key, and the NASA node uses that key to authenticate its request. The steps cover turning on expression mode for the API key field and testing the workflow with a form submission.

Use cases

  1. 01Let a user enter their own API key in a form
  2. 02Test a node with keys that change between runs
  3. 03Learn how n8n expressions read form fields

Connects

NASA

Questions about
Set Credentials Dynamically with Expressions.

What is Set Credentials Dynamically with Expressions used for?

Developers and automation builders who need API keys to come from user input or runtime data. An n8n workflow that shows how to set a node's credentials with an expression. A form asks for an API key, and the NASA node uses that key to authenticate its request. The steps cover turning on expression mode for the API key field and testing the workflow with a form submission.

How do I import Set Credentials Dynamically with Expressions into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Set Credentials Dynamically with Expressions safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.