Create n8n Credential
n8n_create_credentialCreate a new credential by providing a display name, type, and data. Fetch the credential schema beforehand to know exactly which fields are required.
Instructions
Create a new credential. Use n8n_get_credential_schema first to know required fields.
Args:
name (string): Credential display name
type (string): Credential type (e.g., 'githubApi', 'slackApi')
data (object): Credential data/secrets (specific to the credential type)
projectId (string?): Project to assign the credential to
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Credential data/secrets | |
| name | Yes | Credential display name | |
| type | Yes | Credential type (e.g., 'githubApi') | |
| projectId | No | Project ID to assign to |