Cosmocloud Build Documentation
DocumentationTutorials
  • Welcome to Cosmocloud
  • Getting Started
    • 1. Organisations
    • 2. Projects
    • 3. Connect your Database
    • 4. Create Database Models
    • 5. Create APIs
    • 6. Testing Free Tier APIs
  • Free Tier
    • Connecting with MongoDB Data APIs
  • Templates
    • CRUD APIs
    • Entity Search APIs
    • Fetch / Upload Media APIs
  • Examples - How To?
    • Making an external API call
    • Reusable Flows - SubFlows
    • Creating Custom Error Responses
    • Flow Builder - Building Conditional Logics
    • Flow Builder - Utilising Loops
    • Creating Dynamic Queries
    • Accessing Auth Tokens in APIs
    • How to upload/download media in Object Storage
  • Resources
    • APIs
      • Checking Logs
    • SubFlows
    • Models
      • Building Models
    • Environments
      • Environment Tier Types
    • Secrets
      • Custom Secrets
    • Databases
    • Releases
    • Vector Search
      • Create a Vector Search Index
      • Edit a Vector Search Index
      • Delete a Vector Search Index
    • Document Search
      • Full Text Search
        • Concepts
          • Indexing in full-text search
          • Data processing using Analyzers
        • Create a Search Index
        • Creating a Custom Analyzer
        • Full Text Search FAQ
      • Vector Search
    • Object Storage
  • Flow Builder
    • Node Types
      • Trigger Nodes
        • HTTP Response
      • Conditional Nodes
        • If Else
        • If Else V2
        • Switch Case
      • Crypto Nodes
        • PBKDF2 Hmac Hash
      • Debug Node
      • Database Nodes
        • Delete One
        • Delete Many
        • Fetch By ID
        • Find One
        • Find Many
        • Insert One
        • Insert Many
        • List Records
        • Run Aggregation Pipeline
        • Update One
        • Update by ID
        • Update Many
      • External Nodes
        • Fire Events (SQS)
        • API Call
        • Delete storage objects
        • Execute SubFlow
        • Get Presigned URL
        • Post Presigned URL
        • Send EMAIL (SES)
        • Send SMS (SNS)
      • Loop Nodes
        • For loop
        • While loop
      • Variable Nodes
        • Arrays
          • Append array
          • Contains
          • Check array empty
          • Extend array
          • Get Array Item
          • Length of array
          • Reverse array
          • Sort array
        • Date and Time
          • Set current datetime
        • Strings
          • Append String
          • Concat Strings
          • Convert to String
          • Length of String
          • Slice String
          • Split String
          • String Operations
          • To Lower
          • To Upper
          • Trim String
        • Mathematical
          • Add Variable
          • Complex Math Expr
          • Decrement Variable
          • Divide Variable
          • Increment Variable
          • Multiply Variable
          • Subtract Variable
        • JSON
          • Build JSON Object
          • Merge JSON Objects
          • Object to String
          • Update JSON Object
        • Special
          • Build Map
          • Set Variable
          • Exists Check
    • Node name
    • CQL - Cosmocloud Query Language
      • Building Expressions
        • $abs
        • $add
        • $addDate
        • $arrayElemAt
        • $avg
        • $buildDateTime
        • $buildMap
        • $ceil
        • $cond
        • $divide
        • $floor
        • $getDay
        • $getHour
        • $getMinute
        • $getMonth
        • $getSecond
        • $getYear
        • $ifNull
        • $max
        • $min
        • $mod
        • $multiply
        • $pow
        • $subtract
        • $sqrt
      • Building Conditions
        • Compound Operators
          • $and
          • $or
        • Conditional Operators
          • $eq
          • $gt
          • $gte
          • $lt
          • $lte
          • $neq
      • Magical Autocomplete
  • Advanced Guide
    • Configuring Authentication
      • SSO Providers
        • AWS Cognito
      • Authentication Concepts
    • MongoDB Query Language
      • Limitations
    • Performance Considerations
      • Instant Deployments
  • User Management
  • Billing and Payments
    • Billing Portal
  • Help & Support
  • References
    • Change log
    • Available Cloud & Regions
Powered by GitBook
On this page
  • Arrays
  • Strings
  • Mathematical
  • JSON
  1. Flow Builder
  2. Node Types

Variable Nodes

Variable nodes are essential components that empower users to work with dynamic data within workflows. These nodes enable the creation and management of variables, which are placeholders for storing and retrieving information.

Some type of variable nodes present in cosmocloud are -

Arrays

  • Append to Array : This node facilitates the addition of new elements to an existing array within your API flow.

  • Contains : This node serves to determine whether a specific value is present within a given array.

  • Check array empty : This node allows you to check if a given array holds some values.

  • Length of Array : This node enables you to determine the number of elements within an array within your API flow.

  • Reverse Array : This node empowers you to reverse the order of elements within an array within your API flow.

  • Sort Array : This node is used to sort array (ascending or descending) within your API flow.

Strings

  • Append to String : This node empowers you to dynamically extend a string within your API flow, enabling flexible content building and dynamic string concatenation.

  • Concat String : This node enables you to effortlessly combine multiple strings within your API flow, facilitating dynamic text creation and versatile content generation.

  • Set Variable : This node allows you to define and assign values to variables within your API flow. This node is essential for storing and managing data that can be used throughout the workflow.

  • Slice String : The "Slice String" node empowers you to extract a portion of a string within your API flow.

  • To Lower : This node allows you to convert a string to lowercase within your API flow.

  • To Upper : This node enables you to convert a string to uppercase within your API flow.

  • Trim String: This node empowers you to remove leading and trailing whitespace from a string within your API flow.

Mathematical

  • Add Variable : This node optimises API flows by enabling summation operations, enhancing computational capabilities, and improving workflow efficiency through calculated variables.

  • Complex Maths Expr : This node empowers you to perform intricate mathematical calculations seamlessly within your API flow, enabling advanced computations and data transformations.

  • Decrement Variable : This node allows you to decrease the value of a variable within your API flow.

  • Divide Variable : This node enables you to perform division operations on a variable within your API flow.

  • Increment Variable : This node enables you to increase the value of a variable within your API flow.

  • Multiply Variable : This node enables you to perform multiplication operations on a variable within your API flow.

  • Subtract Variable : This node enables you to conduct subtraction operations on a variable within your API flow.

JSON

  • Merge JSON : This node allows you to combine and unify multiple JSON objects within your API flow.

  • Build JSON Object : This node allows you to construct and customise JSON data structures effortlessly within your API flow, enhancing data formatting.

PreviousWhile loopNextArrays

Last updated 10 months ago