Appizap
  • Appizap Overview
  • Build Apps
    • On-boarding Flow
    • Ideas to Apps using AI
    • Create a new app
    • App Configuration
      • App Overview
      • General Settings
      • Domain Settings
      • Version Release & Management
      • App Assets
      • Auth Settings
    • UI Builder
      • Module
      • Menu Navigation
      • Version Logs & Restore
      • Keyboard Shortcuts
    • GUI, Themes & Styles
    • Event handlers
    • Write JavaScript
      • JavaScript within {{ }}
      • JavaScript Query
      • Transformers
      • Temporary State
      • Data Responder
      • Built-in JavaScript Functions
      • Use Third-party Libraries
    • How-to-use
      • Welcome to Appizap!
      • FAQ
  • Appizap Dashboard
    • Your Apps
    • Database
    • Workflows
    • Media & Files
    • Query Library
    • Audit Logger
    • Templates
  • Workspaces
    • Workspace Settings
    • User Authentication
    • User Groups
    • Themes
    • Advanced
  • Appizap Concepts
  • Appizap Studio
    • Data Browser
      • Screen, Modules & Navigations
      • Active Components
      • In-App Modals
      • Data Queries in your App
      • Global Data Variables
    • Layers
    • Screen Settings
    • Debugger
    • Data Queries
    • Widget Library
      • Link
      • Icons
      • Steps
      • Button Group
      • Form Button
      • Grid
      • Responsive Grid Layout
      • Drawer
      • Navigation
      • Cascader
      • Comment
      • Mention
      • Collapsible Container
      • Rich Text Editor
      • Input
      • Modal
      • Text Display
      • Number Input
      • Password
      • List View
      • Date
      • Checkbox
      • Radio
      • Switch
      • Multi Select
      • Dropdown
      • File Upload
      • Phone Number Input
      • Download Pdf Button
      • Image
      • Divider
      • Progress Circle
      • Progress
      • Form
      • JSON Schema Form
      • Container
      • Tabbed Container
      • Table
      • Date Range
      • Time
      • Time Range
      • Toggle Button
      • Segmented Control
      • Rating
      • Timeline
      • Slider
      • Range Slider
      • Control Button
      • File Viewer
      • Image Carousel
      • Lottie Animation
      • Tree
      • Tree Select
      • IFrame
      • Calendar
      • Custom Component
      • Auto Complete
      • Chart
      • Graph Chart
      • Treemap Chart
      • Basic Chart
      • Geo Map Charts
      • Funnel Chart
      • Candlestick Chart
      • Select
      • Audio
      • Caller
      • Text Area
      • Responsive Flex Layout
      • Timer
      • Image Editor
      • AI Component
    • Component Specific Actions
  • Database
    • Connect DB
    • Build Internal DB
      • Arrays
      • Indexes
      • Using JSON Type
      • Cascade Delete
      • Data Load and Import
    • Data Sources
      • Connect Data Sources
        • Big Query
        • ClickHouse
        • CouchDB
        • DynamoDB
        • Elasticsearch
        • MariaDB
        • Microsoft SQL Server
        • MongoDB
        • MySQL
        • Oracle
        • PostgreSQL
        • Redis
        • Snowflake
      • Connect APIs
        • REST API
        • GraphQL
        • Google Sheets
        • S3
        • OpenAPI
        • Firebase
        • WooCommerce
        • OpenAI
        • Athena
        • Lambda
    • Query Library
    • Storage
      • Buckets
      • Uploads
      • Objects
  • Appizap Workflow Builder [Pro]
    • Workflows
      • Create a workflow
      • Nodes
      • Connections
      • Sticky Notes
      • Tags
      • Import and Export
      • Templates
      • Sharing
      • Settings
      • History
      • Find Workflow ID
    • Build Flow Logic
      • Conditional Nodes
      • Data Merging
      • Looping
      • Waiting
      • Sub-Workflow
      • Execution Order
    • Data Handling
      • Data Structure
      • Transforming data
      • Use Code
      • Mapping using UI
      • Data Item Linking
      • Data Pinning
      • Data Editing
      • Data Filtering
      • Data Mocking
      • Binary Data
    • Editor UI
    • Credentials
      • Create and Edit
      • Sharing
    • Integrations
      • Node Types
      • Core Nodes
      • Actions
      • Triggers
      • Credentials
      • Custom API Operations
    • Error Handling
      • Errors related to memory
    • Keyboard Shortcuts
  • Security & Compliance
  • Terms & Conditions
  • Privacy Policy
  • User Guide
    • Getting Started
    • Admin Console
    • Data Maintenance
Powered by GitBook
On this page
  • Creating loops
  • Node exceptions
  1. Appizap Workflow Builder [Pro]
  2. Build Flow Logic

Looping

PreviousData MergingNextWaiting

Last updated 10 months ago

Looping is beneficial for processing multiple items or actions repeatedly. Appizap Workflow Builder automatically handles repetitive processing, eliminating the need to manually include loops in workflows. However, there are some nodes where this automatic handling does not apply.

  • Appizap Workflow Builder nodes can take multiple items as input, process them, and produce results.

  • Each item can be seen as a single data point or row in the output table of a node.

Nodes typically run once per item. For instance, to share customer names and notes from the Customer Datastore node in a Slack message, follow these steps:

  1. Connect the Slack node to the Customer Datastore node.

  2. Configure the parameters.

  3. Execute the node.

You would receive five messages: one for each item.

Executing nodes once

In cases where you only want a node to handle certain items, such as sending a Slack message to just the first customer, you can use the Execute Once parameter in the node's Settings tab. This parameter is useful when you have multiple items in the incoming data and only want to process the first item.

Creating loops

Appizap Workflow Builder usually manages the iteration of incoming items. But sometimes you might need to create a loop to iterate through all items. Check Node exceptions for nodes that don't automatically iterate over all incoming items.

To make a loop in an Appizap Workflow Builder workflow, link one node's output to the previous node's input. Include an IF node to determine when to end the loop.

The Loop Over Items node is used to loop through all items for processing. Set Batch Size to 1 to process each item individually.

You can group data and process it in batches to avoid API rate limits when handling large amounts of data or specific items.

The Loop Over Items node stops running when items are divided into batches and sent to the next node. Adding an IF node to stop the loop is not needed.

Node exceptions

    • Info: this operation executes only once, regardless of the number of items in the incoming data.

executes once for insert and update.

node in Run Once for All Items mode: processes all the items based on the entered code snippet.

node in Run Once for All Items mode.

: you must handle pagination yourself. If your API call returns paginated results you must create a loop to fetch one page at a time.

executes once for insert, update, and delete.

executes once for insert and update.

executes once for insert.

:

executes once for insert and update.

Refer sample here
CrateDB
Code
Execute Workflow
HTTP Request
Microsoft SQL
MongoDB
QuestDB
Redis
TimescaleDB