Metablocks
The platform supports a list of metablocks that run particular actions.
- Action
- The Action block is the most common block. Each of the integration blocks and most of the
Commonblocks are also considered actions. These actions are subflows, which are being run within the scope of their parent flow. - Assign
- The Assign block gives a value to a variable. It is a simplified version of the Function block. For more information, see Assign.
- Auth Override
- The Auth Override block is used to override authentication credentials by selecting the
authentication key:
authKey. All parameters for the override are listed in the node. You can choose which values to set for the properties and to use the result of the Auth Override block in your flow. For more information, see Auth Override and Auth Override JSON. - Break
- The Break block is used to exit from a loop. The flow will continue from the next block after the loop. For more information, see Break.
- Comment
- The Comment block is used to add descriptive texts to the flow, providing context and clarity. It does not impact the flow's functions.
- Continue
- The Continue block is used to skip the current iteration of a loop and start the next loop iteration immediately. For more information, see Continue.
- End
- The End block represents the last node in the flow. It does not require any input parameters and does not produce any output.
- Exit
- The Exit block is used to stop the flow. It does not have any parameters and connects to the End block node. For more information, see Exit.
- ForEach
- The ForEach block is used to loop over a collection item, such as an array. You can run a series of actions for each item in the collection. For more information, see ForEach.
- ForEachParallel
- The ForEachParallel block loops through multiple items from a collection in parallel. For more information, see ForEachParallel.
- Function
- The Function block is used for writing custom code or scripts. It provides the flexibility to perform tasks that can also be achieved with the other blocks. For more information, see Function.
- Goto
- The Goto block is used to change the direction of a flow. This block requires you to specify which workflow node you want the execution to continue from. It is an internal block.
- If
- The If block is used to split the logic of your code based on a specific condition. Each If
block contains two subsequences
thenandelse. For more information, see If. - ParallelRepeat
- The ParallelRepeat block is used to run multiple iterations from a collection simultaneously, in parallel. To learn more, see ParallelRepeat.
- Repeat
- The Repeat block is used to run a process for a specific number of times. For more information, see Repeat.
- Start
- The Start block is used only to define variables for a workflow. It is not part of the workflow processing. For more information, see Start.
- Switch Case
- The Switch Case block is used to evaluate a statement with multiple conditions, beyond true or false. It checks an expression and matches its value against a series of case clauses. If a clause matches the expression’s value, the statements after the matching clause are run until a break statement is encountered. If no case clause matches the expression's value, the program switches to the default clause of the statement.
- Throw
- The Throw block is used to announce an error when an issue occurs. It causes the workflow to end with an error status. For more information, see Throw.
- Try
- The Try block ensures that a subsequence continues executing even if an error occurs and the
failure is thrown. This block contains two subsequences:
tryandcatch. Thecatchsubsequence runs when an error occurs in thetrysubsequence. For more information, see Try. - While
- The While block is used to repeat a process until a specific condition remains
true.