1. Supported Languages & Runtimes
- JavaScript / TypeScript (
component-javascript,component-typescript): Fast V8 / Node.js sandbox for JSON manipulation and data reshaping. - Python (
component-python): Python runtime with math, datetime, and data science libraries for statistical modeling and algorithmic assertions. - cURL (
component-curl): Direct command-line cURL execution with raw output capture. - AWS Lambda (
component-aws-lambda): Serverless execution invoking remote AWS Lambda functions with IAM or API Gateway credentials.
2. Pre-Script & Post-Script Patterns
Pre-Script: Dynamic Cryptographic Signing (HMAC-SHA256)
Before dispatching a secure API request, use a pre-script to compute custom signature headers:Post-Script: Heavy Data Filtering & Aggregation
When an upstream service returns hundreds of records (e.g., 200 transaction history lines), use a post-script to isolate specific items:3. The Scripting Context Object
Every script receives a structuredcontext object providing read and write access to the workflow state: