Actions are the operations (or API operations) that you can perform on Magento 2.x by simple drag-drop and data mapping of elements and values from the input trigger, derived values using formulas or a desired constant that you wish to map.
All of the actions that you see below automate what you can do manually on Magento 2.x application.
As shown below, you can Create, Update or Delete Object in your Magento 2.x application in response to a trigger event.
Choose Entity Type to Perform Action On¶
This page is where you specify from a list of entities (Magento standard) on which to perform an action based on the input trigger. The selection row shows a list of options to choose from including four standard entities followed and an option to select "Others" entities which include all other standard entities. The four common standard entities are
A list of supported action entities is located here.
This action will create new object(s) in the Magento 2.x application from the list of entities based on the input trigger defined.
After selecting the entity, you will see the attributes that are needed to create that entity. You can either type in the values of these attributes or can fill the values using data mapping and transformation or you can use Excel-style functions for complex transformations. You can also use the evaluate functionality for deferring making a selection from a list when the flow execution is in progress.
In the example shown in Figure 3, a new product is configured with the data from new object created in the Dynamics 365 CRM. The new product details like
Descriptionwill be mapped in Magento from the fields created in Dynamics 365 CRM like
Choose this action to delete an object in Magento based on the input triggers you defined. You first need to select the entity from which you want to delete the record(s). Once the entity is selected you can add
where condition on the entity attributes.
For example in Figure 4, the entity
Customers with the specified
You can update the existing record(s) for an entity based on the condition you apply. To update records, you first need to select which entity you want to update. Once the entity is selected, you can add the condition on the selected attributes and can select fields that you want to update based on the condition applied.
For example in the Figure 5, the entity
Products is selected and when the
Price is less than the mapped field of
List price, then certain fields of
Attribute Set Name get updated by using the mapped field of Dynamics 365 CRM.