ZBrain Documentation
  • ZBrain Documentation
    • Components of ZBrain
    • Getting started with ZBrain
    • 📚Knowledge base
      • How to create a knowledge base?
      • Knowledge source
      • Information schema
      • File summary
      • Automated reasoning
      • Retrieval testing
      • Knowledge base settings
    • 📱APP
      • How to create a new app?
      • How to set up and customize your app?
      • How to access the app reporting dashboard?
    • 🤖ZBrain AI agents
      • Get started with agents on ZBrain
      • Deploying pre-built agents
      • Creating custom AI agents
        • Agent setup
        • Define input sources
        • Define Flow
          • Key elements of a Flow
          • Flow Components
            • Activepieces Platform
            • AITable
            • Airtable
            • Amazon S3
            • Amazon SNS
            • Amazon SQS
            • Amazon Textract
            • Apify
            • Apollo
            • Approval
            • Asana
            • Azure Communication Services
            • Azure Cosmos DB
            • Azure Document Intelligence
            • Azure OpenAI
            • Azure Translation
            • Bannerbear
            • Baserow
            • Beamer
            • Bedrock Claude
            • Bettermode
            • Binance
            • Bing Search
            • Blackbaud
            • Bonjoro
            • Box
            • Brevo
            • Brilliant Directories
            • Bubble
            • CSV
            • Calendly
            • Certopus
            • Clearout
            • Clockodo
            • Code
            • Confluence
            • Connections
            • Constant Contact
            • Contiguity
            • Contentful
            • Customer.io
            • Crypto
            • Databricks
            • Data Mapper
            • Date Helper
            • DeepL
            • Delay
            • Discord
            • Discourse
            • Drip
            • Dropbox
            • Dust
            • Facebook Pages
            • Figma
            • Files Helper
            • Flowise
            • Flowlu
            • Formbricks
            • Frame
            • Freshdesk
            • Freshsales
            • GCloud Pub/Sub
            • GenerateBanners
            • GhostCMS
            • GitHub
            • GitLab
            • Gmail
            • Google Calendar
            • Google Contacts
            • Google Docs
            • Google Drive
            • Google Forms
            • Google Gemini
            • Google My Business
            • Google Search
            • Google Search Console
            • Google Sheets
            • Google Tasks
            • Groq
            • Hacker News
            • Heartbeat
            • HubSpot
            • HTTP
            • Image Helper
            • Inputs
            • Instagram for Business
            • Intercom
            • Invoice Ninja
            • Jira Cloud
            • Jotform
            • Kimai
            • Kizeo Forms
            • LeadConnector
            • Line Bot
            • Linear
            • LinkedIn
            • LinkedIn Actions
            • LLMRails
            • Lusha
            • MailerLite
            • Mailchimp
            • Mautic
            • Microsoft Dynamics 365 Business Central
            • Microsoft Dynamics CRM
            • Microsoft Excel 365
            • Microsoft OneDrive
            • Microsoft Outlook Calendar
            • Microsoft Teams
            • Mixpanel
            • MongoDB
            • Notion
            • Odoo
            • OpenAI
            • OpenRouter
            • Pastebin
            • PDF
            • Postgres
            • PostHog
            • Pushover
            • Qdrant
            • Queue
            • Razorpay
            • Router
            • Salesforce
            • SendGrid
            • ServiceNow
            • SFTP
            • SharePoint
            • Slack
            • SMTP
            • Snowflake
            • SOAP
            • Spotify
            • Stability AI
            • Stable Diffusion Web UI
            • Storage
            • Stripe
            • SurrealDB
            • SurveyMonkey
            • Taskade
            • Telegram Bot
            • Text Helper
            • Trello
            • Twilio
            • Twitter
            • Utilities
            • WhatsApp Business
            • WordPress
            • XML
            • YouTube
            • ZBrain
            • Zendesk
            • ZeroBounce
            • Zoho Books
            • Zoho CRM
            • Zoho Invoice
            • Zoom
          • How to Define a Flow?
          • How to Test Each Step in the Flow?
        • Configure Additional Settings
        • Test and Deploy Agents
        • How to access, monitor, and manage agent performance and tasks?
    • Settings
    • 📖API Tutorials
      • 📚Knowledge base
        • Automated Reasoning
      • 📱APP
      • 🤖Agents
Powered by GitBook
On this page
  • 1. Trigger
  • Types of Triggers:
  • 2. Action
  • Types of Actions:
  1. ZBrain Documentation
  2. ZBrain AI agents
  3. Creating custom AI agents
  4. Define Flow

Key elements of a Flow

A Flow is composed of two essential elements: Triggers and Actions. These elements work together to automate processes, ensuring that workflows are initiated and executed based on defined conditions.

1. Trigger

A trigger is the starting point of a Flow, determining when and how frequently the Flow is executed. It sets the conditions or events that activate the Flow, ensuring it runs at the right time or in response to specific actions.

Types of Triggers:

  • Schedule Trigger: Executes the Flow at a specified time or on a recurring schedule, such as daily, weekly, or hourly.

  • Webhook Trigger: Activates the Flow in response to an external signal, like receiving an HTTP request or a data submission from an external application.

  • Event Trigger: Starts the Flow based on specific events, such as user actions, data updates, or events from external services.

Trigger Configuration:

Triggers can be customized to meet specific requirements, such as:

  • Setting time intervals for schedule-based triggers.

  • Defining API endpoints for webhook triggers.

  • Specifying event parameters for event-based triggers.

2. Action

An action represents a specific task or operation that is executed once the Flow is triggered. Actions define what happens after the trigger event occurs, and they are the building blocks of the workflow. They are responsible for executing the desired operations and achieving the objectives of the Flow.

Types of Actions:

  • Data Processing: Manipulates or processes data, such as transforming, filtering, or enriching datasets.

  • Communication: Facilitates interaction by sending emails, notifications, or messages to users or systems.

  • Integration: Connects with external applications or services to retrieve, update, or send data.

  • Decision-making: Performs logic-based operations, such as conditional branching or applying rules to determine subsequent steps.

  • Custom Operations: Executes custom tasks, such as running scripts, executing code, or performing specific tasks tailored to unique workflow requirements.

Key Characteristics of Actions:

  • Sequential Execution: Actions are executed in a defined order based on the workflow logic, ensuring that each step is carried out in the correct sequence.

  • Flexibility: Multiple actions can be combined to handle complex workflows, enabling more advanced automation.

  • Outcome-driven: Each action contributes to a specific objective, such as updating a database, generating a report, or integrating with an API.

By combining well-configured triggers and strategically designed actions, Flows empower users to create complex business logic for developing GenAI-powered apps that automate processes, optimize workflows, and deliver consistent, impactful outcomes.

PreviousDefine FlowNextFlow Components

Last updated 5 months ago

🤖