N8N Code Python

🌐Community
by wilkomarketing · vlatest · Repository

Automates marketing workflows using Python code within n8n, integrating data and triggering actions for personalized campaigns.

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 wilkomarketing-n8n-code-python npx -- -y @trustedskills/wilkomarketing-n8n-code-python
2

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

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

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

About This Skill

What it does

This skill allows you to execute Python code within an n8n workflow. It provides a way to integrate custom logic and perform complex operations that are not natively supported by n8n's built-in nodes. You can leverage the vast ecosystem of Python libraries for data manipulation, API interactions, or any other task requiring programmatic control.

When to use it

  • Complex Data Transformations: Use this when you need to manipulate data in ways that standard n8n nodes cannot handle (e.g., parsing complex JSON structures).
  • Custom API Integrations: Integrate with APIs that require specific Python libraries or authentication methods not supported by existing n8n integrations.
  • Automated Report Generation: Generate reports or documents based on data processed within an n8n workflow, utilizing Python's reporting and document generation capabilities.
  • Advanced Calculations: Perform intricate calculations or statistical analysis using Python’s numerical libraries.

Key capabilities

  • Execute arbitrary Python code within an n8n workflow.
  • Access data from previous nodes in the workflow as input to the Python script.
  • Return results from the Python script to subsequent nodes in the workflow.

Example prompts

  • "Write a Python script to extract email addresses from this text."
  • "Generate a CSV file containing the first 10 items from this JSON array."
  • "Translate this text into French using the Google Translate API."

Tips & gotchas

  • Ensure you have a working knowledge of Python programming.
  • Be mindful of resource limitations within the n8n environment; complex scripts may require optimization to avoid timeouts.

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
wilkomarketing
Installs
9

🌐 Community

Passed automated security scans.