Logo
Phone
  • About
  • Solutions
    SOP & Policies ManagerDocument Management SystemKnowledge Management SystemEmployee Onboarding SolutionPerformance ManagementProject ManagementProcess MiningIntranet for Small Businesses
  • Services
    IntranetSharePoint
    UIUX Services
    SharePoint Design Services
    Power Platform
    Power PagesPower AutomatePower AppsPower BI (MS Fabric)
    Copilot StudioAI AgentsMicrosoft Teams Apps
  • Templates
  • LookBook
    Modern SharePoint WebpartsBirthday Reminder WebpartWeather Webpart
  • Case studies
    SharePoint Services
    Microsoft Teams
    Microsoft 365
    Microsoft Power Platform
    Power Apps
    Power Automate
    Power Pages
    Azure Functions
  • Blog
    SharePoint Services
    Microsoft Teams
    Microsoft 365
    Microsoft Power Platform
    Power Apps
    Power Automate
    Power Pages
    Azure Functions
    Copilot
    Design
    Power BI (MS Fabric)
    Artificial Intelligence(AI)
    Microsoft Viva
  • Partners
  • Careers
Schedule a call
Contact us
Blog
/
Automate IIF File uploads and data extraction with Power Automate and SharePoint
Published Date - 
Swetha Murugesan
Swetha Murugesan
November 25, 2025

Automate IIF File uploads and data extraction with Power Automate and SharePoint

Power Automate
SharePoint Services

Table of Contents

In this blog post, we’ll walk through how to manually upload an Intuit Interchange Format (IIF) file to a SharePoint document library and automatically parse its contents to create list items in a SharePoint list using Power Automate. This can be especially useful when working with QuickBooks for data exports.

Scenario Overview

1. Manually upload an IIF file to a SharePoint document library.

2. Trigger a Power Automate flow when the file is uploaded.

3. Read and parse the file content.

4. Extract relevant data (e.g., transaction details).

5. Create items in a SharePoint list based on the data.

Step 1: Set Up SharePoint Library and List

Document Library

1. Create a new library (e.g., "Time Tracker Excel Docs").‍

2. Assume we are uploading the file contains the values for the below fields,

  • Date
  • Type
  • Amount
  • Account
  • Name
  • Memo

3. Based on the above fields, create a necessary column in SharePoint list." Include Column Name along with type of column.

SharePoint List‍

1. Create a new SharePoint list (e.g., "IIF Uploads Data").

2. Define necessary columns like:

  • Date
  • Type
  • Amount
  • Account
  • Name

Step 2: Uploading the IIF File

1. Users to manually upload .iif files to the “Time Tracker Excel Docs” library.

2. Example file name (e.g., Invoices_2025.iif).

Step 3: Create Power Automate Flow

1. Trigger Action

Use “When a file is created (properties only)” to trigger the document library.

Automate IIF File uploads and data extraction with Power Automate and SharePoint

2. Get File Content

  • Action: “Get file content”
  • Use the Identifier from the trigger step.
Automate IIF File uploads and data extraction with Power Automate and SharePoint

3. Convert File Content from Base64 to String

Automate IIF File uploads and data extraction with Power Automate and SharePoint
  • Action Name: ‘Compose ConvertBase64 IIF’
  • Description: This Compose action decodes the base64 content of the uploaded .iif file into a readable string format.
  • Expression Used: base64ToString(body('Get_file_content')?['$content'])
  • Create an 'Initialize variable' action named 'varFileItems' with the type set to 'String' and use a 'Set variable 2' action to assign the output of the 'Compose' action to it.
  • Get file content is the action where the file content is fetched from the SharePoint library.
  • base64ToString() is the expression that converts the base64-encoded file content into plain text.
Need workflow support? We’re here to help
Contact Us
Basic Template5
Basic Template4
Basic Template3
Basic Template2
Basic Template1
OOTB Template
Consumer Electronics Template
Healthcare Template 2
Real-Estate Template 1
Real-Estate Template 4
Transport Template 1
Environment sustainability Template 1
Environment sustainability Template 4
Digital Media Template 3
Digital Media Template 4
Digital Media Template 2

4. Remove Header from IIF File Content

When working with .IIF files, the first line typically contains column headers (starting with !NAME, !TYPE, !Date, !ACCNT, !AMOUNT). We need to skip this header so we can process only the data rows.

Automate IIF File uploads and data extraction with Power Automate and SharePoint
  • Action Name: Compose RemoveItemsHeader 2
  • Expression Used: skip(split(variables('varFileItems'), decodeUriComponent('%0A')), 1)

Explanation of Each Part

