Code Block
Execute custom JavaScript or TypeScript code within your workflow.
Features
- Full TypeScript support
- Access to workflow context
- Return values to use in other blocks
Example
typescript
// Process the input
const result = input.split(',').map(s => s.trim());
return result.length;Available APIs
fetch- Make HTTP requestsconsole- Debug loggingJSON- Parse and stringify