- Home
- Skills
- APIs & Backend
- 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 Agents 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.
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 use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
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 4 months ago
- Passed all security checks, Safe to install