Back to Vibes

Advanced Features

Explore sophisticated capabilities including variable injection, expressions, mathematical operations, date/time functions, and advanced scheduling to create powerful, intelligent workflows.

Advanced Features Overview

Advanced Features unlock sophisticated automation capabilities that transform simple workflows into intelligent, data-driven processes capable of complex decision-making and dynamic content generation.

Variable Injection & Expressions

Empowers you to create dynamic, intelligent workflows through sophisticated data manipulation, mathematical calculations, and complex expression evaluation.

Scheduled Vibes Advanced

Enables proactive automation that works without human intervention, running automatically on schedules for monitoring, reporting, and maintenance tasks.

Vibes includes a powerful variable injection system that allows you to dynamically reference and manipulate data throughout your workflows. This system enables complex data operations, mathematical calculations, and intelligent data flow between workflow steps.

Basic Variable Reference Syntax

Variable injection uses a special syntax ${expression} to reference and evaluate data within your Vibe configurations. This system can handle everything from simple variable references to complex mathematical expressions and array operations.

Basic Variable Reference Examples

Mathematical Calculations

Perform mathematical operations using the calculate() function with support for basic arithmetic, Math functions, and complex expressions.

Mathematical Calculation Examples

Array Operations

Important Note: Array operations return a new array and do not modify the original array data. For filtering and conditional operations, use 'item' to reference the current array element being evaluated.

Array Operation Examples

Conditional Expressions

Use ternary operators, logical expressions, and comparison operators to create dynamic conditional logic within your workflows.

Conditional Expression Examples

File Handling

The apiRequest function provides sophisticated file handling capabilities for uploading documents, images, and other file types:

File Handling Examples

Date and Time Management

Vibes provides powerful date and time manipulation capabilities through the variable injection system with comprehensive date functions for workflow automation.

Date and Time Examples

Security and Safety Features

Expression Validation

The injection system includes safety features to prevent malicious code execution and ensure system stability.

  • Maximum expression length: 500 characters
  • Recursion depth limit: 20 levels
  • Execution timeout: 5 seconds
  • Safe character validation: Only approved characters and operators

Mathematical Safety

Calculate operations include protections to prevent system abuse and ensure reliable mathematical operations.

  • Result size limits: Prevents extremely large numbers
  • Division by zero protection: Throws clear error messages
  • Infinite/NaN detection: Validates all mathematical results
  • Allowed functions only: Restricts to approved Math functions

Variable Injection Best Practices

Performance Optimization

  • Use simple references when possible rather than complex calculations
  • Cache frequently used calculations in variables
  • Avoid deeply nested expressions that are hard to debug

Readability and Maintenance

  • Use descriptive variable names in global variables
  • Break complex expressions into multiple steps
  • Comment complex calculations for future reference

Error Handling

  • Validate that referenced data exists
  • Test expressions with various data types and edge cases
  • Handle edge cases and unexpected values

Advanced Features Mastery

This variable injection system provides the flexibility to create sophisticated workflows that can process, analyze, and transform data dynamically while maintaining safety and performance standards.