Join All Elements of an Array to a New String Using the "Join" Text Helper

Keragon’s Join Text Helper allows you to combine all elements of an array into a single string, separated by a custom delimiter. This is useful when you need to present array data as a readable string or pass it to third-party apps that don’t support arrays.

How to Use the Join Text Helper

00:00: This guide will walk you through leveraging the join action in caragon. 00:05: First go to your workflow editor. 00:08: Click the plus icon. 00:11: Access the helpers section 00:14: Open the text helpers options. 00:17: Select the join action for merging elements. 00:21: You can click here to switch from static values to custom expression or vice 00:25: versa. In this example, I will be using an array so I 00:29: will use custom expression. 00:32: Click on the value field 00:35: Map your values array in the values field. 00:39: Mayor separator in the separator field in this step. 00:42: I will use comma as the separator of the elements. 00:47: Save the changes made. 00:50: Proceeded to test the step 00:53: View the outputs tab 00:56: You should see the new string joined from the elements of an array here. 01:01: In this guide you learned how to use the join action in caragon to merge 01:05: array elements into a new string efficiently.

  • Open your workflow editor.

  • Click the + icon to add a new step.

  • In the step selection panel, click "Helpers".

  • From the Helpers options, select "Text Helpers".

  • Choose the "Join" action.

  • (Optional) Click the {} icon if you want to switch between static values and custom expressions. If you’re working with an array variable, select Custom Expression.

  • Click the Values field.

  • Use the Variable Selector to map the array you want to join.

  • Set your separator in the Separator field (e.g., comma ,, space , or custom separator like |).

  • Click "Save" to apply changes.

  • Click "Test Step" to preview the result.

  • Go to the Outputs tab to view the final joined string.

Example Result: An array ["Apple", "Banana", "Cherry"] with a comma separator will output as "Apple,Banana,Cherry".

Was this article helpful?
0 out of 0 found this helpful

Articles in this section

See more