Skip to main content

Format CSV data as text pattern

Fill out a text pattern for each row in a CSV file. Use double square brackets([[) with the CSV column names to be updated in the template text

Application

  • Text

Inputs (what you have)

TitleDescriptionData TypeRequired?Example
CSV fileCSV file to extract data fromFileYesdata.csv
Text patternText pattern to fill out with the data extracted from the CSV. Use double square brackets with the CSV column names to be updated in the text pattern. If a column name can't be found it will be replaced by a blank valueText(Long)Yes{ ”First”: “[[First Name]]“, ”Last”: “[[Last Name]]“ }
Separator textThe value to separate each generated text patternText(Long)No,

Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data library section. These variables in the Data library section are the outputs of previous Wrk Actions in the Wrkflow.

Outputs (what you get)

TitleDescriptionData TypeRequired?Example
Generated textText generated using the CSV file and text patternText(Long)Yes{ ”First”: “Jon“, ”Last”: “Doe“ },{ ”First”: “Jane“, ”Last”: “Smith“ }

Outcomes

NameDescription
SuccessThis status is selected if the template text was successfully generated.
Impossible to CompleteThis status is selected in the event of the following scenarios:Unable to interact with the provided CSV

Requirements

  • N/A