Altan
HomeDiscordStatus
HomeDiscordStatus
  1. Flows
  • What is Altan?
  • Support Options
  • Projects
    • Create Your First Project
    • App Navigation & Settings
    • Building Tips
    • The Art of Prompting
    • Publishing Your App
    • Rollback and Checkpoints
    • Instantly Resolve Errors
  • Databases
    • Introduction
    • Security
    • Technical Overview
  • AI Agents
    • What is an AI Agent?
    • Create your first AI Agent
    • Tools
    • Interacting with Your AI Agent
    • Technical Overview
    • Altan Frontend SDK
      • Altan Frontend SDK
  • Flows
    • Create your first Flow
    • Automation basics
    • Adding modules
    • Types of modules
    • Passing data
    • Filters
    • Debugging
    • Retrigger events
    • Version History
    • Overwrite connection
    • Task credits
  • Integration
    • Magic Link
    • Altan Integrator
    • Create your integration
  • Authentication
    • Authentication
  • Payments
    • Checkout Session
    • Object Storage
  • Media
    • Media
  • Partner Program
    • Who are our Partners?
    • Partner Program Benefits
    • How to import projects into Altan
    • How to export projects from Altan
    • Work collaboratively
    • How to start on Altan
    • Become an Altan Partner
  • API Reference
    • account
      • Create Account
      • Get Account Gq
      • Get Account Public
      • Get Account Usage
      • Patch Account
      • Delete Account
      • Get Account Users
      • Create Custom Webhook
      • Create Media
      • Create Media From Url
      • Create Multiple Media
      • Create Token
      • Create Agent
      • Upsert Flow
      • Fetch User Account Notifications
      • Create Altaner
      • Get Selected Template Version
      • Get Latest Template Version
      • Get Template Version
      • Invite User
      • Create Interface
      • Get Members
      • Get Account Connections
      • Get Apikey
      • Delete Apikey
    • project
      • Get Altaner
      • Create Project V2
      • Update Altaner
      • Delete Altaner
      • Get Altaner Flows
      • Clone Altaner
      • Update Altaner Positions
      • Create Altaner Component
      • Update Altaner Component
      • Get Altaner Component
      • Atomic Update Altaner Component
      • Delete Altaner Component
      • Duplicate Altaner
      • Create Idea
    • interface
      • Start Dev Server
      • Get Dev Status
      • Send Dev Error To Agent
      • Revise Interface
      • Get Dev Errors
      • Log Error
      • Create Or Overwrite File
      • Update File
      • Create Multiple Files
      • Read File
      • Read Multiple Files
      • Delete File
      • Rename File
      • Update Files Pattern
      • Search In Files
      • Search And Replace
      • Preview Updates
      • Install Libraries
      • List Tree
      • List Tree Json
      • Get Repo Status
      • List Branches
      • Create Branch
      • Delete Branch
      • Switch Branch
      • Clone Repo
      • Merge Branch
      • Commit Changes
      • Get Diff Changes
      • Accept Changes
      • Discard Changes
      • Push Changes
      • Pull Changes
      • Reset Repo
      • Get Repo Log
      • Restore Main
      • Get Public Interface
      • Get Interface By Name
      • Get Interface
      • Update Interface
      • Delete Interface
      • Get Interface Screenshot
      • Update Interface With Ai
      • Publish Interface
      • Vercel Webhook
      • Get Deployment Status
      • Add Collaborator
      • Get Deployment Logs
      • Fix Deployment With Ai
      • Add Domain
      • Get Domains
      • Remove Domain
      • Verify Domain
      • Add Env Variables
      • Get Env Variables
      • Delete Env Variable
      • Sync Env Variables
      • Rollback Deployment
      • Get Commit Details
      • Restore To Commit
    • flows
      • modules
        • Fetch Module
        • Update Flow Module
        • Delete Module
        • Fetch Graph Module
        • Rename Module
        • Update Position In Canvas
        • Update In Edge Filter
        • Update Route Condition Filter
        • Add Condition
        • Get Available Variables For Mappings
      • hooks
        • Get Webhook
        • Update Hook
      • executions
        • Get File Signed Url
        • Stream Execution
      • Fetch Flow Execution
      • Fetch Flow
      • Update Flow
      • Delete Flow
      • Get Latest Execution
      • Fetch Flow Schema
      • Get Flow From Hook
      • Get Flow Hook
      • Fetch Flow Executions
      • Fetch Flow Executions
      • Upsert Flow Module
      • Add Flow Module
      • Create Flow Duplicate
      • Clone Flow Modules
      • Paste Flow Modules
      • Delete Modules
      • Update Edge
    • media
      • Get Media Url
      • Delete Media
      • Get Multiple Media
      • Get 3D Media
      • Delete Model
      • Create 3D Model
    • agents
      • tools
        • Patch Tool
        • Patch Tool
      • authorizaiton requests
        • Create Authorization Request
        • List Authorization Requests
        • Get Authorization Request
        • Delete Authorization Request
        • Reject Authorization Request
      • Get Altan Agents
      • List Voices
      • Get Agent
      • Update Agent
      • Delete Agent
      • Get Agent
      • Create And Add Tool To Agent
      • Remove Tool And Space
      • Get User Agent Dm Room
      • Get Agent Gate
      • Get Agent Member Usage
  1. Flows

