Array Functions Premium Action

Created by Support Launch Pro, Modified on Thu, 23 Apr at 8:32 PM by Support Launch Pro

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.


image


NOTE: This is a Premium action.


Select Action Type


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


image


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.


image


Filters


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


image


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.


image


Select Value


Enter Value To Find The Match.


image


Add Another Item


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


image


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.


image


Remember to Save the action.


image


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.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article