Component Description
variables('varFileItems') The IIF file content (already converted from Base64 to plain text).
split(..., decodeUriComponent('%0A')) Splits the content by line breaks (%0A is URI-encoded newline \n).
skip(..., 1) Removes the first item in the array, effectively skipping the header row.

Example: If your IIF file content looks like this:

!NAME TYPE DATE ACCNT AMOUNT

TRNS CHECK 4/23/2025 Bank -200

SPL CHECK 4/23/2025 Office Supplies 200

After using the expression, it becomes:

TRNS CHECK 4/23/2025 Bank -200

SPL CHECK 4/23/2025 Office Supplies 200

5. Convert IIF File Line to Array by Adding Comma Separators

Since the CSV file already contains comma separated, ignore this step. However, the IIF file uses tab delimited formatting, so we manually added a step in the flow to replace tab characters (\t) into commas and then split the line into an array of values.

Original iif file output: TRNS CHECK 4/23/2025 Bank –200

Automate IIF File uploads and data extraction with Power Automate and SharePoint

6. Apply to Each

  • Action: Apply to each
  • Input: Compose RemoveItemsHeader 2 output

7. Replace Tabs with Commas

  • Action Name: Compose AddCommaValue
  • Expression: replace(item(), decodeUriComponent('%09'), ',')

Explain the Expression:

a. item() refers to the current line in the loop.

b. decodeUriComponent('%09') decodes the tab character.

c. replace(...) swaps tabs (\t) with commas (,) to make the line CSV-like.

d. For example, after adding the commas, the line becomes: TRNS,CHECK,4/23/2025,Bank,-200

8. Convert Line to Array

  • Action Name: Compose ConvertArray
  • Expression:array(outputs('Compose_AddCommaValue'))
  • Converts the comma-separated string into an array.
  • Now, each value from the line can be referenced by its position in the array (e.g., array[0], array[1]...).
  • For example, the converted array value would look like: ["TRNS", "CHECK", "4/23/2025", "Bank", "-200"]

9. Create SharePoint List Item

  • Action: Create item – SharePoint
  • Site Address: Your site
  • List Name: IIF Uploads Data
  • Map SharePoint Columns:

Example:

a. Name: split(item(), '\t')[0]

b. Type: split(item(), '\t')[1]

c. Date : split(item(), '\t')[2]

After setting up the workflow, uploading a file to Time Tracker Excel Docs triggers the flow. If the file does not match the expected format:

  • The workflow may fail or terminate.
  • No list items can be created.
  • Error notifications can be triggered if configured.

Conclusion

Parsing .iif files and creating SharePoint list items using Power Automate is a practical example of how automation can save time and reduce manual data entry errors. With

proper handling of file structure and error management, you can easily streamline your QuickBooks-related workflows.

No items found.
Need help setting this up? Our experts can guide you
Contact an Expert

faqS

What is an IIF file?
An IIF (Intuit Interchange Format) file is a tab-delimited text file used by QuickBooks to import and export financial data such as transactions, accounts, and lists.
Can Power Automate read IIF files directly?
Not directly. Power Automate treats IIF files as plain text. That’s why we decode the Base64 content, remove the header, replace tabs with commas, and split the data into arrays.
Why do we need to replace tabs with commas?
IIF files use tab-separated values. Power Automate is easier to work with when the data is converted into comma-separated values (CSV-style), allowing array extraction and mapping.
What happens if the uploaded IIF file has formatting issues?
The flow may fail or skip creating some list items. To avoid this, ensure the IIF file: 1. Has the same number of columns per row 2. Does not contain blank lines 3. Matches the expected structure
Can this automation handle multiple IIF files uploaded at once?
Yes. Each file uploaded to the document library triggers its own Power Automate instance and processes the file independently.
Can I update existing SharePoint items instead of creating new ones?
Yes. Replace the Create item action with Update item and add logic to identify matching records (e.g., by date or transaction ID).
Can I update existing SharePoint items instead of creating new ones?
Yes. Replace the Create item action with Update item and add logic to identify matching records (e.g., by date or transaction ID).
Call-icon

Contact us

How can we help you?
Urgent? Book a time

Thank you!

We will get back to you in one business day.
If this is urgent, Please schedule a time
Oops! Something went wrong while submitting the form.

Subscribe to our Newsletter

Linked-In
Subscribe
Back to all blogs
Related blog
automate-sharepoint-news-from-outlook
Power Automate
SharePoint Services

From Inbox to Intranet: Automate SharePoint News Posts in Real-Time

April 30, 2025

In today’s fast-paced work environment, keeping everyone updated with the latest news and announcements is crucial.

Abirami Thangaraj
Abirami Thangaraj
automate-onenote-to-sharepoint-migration-power-automate
Power Automate
SharePoint Services

