Process comma-separated lists with CSV Parser
Recipe ToolsData ParserMarketingUtilitiesDeveloper Tool
What it does
When someone calls this automation with a comma-separated list, CSV Parser processes the data and splits it into individual values. The result is returned so the calling function can use each item separately.
Who it's for
Engineering teams who need to break down comma-separated data into distinct values for downstream processing.
How teams use this
Process email lists from forms
Split a comma-separated list of email addresses submitted through a form so each one can be added to a distribution list or validated individually. This automation handles the parsing without manual intervention.
Break down bulk import data
Convert comma-separated values from a bulk import into individual records that can be created in a database or CRM. Each value is extracted and ready for the next step in this automation.
Filter and validate split values
Add a condition after the split to check each value against a list or pattern, so only valid items move forward. This requires a filter condition that checks the split results before they are returned.
How it works
- Receive the comma-separated list. A real-time function call passes in a comma-separated string of values that need to be split into individual items.
- Parse the CSV data. CSV Parser processes the incoming string and converts it into structured data with each value separated and accessible.
- Split values with Ruby code. Execute ruby code to split the parsed data into individual elements and format them for the next step in processing.
- Return the split list. Send the structured result back to the calling function so each value can be used individually in downstream steps.