Contents

Cancel

Recommended Articles

  1. unify-apps

    Indexing

    Unify AI

    Transform raw content into searchable knowledge through AI-powered indexing and vector embeddings

  2. unify-apps

    JobNimbus

    Unify Integrations

    Integrate your application with JobNimbus to manage leads, track jobs, and streamline your workflow processes efficiently

  3. unify-apps

    IMAP

    Unify Integrations

    Integrate your app with IMAP to enable seamless email synchronization, real-time access, and enhanced communication workflows.

  4. unify-apps

    Preview Your Work

    Unify Automations

    Effortlessly review & monitor your automation’s performance

  5. unify-apps

    QuickBooks

    Unify Integrations

    Integrate your app with QuickBooks to streamline accounting, automate invoicing, and manage finances effortlessly

  6. unify-apps

    FTP/FTPS

    Unify Integrations

    Connect your app with FTP/FTPS to automate secure file transfers and streamline data exchange across systems.

  7. unify-apps

    Filters

    Unify Applications

    Enable users to refine, search, and sort data effortlessly across dashboards and datasets

  8. unify-apps

    Insided

    Unify Integrations

    Integrate your app with Insided to enhance customer engagement, streamline community management, and drive self-service support.

  9. unify-apps

    Facebook Ads

    Unify Integrations

    Connect your app with Facebook Ads to automate campaign management, optimize ad performance, and track marketing success.

  10. unify-apps

    Gainsight

    Unify Integrations

    Integrate your app with Gainsight to enhance customer success, automate engagement workflows, and drive retention

  11. unify-apps

    Livestorm

    Unify Integrations

    Integrate your app with Livestorm to streamline webinar hosting, automate event management, and enhance audience engagement.

  12. unify-apps

    Snowflake

    Unify Automations

    Connect to Snowflake for fast, scalable cloud data warehousing and analytics

  13. unify-apps

    Cognito Forms

    Unify Integrations

    Integrate your app with Cognito Forms to create custom forms, automate data collection, and streamline workflows

  14. unify-apps

    Button

    Unify Applications

    Create interactive elements with ease using buttons

  15. unify-apps

    BambooHR

    Unify Automations

    Integrate your app with BambooHR to streamline HR management, automate employee data processing, and enhance onboarding workflows

  16. unify-apps

    Build your first automation

    Unify Automations

    Learn how to build your automation step by step

  17. unify-apps

    User Management

    Unify Applications

    Efficiently manage user roles and permissions

  18. unify-apps

    Microsoft Teams

    Unify Automations

    Connect your app with Microsoft Teams to enhance communication, automate workflows, and foster collaboration across your organization

#
Unify Automations
Logo
CSV Reader by UnifyApps

CSV Reader by UnifyApps

Logo

6 mins READ

Overview

CSV Reader by UnifyApps allows you to read the text content of the CSV file and pass key information to the downstream automation.

This CSV Reader iterates through each row within the file and returns the data mapped within these rows as an object.

Image
Image

Use Case

For instance, you have an Excel file with client details like Name, Company, Phone Number, Service, and Account ID. You need to generate invoices for each client using Razorpay. 

  1. We can get this file from our source and then use CSV Reader to interpret and pass information from this file to the rest of the automation.

    Image
    Image

  2. We’ll fetch the properties such as Name, Account ID, and Amount from the CSV file and then use it as an input datapill in Razorpay, creating a separate payout link for each.

  3. The CSV reader iterates through all the records available in the CSV file and returns data associated with each record.

How to Parse CSV file?

  1. Add the CSV Reader by UnifyApps node, select Consume data from the CSV file, and proceed with providing the required inputs.

    Image
    Image
  2. Inputs:

    • File: Provide the URL or data pill to the CSV file here.

    • Header Row:

      • If your CSV file has a dedicated header row, leave it to True so the Reader knows to ignore the first row.

      • If your file doesn't have a Header row, ensure that you change the value to False so that the first row is not lost.

    • Columns: List the names of the columns you wish to retrieve. Use the Add button to add more columns.

    • Batch: This is set to False by default, enabling it to read rows individually. If set to True, you can set the batch size to read a set of rows at a time.

      Image
      Image
    • Encoding: It refers to the method of converting characters (letters, symbols, emojis, etc.) into a numerical format. Select your Unicode encoding. UTF-8 is the default format.

    • Delimiter: This denotes the character on which your CSV file will be parsed. CSV files generally have the ',' delimiter. Other common delimiters can include '_' and ';'.

    • Quote character: This represents the quote character used in the CSV file, i.e., either double or single quotes or nothing.

  3. After setting all the input parameters, set an App & Action inside the Reader iteration. We will simply use Variable by UnifyApps to add items to the list created earlier one by one.

    Thumbnail

    Note

    Users must add a step after CSV by UnifyApps Node to complete the Automation. The Automation can’t be deployed without this step.

  4. Output:

    • When the “Batch” is selected as “false”,  the input columns transform into fields of a single object in the output, with "Row" serving as the key.

      Image
      Image
    • When the “Batch” is selected as “True”,  these same input columns turn into fields of an array of objects, with "Rows" acting as the key.

      Image
      Image

FAQs

Can I provide a CSV file without a URL?

Yes, you can leverage data pills within UnifyApps to pass it into the Reader.

Can this Reader parse files like TSV (Tab Separated Values)?

Yes, as long as a consistent delimiter is used, any similar file can be parsed.