web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Automating Excel Data ...
Power Automate
Answered

Automating Excel Data to SharePoint List-- Integer/int64 problems

(0) ShareShare
ReportReport
Posted on by 5

Hi all, I am brand new to Power Automate and I am trying to take a weekly .csv file, clean and format it with Power Query, then using PA to automate the file's contents to a SharePoint List.  I am following the video from Reza Doranni: https://www.youtube.com/watch?v=uEZI_b1Gs-k

 

I have mapped the columns in the Create Item action and after I run the test flow, I get the following error message:

 

OpenApiOperationParameterTypeConversionFailed. The 'inputs.parameters' of workflow operation 'Create_item' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/Accounts/Id' is required to be of type 'Integer/int64'. The runtime value '"ABC, Inc. - Baltimore, MD - Shoes"' to be converted doesn't have the expected format 'Integer/int64'.

 

I have tried converting my Account Id column to integer by using this expression:   int(item()?['Account'])

 

but I get the following error:  

 

InvalidTemplate. Unable to process template language expressions in action 'Create_item' inputs at line '0' and column '0': 'The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'.

 

Any ideas? I have attached my sample data and screenshots of my flow. 

 

 

help screenshot.PNGhelp screenshot 2.PNG

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-chengfen-msft Profile Picture
    Microsoft Employee on at

    Hi @hazwoper ,

    From the bug report you provided:
    The problem is: what is populated is not the same type as the column.
    Can you tell me the type of Account Id column in Sharepoint?
    if a numeric column
    Please change the Account Id of sharepoint to a text column because in the excel sheet you provided, Account is of type text

    vchengfenmsft_0-1677811207786.png

     

    Best Regards

    Cheng Feng

     

  • TF-23071417-0 Profile Picture
    5 on at

    @v-chengfen-msft  Thank you! It looks like that worked. My SharePoint list columns for some of the columns-- including Account, Region, and Account Size-- were of the "Lookup" data type. I deleted those columns and made new ones, changing them to "Short Text" type. I ran the PA test flow and it was a success. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 573

#2
Valantis Profile Picture

Valantis 407

#3
11manish Profile Picture

11manish 387

Last 30 days Overall leaderboard