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.
- Automate n8n setup in CI/CD pipelines
- Bypass cryptic allOf schema errors in n8n REST API calls
- Migrate credentials between development and production n8n environments
$15
· or 75 creditsSecure checkout via Stripe
Included in download
- Bypass cryptic allOf schema errors in n8n REST API calls
- Migrate credentials between development and production n8n environments
- terminal, network automation included
- Ready for Drive
Sample input
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.
Sample output
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.
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
· or 75 creditsSecure checkout via Stripe
Included in download
- Bypass cryptic allOf schema errors in n8n REST API calls
- Migrate credentials between development and production n8n environments
- terminal, network automation included
- Ready for Drive
- Instant install
Sample input
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.
Sample output
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.
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.
Use Cases
- Automate n8n setup in CI/CD pipelines
- Bypass cryptic allOf schema errors in n8n REST API calls
- Migrate credentials between development and production n8n environments
- Bulk-create HTTP Header and Basic Auth credentials via Python scripts
Known Limitations
- Requires n8n API Key with write permissions. - Cannot trigger the manual OAuth consent flow; tokens must be authorized via the UI post-creation. - Supports only public-facing REST API v1.
How to Install
mkdir -p ~/.claude/skills && curl -sL https://www.agensi.io/api/install/n8n-credential-api-creator -o /tmp/n8n-credential-api-creator.zip && unzip -o /tmp/n8n-credential-api-creator.zip -d ~/.claude/skills && rm /tmp/n8n-credential-api-creator.zipFree skills install directly. Paid skills require purchase - use the download button above after buying.
Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Early access skill
Be the first to review this skill.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
Create n8n credentials programmatically via the REST API. Includes a battle-tested workaround for n8n cryptic allOf validation bug that blocks OAuth2 credential creation for Google Sheets, Drive, and Gmail. Stop creating credentials by hand; script them reliably.