- Home
- Skills
- API Development
- n8n Credential API Creator
n8n Credential API Creator
Create n8n credentials programmatically via REST API, including a workaround for the cryptic allOf validation bug that blocks OAuth2 credential creation.
$15
Works with the AI tools you already use
n8n Credential API Creator
Example session with this skill installed
Create a Google Sheets OAuth2 credential in n8n for me. Use my Client ID and Secret, and make sure to handle that allOf validation error that usually happens with the API.
- Read your context and instructions
- Compiled the n8n credential api
Success: OAuth2 credential created.
ID: OdNdHy3kK7RGSfHv
Type: googleSheetsOAuth2Api
Note: serverUrl and additionalBodyProperties were automatically injected to bypass n8n allOf schema validation. Use the ID above to link this credential to your workflows via API.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
Automate n8n Credential Management
Setting up credentials manually in the n8n UI is a bottleneck for automated deployments and CI/CD pipelines. This skill provides a robust, developer-ready pattern for creating n8n credentials via the REST API, eliminating manual configuration steps.
What it does
- Automates the creation of diverse credential types including OAuth2 (Google Sheets, Drive, Gmail), HTTP Header Auth, and Basic Auth.
- Solves the notorious "allOf schema" bug in the n8n API that causes cryptic validation errors during OAuth2 credential creation.
- Provides ready-to-use implementation patterns for both shell (cURL) and Python.
Why use this skill
Standard LLM prompts often fail to account for n8n's strict OpenAPI validation requirements, which demand specific hidden fields like serverUrl even when they are empty. This skill embeds the specialized logic required to bypass these validation errors, ensuring your automation scripts work on the first try. It is essential for developers managing multi-tenant n8n instances, performing environment migrations, or building infrastructure-as-code (IaC) for automation workflows.
Supported Outputs
The skill generates structured API calls and Python scripts that return the official n8n credential metadata (ID, timestamps, and type) upon successful execution.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 3 months ago
- Passed all security checks, Safe to install