Enhanced Array Function Action Types: Discover the New Additions

Exciting Update: Enhancements to Array Function Action Types

We are thrilled to announce new Action types in Array Function to make it even more formidable.

Action Type: Find by Index

Select the “Find by Index” action type from the dropdown. This action type will facilitate in determining the array’s index data.

image

All the fields with data type array available in the workflow are listed here. The list of available array data is gathered from Shopify Triggers, Inbound Webhook Trigger, and Custom Webhook action response data.

Select Shopify → Line Items

image

The entered index value will return.

image

Action Type: Line Items

Select the “Line Items” action type from the dropdown. This action type will aid to reconstruct an array with custom keys.

Use case:

  • To reconstruct the array structure before sending it via Custom Webhook
  • To reconstruct the array before saving in Google Sheet (Create Rows – later)
  • To reconstruct the array to align with Email Builder Shopping cart structure

image

Select Shopify → Line Items

image

Enter the custom value in the “Key” input field and select the corresponding value from the value dropdown.

image
image

  • You can also find the matching object with multiple key-value pairs by adding another key value item.

image

Action Type: Math

Select the “Math” action type from the dropdown. This action type will assist to calculate Sum, Min, Max, Avg by matching key-value in an array of objects.

Use case: To calculate Sub total(line item total), Line Items in cart(count), Total items (qty)

image

Select Key value to find the matching index. The list of key variables from the selected array field are listed here. In this example, the list of shopify line items key variables are listed.

image

  • Select or deselect from the list of options available.

image


‘In Case You Missed It’ you can catch up on all our past product updates here. Stay tuned for more exciting updates and enhancements coming your way!

SMBcrm ©2024 | All Rights Reserved