DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to add JavaScript or Python code where the visual nodes stop with n8n

Drop a code step into a workflow to reshape data or call a library the integrations do not cover.

Short answer: Open a workflow in the editor; then add a code step and pick JavaScript or Python; Transform the incoming items and return them to the next node. All steps.

Who it is forA developer who likes visual workflows but needs real code for the tricky step.

The problemNo-code tools hit a wall on custom logic, and full code projects are slow to wire up.

The outcomeOne workflow that mixes visual nodes with a JavaScript or Python step and npm packages.

What you need first

  • Docker for the self-hosted quick start
  • Accounts or API keys for the apps and models you connect

Steps

  1. Open a workflow in the editor
  2. Add a code step and pick JavaScript or Python
  3. Transform the incoming items and return them to the next node
  4. Pull in npm packages for advanced AI workflows if your setup allows it

Prompt for your agent

Add a code step to my n8n-io/n8n workflow <name> that <transformation> on each item, in <JavaScript or Python>, and test it on the last execution's data.

Caveat.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for n8n-io/n8n and "Add JavaScript or Python code where the visual nodes stop"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer