N8N Code Python

🌐Community
by czlonkowski · vlatest · Repository

Generates Python code snippets within n8n workflows to handle complex data transformations and custom integrations.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add n8n-code-python npx -- -y @trustedskills/n8n-code-python
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "n8n-code-python": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/n8n-code-python"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The n8n-code-python skill allows users to execute Python code within the n8n workflow automation tool. It enables integration of custom logic, data processing, and API interactions using Python scripts directly in workflows.

When to use it

  • Automating complex data transformations that require Python libraries
  • Calling external APIs or services with custom authentication logic
  • Performing calculations or analyses that are easier to implement in Python

Key capabilities

  • Execute arbitrary Python code within n8n workflows
  • Pass input data from previous nodes into the Python script
  • Return processed results back to subsequent workflow nodes

Example prompts

  • "Run a Python script to clean and format this CSV data before exporting it."
  • "Use Python to call an external API with authentication headers and return the response."
  • "Process this JSON input using a custom Python function and output the result."

Tips & gotchas

  • Ensure that any required Python libraries are installed in the environment where n8n is running.
  • Be cautious with security when executing untrusted code, as it can pose risks to your system.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
czlonkowski
Installs
552

🌐 Community

Passed automated security scans.