Types of modules

Altan's Flow Builders provide a suite of powerful modules that work together to enable dynamic and complex workflow automation. Some of these modules are interlinked, meaning they complement each other to create seamless processes. Understanding these relationships will help you build workflows more effectively.

🧠 AI Agent#

What it does: Integrates AI agents to handle complex problems, providing intelligent decision-making within workflows.
When to use: For workflows requiring AI-powered reasoning, text generation, or data processing.

image.png#

🌲 Router#

What it does: Splits your workflow conditionally, executing only the path of the first condition that matches.
Interlink: Works alongside the Brancher for advanced conditional paths, and the Octopus to merge split paths back together.
When to use: For workflows where only one path needs to execute.

πŸ”— Brancher#

What it does: Splits your workflow into multiple paths, checking every condition and executing all that apply.
Interlink: Use the Octopus to reunite multiple paths after branching.
When to use: For workflows where multiple paths may need to execute simultaneously.

πŸ™ Octopus#

What it does: Reunites multiple workflow paths into a single unified path.
Interlink: Essential when using Router or Brancher, as it consolidates their split paths.
When to use: To converge workflows after they’ve been split into separate branches.

image.png#

πŸ”„ Iterator#

What it does: Processes collections by iterating over each element, applying actions one at a time.
Interlink: The Aggregator is required to combine the outputs of the iterator into a single collection.
When to use: For tasks that process each item in a list or array (e.g., sending emails to multiple recipients).

βž• Aggregator#

What it does: Merges outputs from an Iterator into a single collection (e.g., an array of processed data).
Interlink: Must be paired with an Iterator to work effectively.
When to use: To combine the results of iterated actions into one dataset.

πŸ§‘β€πŸ’» Code#

What it does: Executes custom code in a sandboxed environment to perform specific tasks beyond the standard modules.
When to use: For advanced scenarios requiring custom logic or external API calls not natively supported.

πŸ“Š Set Variables#

What it does: Saves reusable variables for later steps in the workflow.
When to use: To avoid recalculating or re-fetching the same data multiple times, especially in workflows with cloned or repeated steps.

🎯 Invoke Flow#

What it does: Calls another workflow and passes custom data to it.
When to use: To create modular workflows or reuse a set of actions across multiple workflows.

πŸ“ Response#

What it does: Enables the workflow to return a response payload, typically for API interactions.
When to use: For workflows that need to return data (e.g., webhooks or API integrations).

πŸ›  Interlinked Modules: How They Work Together#

1.
Iterator and Aggregator:
Iterator splits a collection into individual elements for processing.
Aggregator then merges the processed results back into a single collection.
Example: Sending an email to a list of users and aggregating the delivery status of each.
2.
Router, Brancher, and Octopus:
Router executes only one matching path, while Brancher can execute multiple paths simultaneously.
Octopus reunites these split paths back into a single workflow.
Example: Branching workflows to handle different user types, then converging all paths to finalize the process.
By understanding these relationships, you can design workflows that are both flexible and powerful. Pro Tip: Plan your workflow structure ahead of time to ensure the necessary modules are in place to handle branching, iteration, and convergence effectively.
Modified atΒ 2025-07-28 16:00:26
Previous
Adding modules
Next
Passing data
Built with