Skip to main content

Flow Step Types

About Flow Steps

Flow steps are the building blocks of your flow. Each step has a specific job, helping the flow do different tasks. By using these steps, you can build complete flows. Let's look at each step type and what it does.

Add Item To Collection

Used to add a new item into an existing list or collection.

ParameterRequiredDescription
CollectionYesThe list or collection where the item will be added.
ItemYesThe item to be added (must be of the same type as the list)

New Variable

Used to create a new variable with a specified type.

ParameterRequiredDescription
TypeYesThe data type of the new variable (e.g., boolean, integer, decimal, float, money, string, entity, option set...).
Is ListNoA boolean flag indicating if the variable represents a list.

Assign Variable

Used to set a specific value to an existing variable.

ParameterRequiredDescription
VariableYesChoose from the previously created variables to which you want to assign a value.
ValueYesThe value to be assigned, which depends on the selected variable's type.

Set Output

Used to set a value, to one or more of the available output variables

ParameterRequiredDescription
Output'sYesAllow you to set a value, to one or more of the available output variables

Loop

Used to repeat a set of actions until a particular condition is met.

ParameterRequiredDescription
Start IndexYesThe starting point for the loop iteration
CountYesNumber of times the loop should iterate

Raise Error

Used to trigger an error condition, typically to handle unexpected scenarios or specific conditions within the flow.

ParameterRequiredDescription
Error CodeYesA unique code associated with the error to aid in identification.
Error MessageYesA descriptive message providing details about the triggered error.

Remove Item From Collection

Used to delete a specific item from a list or collection.

ParameterRequiredDescription
CollectionYesThe list or collection from which the item will be removed.
ItemYesThe item to be removed from the collection.

Switch

Used to evaluate a specific operand and direct the flow based on its value.

ParameterRequiredDescription
OperandYesThe value or variable to be evaluated in the switch step.

Condition

This step evaluates a specific expression and directs the flow based on its result.

ParameterRequiredDescription
Condition (Expression)YesThe logic or formula to be evaluated in the condition step.

Iterator

Used to processes each item in a collection one by one.

ParameterRequiredDescription
CollectionYesThe list or collection to be iterated over.

Run Logic Block

Executes a predefined flowOn block.

ParameterRequiredDescription
Logic Block TypeYesThe specific logic block to run.
InputsNoThe data/inputs that the logic block will use (e.g., entity).
OutputsNoThe expected output from the logic block (e.g., result) to be added to the flow context.

Run Logic Flow

Executes a predefined flowOn flow.

ParameterRequiredDescription
Logic Flow TypeYesThe specific logic flow to execute.
InputsNoThe data that the logic flow will use
OutputsNoThe expected output from the logic flow to be added to the current flow context

Associate Relationship

Creates a link between two entities, denoting a relationship.

ParameterRequiredDescription
EntityYesThe primary entity you're working with.
Entity IDYesThe unique identifier of the primary entity.
RelationshipYesThe type or name of the relationship being formed.
Entity ReferenceYesThe reference to the secondary entity you're linking to the primary entity.

Associate Multiple Relationship

Establishes multiple relationships between a primary entity and several other entities.

ParameterRequiredDescription
EntityYesThe main entity you're working with.
Entity IDYesThe unique identifier of the main entity.
RelationshipYesThe type or name of the relationships being formed.
EntitiesYesReferences to the other entities you're linking to the primary entity.

Disassociate Relationship

Removes a previously established relationship between two entities.

ParameterRequiredDescription
EntityYesThe main entity you're working with.
Entity IDYesThe unique identifier of the main entity.
RelationshipYesThe name of the relationship to disassociate.
Entity ReferenceYesThe reference to the other entity to unlink.

Disassociate Multiple Relationship

Removes multiple relationships that have been previously established between a primary entity and several other entities.

ParameterRequiredDescription
EntityYesThe main entity you're working with.
Entity IDYesThe unique identifier of the main entity.
RelationshipYesThe name of the relationships to disassociate.
EntitiesYesReferences to the other entities being unlink.

Execute Query

Facilitates running a specific query against an entity to fetch or manipulate data, based on various conditions and criteria.

ParameterRequiredDescription
MultiplicityYesDetermines how many records the query should return (Single, Multiple).
EntityYesThe specific entity type you're querying against.

Execute Multiple Requests

Execute multiple entity-related actions in a batch, encompassing creation, update, and deletion operations.

ParameterRequiredDescription
Entities To CreateNoList of entities you intend to create within the crm.
Entities To UpdateNoList of entities that need updates, specified with their changes.
Entities To DeleteNoList of entities that you want to remove from the crm.

Get Entity By ID

Retrieves an entity instance using its unique identifier.

ParameterRequiredDescription
EntityYesThe type of entity you're looking to retrieve. (e.g., Account, Contact)
Entity IDYesThe unique identifier of the entity.
PropertiesYesSpecific attributes or fields you want to fetch.

Get Entities By Relationship

Fetches entities based on their relationship with a specified entity.

ParameterRequiredDescription
Relationship TypeYesSpecifies the nature of relationship (e.g., one to one, many to many).
EntityYesThe main entity you're working with.
Entity IDYesThe unique identifier of the main entity.
RelationshipYesThe specific relationship used to determine which entities to retrieve based on their link with the main entity.

Set Entity Properties

Assigns or modifies the attributes or properties of an entity.

Step TypeRequiredSet Entity Properties
Entity TypeYesThe type of the entity being modified (e.g., Account, Contact)
EntityYesThe specific entity instance you're modifying
PropertiesYesAttributes or properties of the entity that you wish to modify. You can choose to: Set (Assign or modify values.), Unset (Remove or clear values.)

Save Entity

Saves or updates an entity instance in the crm.

Step TypeRequiredSave Entity
EntityYesThe specific entity instance you're saving.

Delete Entity

Removes a specific entity from the crm using it's ID.

ParameterRequiredDescription
EntityYesThe type of entity you want to delete.
Entity IDYesThe unique identifier of the entity.

Halt

Used to immediately terminate the flow. It's especially beneficial when encountering errors or particular conditions that require an abrupt stop. It's important to note that once a "Halt" step is integrated into the flow, no additional steps can be added below it.