1

    n8n Credential API Creator

    by Shogun Labs

    Create n8n credentials programmatically via REST API, including a workaround for the cryptic allOf validation bug that blocks OAuth2 credential creation.

    Updated Jun 2026
    Security scanned
    One-time purchase
    Drive

    $14.99

    · or 75 credits

    One-time purchase

    30-day refund guarantee

    Secure 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

    See it in action

    A real example of what this skill takes in and produces.

    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

    Reviews

    No reviews yet - be the first to share your experience.

    Only users who have downloaded or purchased this skill can leave a review.

    Security Scanned

    Passed automated security review

    Permissions

    Terminal / Shell
    Network Access

    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.

    Creator

    Building battle-tested Claude Code skills from real-world automation — bot-detection bypass, sales copy generation, and n8n workflow tooling.

    Frequently Asked Questions

    More Premium Skills

    $15