How to insert new data values to existing csv file using logic app

Ananya Dixith 61 Reputation points
2024-03-13T07:24:59.8366667+00:00

Hi,

I have been stuck in this from past one week.

I need to insert new upcoming values to existing .csv file using logic app.

I can able to parse .csv file using below methods.

User's image

  1. User's image

2.User's image

  1. User's image

I'm able to parse existing .csv to json format.

But Im not getting how to append new upcoming value with existing data in .csv file.

When I tried using concat option after appending both existing and upcoming data to array variable the allignmnet in csv file is changed,

User's image

Pls help us out

for appending new field values to existing csv.

Thank you

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 30,326 Reputation points Microsoft Employee Moderator
    2024-03-14T01:14:29.81+00:00

    Hi @Ananya Dixith

    The Building Flows - Power Platform Community (microsoft.com) may have better suggestions, but can't you use Perform operations on data - Join Actions - Azure Logic Apps | Microsoft Learn to join the two json objects together? Then use the output of that operation to write the CSV file.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.