The smartsheet power automate 'insert row' function treats numbers as text

I am pulling data from an erp system an pushing it into a smartsheet using PowerAutomate and the available PowerAutomate connector action 'Insert Row' -- the input data to that function is numeric but it is showing up in Smartsheet as text. is there anyway to get it to populate as numeric or do we have to do a formula on the smartsheet side to get the value?

Answers

  • AndrΓ©e StarΓ₯
    AndrΓ©e StarΓ₯ Community Champion

    Hi @teresahoes

    I hope you're well and safe!

    Do the numbers begin with 0 (Zero)?

    I hope that helps!

    Be safe, and have a fantastic week!

    Best,

    AndrΓ©e StarΓ₯ | Workflow Consultant / CEO @ WORK BOLD

    βœ…Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!

    SMARTSHEET EXPERT CONSULTANT & PARTNER

    AndrΓ©e StarΓ₯ | Workflow Consultant / CEO @ WORK BOLD

    W: www.workbold.com | E: andree@workbold.com | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

  • teresahoes
    teresahoes ✭✭

    they do not begin with zero - if they do will they come over as numbers?

  • AndrΓ©e StarΓ₯
    AndrΓ©e StarΓ₯ Community Champion
    edited 08/01/23

    @teresahoes

    No, it's the other way around. It will be read as text if it starts with 0.

    Can you share some screenshots? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help.

    SMARTSHEET EXPERT CONSULTANT & PARTNER

    AndrΓ©e StarΓ₯ | Workflow Consultant / CEO @ WORK BOLD

    W: www.workbold.com | E: andree@workbold.com | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

  • teresahoes
    teresahoes ✭✭
    image.png

    Here you can see the inputs to the Insert Row action in Power Automate - note the parameters related to quotes are numeric in the json - not text.


    Here is the output from the insert row process - you can see it is being returned as text in the json - and thus shows in the smartsheet column as text (with the apostrophe in front of it). I am unsure whether this Insert Row action is the culprit (bug or whatever) - or if there is something that can be done on the smartsheet side to ensure incoming numbers are retained as numbers.

    image.png


  • Mike Clarke
    Mike Clarke ✭✭

    I'm having this exact same issue! Was there a resolution to this or maybe you tried another method to import the data into Smartsheet?

    TIA!

  • Mike_Rackspace
    Mike_Rackspace ✭✭

    Has there been any progress made here?? I'm having the same issue and it's quite annoying!

  • John Sauber
    John Sauber ✭✭✭✭✭✭

    @teresahoes Thanks for providing this documentation. I reached out to Smartsheet support, and they mentioned Microsoft owns the connector and manages it. They could probably make the update easily, if only there was a way to let (Microsoft) know. For what it's worth, I created a case for this in case they can bring up the enhancement request.

  • CuriousAnomaly
    CuriousAnomaly ✭✭
    edited 10/29/24

    Has Microsoft responded to your case? I have been experiencing the same issues as are being discussed in this thread and it has made my automation efforts difficult πŸ˜…

  • jessica.smith
    jessica.smith ✭✭✭✭✭✭

    I have experienced the same issue using the API in Bridge.

    To resolve, instead of referencing displayValue, reference value and do not put the relative reference in ""

    Smartsheet will then treat the value as a number instead of as a string and will not include the '

    If the value field is blank, this will cause an error. To resolve, add || to your relative reference, followed by the text you want Smartsheet to include if value is empty

    Example: {{states.startstate.smartsheet.get_row.row.cells.DEC.value||0}}

    Full HTTP Request Body looks like this:

    {
    "cells":
    [
    {"columnId":6493121134415748,"value":{{states.startstate.smartsheet.get_row.row.cells.DEC.value||0}}
    }
    ]
    }

    Jessica Selano

    jessica.selano@outlook.com

  • Eric Helal
    Eric Helal ✭✭

    It's still doing this in 2025. Insert Row even when I encapsulate my value in int() is making text for number strings that do not begin with 0. I suppose I can do the HTTP call directly but then what is the point of the connector!