Skip to content

Conversation

@alkaChaudhary73
Copy link
Contributor

PR Description

This Flow Action converts an input string into an array based on a specified delimiter.

Overview

The action takes two inputs:

  • String: The text to be split.
  • Delimiter: The separator used to divide the string.

It returns an Array output containing all elements split from the string.

Example

Input:

  • String: "A,B,C,D"
  • Delimiter: ","

Output:
["A", "B", "C", "D"]

Use Case

This Flow Action can be used in scenarios where data is received as a single string (e.g., comma-separated values) and needs to be processed iteratively in a Flow.

Checklist

  • Implemented script logic for splitting string into array
  • Validated with multiple delimiters (",", "|", ";")
  • Verified output format in Flow Designer
  • Added error handling for empty or invalid input values

@github-actions
Copy link

Valid PR for ActionPack

Thank you for your contribution. This PR complies with the CONTRIBUTING.md.
A maintainer will review this shortly. In the meantime, Happy Hacking!

@rohi-v rohi-v self-assigned this Oct 31, 2025
@rohi-v
Copy link
Contributor

rohi-v commented Oct 31, 2025

Hi @alkaChaudhary73

Thank You for your contribution
Below are my suggestions:

  1. The logic is not checking if the delimiter is available in the string or not, Please throw an error message in this scenario.
  2. The Action name can be changed, Something like ' String to Array based on delimiter"

let me know your thoughts.

@alkaChaudhary73
Copy link
Contributor Author

I am raising another PR as I deleted the application. I will raise another PR and implement suggested changes. Closing this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants