Yes! You can write JavaScript code using our Formulas enrichment. Clay formulas are powered by Clayscript, a JavaScript-based language that lets you write custom JavaScript expressions to transform your data. [1]
To add a Formula column:
1.
Click "Add Column" and choose "Formulas"
2.
Write JavaScript code manually or use our AI generator
3.
Access standard JavaScript objects, Lodash library, Moment.js, and Excel/Google Sheets functions
The formulas run row-by-row and support all standard JavaScript functionality for data manipulation.
If you need any more help with using JavaScript in our Formulas enrichment, please let me know. Would you like to share more about what you're trying to achieve with your code?
Body (if POST): Format as JSON following proper syntax [1]
For dynamic data, use column references like /column_name in your JSON body, ensuring strings stay in quotes but numbers don't [2].
Could you share the specific API documentation or requirements from that RapidAPI page? This will help me provide the exact headers and body format needed [3].
If you still need help creating the code to call the API using our HTTP API enrichment, I’m here to assist. Would you like to provide more details about the API requirements or what you want to achieve with the call?