Setting Credentials #545
Replies: 1 comment
|
Hey @cmskunkworks — the shape n8n expects is subtle and the UI hides it, so it is an easy one to trip on. Here is what works: Credentials go on the node as a map keyed by the credential type, not the credentials display name. Like this: {
"id": "1",
"name": "Airtable",
"type": "n8n-nodes-base.airtable",
"typeVersion": 2.1,
"position": [250, 300],
"parameters": { "resource": "record", "operation": "create" },
"credentials": {
"airtableTokenApi": {
"id": "sSVnxV9AcBmBOYn8",
"name": "My Airtable Token"
}
}
}Three things that usually bite people:
The workflow I would use with n8n-mcp:
If you want to create a new credential from scratch rather than reuse one, Want me to walk through a specific node you are stuck on? Paste the node JSON you are pushing and I will tell you what is off. |
Uh oh!
There was an error while loading. Please reload this page.
How can you preset node credential selection in the JSON, I can't seem to get that to work. Thanks!
All reactions