CSV Builder Node
The CSV Builder node transforms structured input data into CSV (Comma-Separated Values) format. It is ideal for workflows that require exporting data to spreadsheets, databases, or other tools that accept CSV input.
Inputs
- Input Data (optional): Structured data such as JSON, text, or fields from previous nodes (e.g., Name, ID, Email).
- If no input data is provided, the node will generate a CSV with 5 rows.
- CSV Header (optional): List of column names for the CSV output. You can add, remove, or reorder headers as needed.
- Process Type: Select the processing engine or model (e.g., GPT-4o-mini) for advanced data transformation.
Outputs
- CSV Output: The generated CSV-formatted string or file that can be passed to downstream nodes (e.g., Google Spreadsheet, email, file storage).
Usage
Typical workflow:
- Start Node: Initiates the workflow.
- Text Node: Provides structured user data (e.g., Name, ID, Email).
- CSV Builder Node: Maps the input data to CSV columns and generates the CSV output.
- Write to Google Spreadsheet Node: Receives the CSV output and writes it to a specified Google Sheet.
Example
-
Input:
- Name, ID, Email
- cham, 565656, cham@learningflow.ai
-
CSV Output:
Name,ID,Email
cham,565656,cham@learningflow.ai
Notes
- Ensure input data matches the defined headers for seamless CSV generation.
- Use clear and consistent header names.
- Integrate with downstream nodes for automated exports.