Skip to content

Commit bc9bed0

Browse files
committed
Update README
#16
1 parent 1fc086b commit bc9bed0

2 files changed

Lines changed: 12 additions & 18 deletions

File tree

README.md

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
# FlowSynx CSV Plugin
22

3-
The CSV Plugin is a pre-packaged, plug-and-play integration component for the FlowSynx engine. It enables reading from and writing to CSV files with configurable parameters such as file path, delimiter, headers, and encoding. Designed for FlowSynx’s no-code/low-code automation workflows, this plugin simplifies data extraction and transformation tasks.
3+
The CSV Plugin is a pre-packaged, plug-and-play integration component for the FlowSynx engine. It enables reading from and writing to CSV files with configurable parameters such as file path, delimiter, headers, and encoding. Designed for FlowSynx’s no-code/low-code automation workflows, this plugin simplifies data extraction and transformation tasks.
44

55
This plugin is automatically installed by the FlowSynx engine when selected within the platform. It is not intended for manual installation or standalone developer use outside the FlowSynx environment.
66

7-
---
8-
97
## Purpose
108

119
The CSV Plugin allows FlowSynx users to:
@@ -15,16 +13,12 @@ The CSV Plugin allows FlowSynx users to:
1513
- Filter CSV data based on conditions.
1614
- Transform CSV data inline for downstream workflows.
1715

18-
---
19-
2016
## Supported Operations
2117

2218
- **filter**: Filters rows in the CSV using defined `Filter` conditions. Supports logical operations (`and`, `or`) and common operators like `equals`, `contains`, `startsWith`, `endsWith`, `greaterThan`, and `lessThan`.
2319
- **map**: Maps existing fields in the CSV to a new subset of keys or column arrangement for simplified output.
2420
- **read**: Reads the structured object (e.g., from database) and returns it as a CSV data.
2521

26-
---
27-
2822
## Input Parameters
2923

3024
The plugin accepts the following parameters:
@@ -34,6 +28,7 @@ The plugin accepts the following parameters:
3428
- `Delimiter` (string): Optional. Defaults to `,`. The character used to separate fields in the CSV.
3529
- `Mappings` (list): **Required for `map` operation.** Defines which fields to include in the output.
3630
- `IgnoreBlankLines` (bool): Optional. Specifies whether blank lines in the CSV should be ignored (`true`) or treated as data rows (`false`). Defaults to `true`.
31+
- `HasHeader` (bool): Optional. Indicates if the first row of the CSV contains headers (`true`) or data (`false`). Defaults to `true`.
3732
- `Filters` (object): Optional. Used with the `filter` operation to define filtering criteria.
3833

3934
### Example input
@@ -44,12 +39,11 @@ The plugin accepts the following parameters:
4439
"Data": { ... },
4540
"Mappings": ["LastName", "Email"],
4641
"IgnoreBlankLines": true,
42+
"HasHeader": true,
4743
"Delimiter": ","
4844
}
4945
```
5046

51-
---
52-
5347
## Operation Examples
5448

5549
### map Operation
@@ -71,6 +65,7 @@ CustomerID,FirstName,LastName,Email,Phone,Country
7165
"Data": { ... },
7266
"Mappings": ["LastName", "Email"],
7367
"IgnoreBlankLines": true,
68+
"HasHeader": true,
7469
"Delimiter": ","
7570
}
7671
```
@@ -85,8 +80,6 @@ Schmidt,anna.schmidt@example.com
8580
Gonzalez,maria.gonzalez@example.com
8681
```
8782

88-
---
89-
9083
### filter Operation
9184

9285
**Input Data:**
@@ -120,6 +113,7 @@ CustomerID,FirstName,LastName,Email,Phone,Country
120113
]
121114
},
122115
"IgnoreBlankLines": true,
116+
"HasHeader": true,
123117
"Delimiter": ","
124118
}
125119
```
@@ -133,21 +127,17 @@ CustomerID,FirstName,LastName,Email,Phone,Country
133127

134128
## Debugging Tips
135129

136-
- Ensure that the `Delimiter` matches the file’s actual separator (`,` for standard CSV, `;` or `\t` for others).
130+
- Ensure that the `Delimiter` matches the file’s actual separator (`,` for standard CSV, `;` or `\t` for others).
137131
- Validate that `Mappings` and `Filters` reference columns that exist in the CSV header row.
138132
- If unexpected rows are excluded or included during filtering, check the logical operators (`and` / `or`) and ensure that data types align (e.g., string comparisons for string fields).
139133
- To troubleshoot encoding issues, verify that the CSV input uses UTF-8 or specify encoding explicitly if supported by FlowSynx.
140134

141-
---
142-
143135
## Security Notes
144136

145137
- No data is persisted unless explicitly configured.
146138
- All operations run in a secure sandbox within FlowSynx.
147139
- Only authorized platform users can view or modify configurations.
148140

149-
---
150-
151141
## License
152142

153-
© FlowSynx. All rights reserved.
143+
© FlowSynx. All rights reserved.

src/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ The plugin accepts the following parameters:
3434
- `Delimiter` (string): Optional. Defaults to `,`. The character used to separate fields in the CSV.
3535
- `Mappings` (list): **Required for `map` operation.** Defines which fields to include in the output.
3636
- `IgnoreBlankLines` (bool): Optional. Specifies whether blank lines in the CSV should be ignored (`true`) or treated as data rows (`false`). Defaults to `true`.
37+
- `HasHeader` (bool): Optional. Indicates if the first row of the CSV contains headers (`true`) or data (`false`). Defaults to `true`.
3738
- `Filters` (object): Optional. Used with the `filter` operation to define filtering criteria.
3839

3940
### Example input
@@ -44,6 +45,7 @@ The plugin accepts the following parameters:
4445
"Data": { ... },
4546
"Mappings": ["LastName", "Email"],
4647
"IgnoreBlankLines": true,
48+
"HasHeader": true,
4749
"Delimiter": ","
4850
}
4951
```
@@ -71,6 +73,7 @@ CustomerID,FirstName,LastName,Email,Phone,Country
7173
"Data": { ... },
7274
"Mappings": ["LastName", "Email"],
7375
"IgnoreBlankLines": true,
76+
"HasHeader": true,
7477
"Delimiter": ","
7578
}
7679
```
@@ -120,6 +123,7 @@ CustomerID,FirstName,LastName,Email,Phone,Country
120123
]
121124
},
122125
"IgnoreBlankLines": true,
126+
"HasHeader": true,
123127
"Delimiter": ","
124128
}
125129
```
@@ -150,4 +154,4 @@ CustomerID,FirstName,LastName,Email,Phone,Country
150154

151155
## License
152156

153-
Copyright FlowSynx. All rights reserved.
157+
© FlowSynx. All rights reserved.

0 commit comments

Comments
 (0)