Write custom code within Fastgen!

Today, we bring a feature many of you have eagerly awaited: the 'Custom Code' action block! With this addition, you can seamlessly integrate your custom code, be it in Python or JavaScript (Node.js), right into your workflows. This flexibility offers you even more power to tailor the behavior of your APIs and workflows according to your exact requirements.

Writing and Integrating Code

Choose between Python and JavaScript (Node.js) as your scripting language of choice, depending on your preferences and project needs.

Access All Context Data

Easily pull in any context data you require. Whether you're looking for the body, header, path, or query of incoming requests, it's all available at your fingertips within the 'Custom Code' block.

Blend with Existing Workflows

The 'Custom Code' block has been designed to work harmoniously with your existing workflows. Place it wherever you need within your workflow to run your custom scripts.

To get started, simply navigate to the builder and add the 'Custom Code' action block. From there, input your Python or JavaScript code, and you're set! If you ever face challenges or have questions, our documentation provides in-depth guides on using this new feature, and our support team is always ready to assist.