# On-prem files - New line in CSV file trigger
This trigger picks up new lines added to the end of a selected CSV file. Each line is processed as a separate job.
When the recipe is first started, the trigger will pick up all existing lines in the selected CSV file. Subsequently, each new line added to the end of the file will be processed as a new job. This trigger checks for new lines once every poll interval.
New line in CSV file trigger
# Input fields
Input field | Description |
---|---|
CSV file | First, select a CSV file to process lines from. This CSV file must have a header line. The value of each column in the header will be used to generate the output schema of the trigger. |
Column delimiter | Next, select a column delimiter for this selected CSV file. The delimiters available are: comma, semicolon, space, and tab. |
# Output fields
Output field | Description |
---|---|
Line number | Line number of the line currently being processed. Header lines are not processed, so the first line has the value 1. |
Columns | This is an object type datapill. Columns of the selected CSV file will be available as datapills here. |
Last updated: 7/7/2021, 3:29:57 AM