Code Node
Can run custom code in a sandbox.
Properties
Label | Property | Type | Description | Default Value | Is Required |
---|---|---|---|---|---|
Language | Language | botdojo/types/options | The language of the code to run. TypeScript or JavaScript. | TypeScript,JavaScript | |
Allow Callbacks | Allow Callbacks | botdojo/types/boolean | Allow the Code Node to access session state. This is required if you want to use session state in your code. | false | |
Allow Environment Variables | Allow Environment Variables | botdojo/types/boolean | Allow the Code Node to access environment variables via the context.env object. | false |
Output
Label | Property | Type | Description | Default Value |
---|---|---|---|---|
Output | output | botdojo/types/data | Output | null |