Automating OneNote to SharePoint Migration Using Power Automate’s OneNote Actions

April 16, 2025

Migrating OneNote pages to SharePoint as documents can be a tedious task when done manually.

Eulin Bennet
Eulin Bennet
Power Automates New Templates
Power Automate

Streamlining Business Approvals with Power Automate's New Templates

November 13, 2024

In today's fast-paced business environment, efficiency and agility are paramount. Organizations across industries are constantly seeking ways to optimize their workflows,

Venkatesh Maran
Venkatesh Maran
k
Phone
Phone number
+91 98841 89463
+1 737 289 0434
Mail
E-mail
sales@sharepointdesigns.com
Business-Hours
Business-Hours
24/7
Clutch: Microsoft ECM Company 2023Clutch: Microsoft ECM Company 2023

SharePoint Designs is a leading provider of Microsoft ecosystem services covering apps, intranets, and other digital gateways. We offer out-of-the-box SharePoint development, implementation, migration, and maintenance solutions to build or increase business resilience, operational excellence, and employee productivity. Some of our SharePoint services are Microsoft SharePoint configuration, Microsoft Teams set-up, advanced document management, and streamlined external sharing.

SharePoint Designs’ expertise unlocks the value of Microsoft Power Apps and Power Automate. We help quickly develop and deploy desktop/mobile applications and multi-layered automated workflows. SharePoint Designs also delivers cost-effective Copilot studio services to bridge conversational gaps between employers and customers.

Our suite proficiency makes it effortless to design, manage, and monitor custom-built AI-driven chatbots that are catered to specific organizational use cases. SharePoint Designs is backed by a track record of friction-free integration and smooth deployment for multiple clients across the world. Our flexible pricing plans can meet the unpredictable demands of your business. We also provide 24/7 customer support at global and regional levels.

SharePoint Designs empowers businesses with both ready-to-deploy and fully customized Microsoft 365 solutions. Our product suite includes prebuilt Intranets, Document Management Systems (DMS), SOP Manager, Employee Onboarding, and Knowledge Management Systems (KMS) designed to get you up and running quickly.
For organizations with unique needs, we offer end-to-end SharePoint development, Power Apps, Power Automate workflows, and AI chatbot integrations.

We combine the speed and simplicity of productized solutions with the flexibility of tailored services. Whether you're streamlining internal operations or enhancing collaboration, we ensure seamless integration, fast deployment, and strong ROI.

Our team supports you every step of the way with scalable pricing and 24/7 assistance. At SharePoint Designs, we don’t just implement technology we help you get the most out of it.

LookbookModern SharePoint WebpartsBirthday Reminder WebpartWeather WebpartaboutPartnerscareers
Privacy PolicyTerms of use
Contact us
Solution
SOP & Policies ManagerDocument ManagementKnowledge ManagementEmployee OnboardingPerformance ManagementProject ManagementIntranet for Small Businesses
servicesIntranetsharePointSharePoint Design Servicesmicrosoft teams AppsPower PagesPower PlatformPower AppsPower automatePower BI (MS Fabric)Copilot StudioAI Agents
case studies
SharePoint Services
Microsoft Teams
Microsoft 365
Microsoft Power Platform
Power Apps
Power Automate
Power Pages
Azure Functions
blogsharePoint ServicesMicrosoft teamsMicrosoft 365Microsoft Power PlatformPower Appspower automatepower pagesazure functionsCopilotDesignPower BI (MS Fabric)Artificial Intelligence (AI)Microsoft Viva
Lookbook
Modern SharePoint WebpartsBirthday Reminder WebpartWeather Webpart
About
Solution
Document ManagementKnowledge ManagementEmployee OnboardingPerformance ManagementProject ManagementIntranet for Small Businesses
services
IntranetSharePointSharePoint Design ServicesMicrosoft Teams AppsPower PagePower PlatformPower AppsPower AutomateCopilot StudioAI AgentsPower BI (MS Fabric)
case studies
Power Pages
Azure Functions
Power Automate
Power Apps
SharePoint Services
Microsoft Teams
Microsoft 365
Microsoft Power Platform
blog
Copilot
Design
Power BI (MS Fabric)
Artificial Intelligence(AI)
Microsoft Viva
Azure Functions
Power Pages
Power Automate
Power Apps
Microsoft Teams
SharePoint Services
Microsoft 365
Microsoft Power Platform
careers
Link 1Link 2Link 3
CareersPrivacy PolicyTerms of use
CONTACT US
SharePoint Designs © 2025 All Rights Reserved.
facebook-logofacebook-logoLinkedIn-logotwitter-logo
Ask Alfred