Uploaded file processing
Use this reference to learn more about uploaded CSV file processing.
Parse and break up the data in the uploaded File
If you need to process the data entries separately, you can add an Iterate task to parse and break up the data in the file.
If you want to iterate unique fields, you must manually enter the unique field, because the data in the file is not parsed until the workflow is run.
Determine the data structure of the payload
If you are not sure about the data structure or the exact data fields to be used in Liquid statements, you can test run the workflow. Ensure you have at least one task subsequent to the Iterate task.
When the workflow is completed, start the Swimlane on the task after the iterate task.
You can find the data structure of the payload from the bottom left. Use the Liquid Tester to test Liquid statements. When you get a desirable statement, copy it and paste to the target task. To edit a task in Swimlane, select the task and click Workflow Task Config to open the task editing window.
Data payload extraction
The Iterate task extracts headers from the CSV file and creates a nested data structure based on the headers. It accepts [.] or [:] as the field delimiter and trims spaces within each field. Finally, it connects different levels of fields using [.]. For example, a header Account : Account Id in a CSV file will be parsed as Account.AccountId.
To access the value, you can use this Liquid statement:
{{ Data.<file_name>.Account.AccountId }}