Automation

Array Functions Premium Action

Array Functions Premium Action Array Functions Premium Action Summary: Effectively managing array data within your workflow is crucial for seamless operations. With the Array Functions Premium Action, you can navigate an

2 min read· 349 words· 9 images

Array Functions Premium Action

Summary:

Effectively managing array data within your workflow is crucial for seamless operations. With the Array Functions Premium Action, you can navigate and manipulate arrays effortlessly.

The Array Functions Premium Action is a powerful tool that enables users to locate and manipulate array data efficiently. Whether you’re handling Shopify order line items or webhook triggers, this action simplifies the process of extracting useful information.

In the workflow, add a suitable Trigger. In this demo, we are using the Shopify Order Placed trigger. Click the “+” icon, then in the actions menu, search for and add "Array Functions" to the workflow.

Array Functions Premium Action – figure 1

📌NOTE: This is a Premium action.

Select Action Type

Select “Find” as the action type to return objects that match the Key-Value.

Array Functions Premium Action – figure 2

Select Field

All the fields with data type arrays available in the workflow are listed here. The list of available array data is collected from Shopify Triggers, Inbound Webhook Trigger, and Custom Webhook action response data. In the example below, we are using the Shopify Order Placed Trigger and checking if a product with product ID “zGhad23wfadfa” is part of the Shopify line items.

Array Functions Premium Action – figure 3

Filters

To find the matching object input the Key and Value under Filters.

Array Functions Premium Action – figure 4

Select Key

Here is the list of key variables from the selected array field. In this example, the list of Shopify line items' key variables is also included.

Array Functions Premium Action – figure 5

Select Value

Enter Value To Find The Match.

Array Functions Premium Action – figure 6

Add Another Item

Need to find objects that match multiple criteria? Add another key-value pair using the "Add Another Item" option.

Array Functions Premium Action – figure 7

Using The Array Function In Shopify

With the returned object variables, you can now use the extracted data across various actions, such as creating a dynamic email or SMS content, setting conditions in If/Else branches, or triggering additional automation steps.

Array Functions Premium Action – figure 8

Remember to Save the action.

Array Functions Premium Action – figure 9

Array Functions empower you to work smarter with your data, reducing manual effort and ensuring accuracy in automation. By learning to navigate and apply these tools, you can unlock greater efficiency in tasks ranging from e-commerce management to workflow optimization.

Tagsarrayactiondatashopifyfunctionspremiumworkflowaddselecttrigger