Running Python or JavaScript code within Make.com can significantly enhance your automation capabilities, allowing for actions like complex string manipulations and data processing.
This integration opens up new possibilities for handling tasks that are challenging or impossible with no-code tools alone. In my video, I demonstrate how to set up and use 0CodeKit to run Python and JavaScript code within Make.com workflows.
I go through the entire process in the video below:
Getting Started with 0CodeKit
To begin running custom code in Make.com, you’ll need to sign up for a free account with 0CodeKit. Upon registration, you’ll receive 25 app credits, which translates to 25 free code executions. This is an excellent way to test the service and see how it can enhance your Make.com workflows.
Setting Up 0CodeKit in Make.com
Once you’ve signed up, follow these steps to integrate 0CodeKit with Make.com:
- Copy your 0CodeKit API key from your account
- In Make.com, add a new 0CodeKit module
- Select “Run Python code” or “Run JavaScript code” based on your needs
- Connect the module by pasting your API key
Running Python Code in Make.com
In the video, I demonstrate a practical example of using Python within Make.com to manipulate text. The task involves removing timestamps from a YouTube transcript, which would usually be quite difficult to do within a no-code tool.
Example: Cleaning YouTube Transcripts
The workflow consists of three main steps:
- Retrieving the transcript from Google Sheets
- Processing the text using Python code in 0CodeKit
- Updating the cleaned transcript back in Google Sheets
The Python code used in this example was generated with the help of ChatGPT, demonstrating how AI can assist in creating efficient code snippets for specific tasks.
Running JavaScript Code in Make.com
The process for running JavaScript is similar to Python. In Make.com, you can select the “Run JavaScript code” option when adding a 0CodeKit module. The syntax for returning results is slightly different, but the overall approach remains the same.
Available Libraries and Limitations
It’s important to note that 0CodeKit supports a specific set of libraries for both Python and JavaScript. While the selection is quite comprehensive, it’s not unlimited. Be sure to check the supported packages before planning your code integration. i’ve gone through these in the video above.