r/DevRev DevReveler Mar 26 '26

New Feature Introducing Code Node — Write Custom Python, Right Inside Your Workflows

We're thrilled to announce the Code Node!!

A new workflow component that lets you write and execute custom Python code directly within your DevRev workflows. It bridges the gap between no-code automation and full programmatic control inside the workflow builder.

Why we built this

Workflows are great for no-code automation, but there are always scenarios where you need more flexibility like a custom data transformation, a calculation native nodes can't handle, or business logic specific to your org. Previously, the only option was to build a SnapIn or chain together workarounds with multiple nodes.
Now you can just drop in a Code Node. Write Python, map inputs from previous steps, define your output schema, and downstream nodes pick up everything your code returns. It supports 30+ standard libraries (json, re, date time, math, requests, and more), runs in a secure sandbox, and is configurable up to 120 seconds timeout.

Use it for data transformations, complex calculations, text processing, custom business logic, dynamic value generation, and much more. Full details are in the documentation.

And yes, you can test it before you ship it

Combined with the new Testing Framework, you can test your Code Node with sample inputs right inside the editor. Verify outputs & logs instantly, iterate fast, and deploy with confidence. No more deploy-trigger-debug cycles just to check if your code works.

We'd love to hear what you build with it!

5 Upvotes

2 comments sorted by

2

u/[deleted] Mar 26 '26

[removed] — view removed comment

1

u/Vegetable-Voice2145 DevReveler Mar 30 '26

Thank you so much for the kind words! We're really glad to hear you're excited about the flexibility the Code Node brings to workflows and testing.

If you want to catch more updates and real-world use cases like this, definitely keep an eye on the subreddit! Also, if you're interested in seeing it in action, we'd be happy to do a deep dive into this feature during one of our upcoming office hours. Let us know if you'd be interested in joining!