cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
xtrac_n00b
New Member

"Insert Row to Sheets" adds "'" to cell

My flow is working except towards the last step.  When I use "Insert Row" to a connected Google Sheets, the string variable gets inputted into the new row cell.  

 

This string variable contains: =IMPORTRANGE("@{outputs('Clean_URL')}","Sheet1!A1:A12")

 

=IMPORTRANGE("@{outputs('Clean_URL')}","Sheet1!A1:A12")

 

However, when I review the output in the Sheet, the string variable is successfully outputted as above, with a "'" (apostrophe).

'=IMPORTRANGE("@{outputs('Clean_URL')}","Sheet1!A1:A12")

 

'=IMPORTRANGE("@{outputs('Clean_URL')}","Sheet1!A1:A12")

 

Therefore the command isn't executed.

 

Troubleshooting I've done:

  • I have used the raw output of "=IMPORTRANGE("@{outputs('Clean_URL')}","Sheet1!A1:A12")" in the cell and ran the flow.  A new row is still created with the additional ' at the beginning.
  • I have manually tested the command and it works in sheets.
  • I have used Zapier to test the flow and it works.

 

The issue I'm noticing is the "Insert Row" (Google Sheets) action is generating the single apostrophe.  Any ideas on what I could do?

 

xtrac_n00b_0-1639869864458.png

 

1 REPLY 1
VJR
Super User
Super User

Looks like it is occurring from the Google sheets side that is adding the apostrophe.

If the manual way of removing them is this then maybe as a programmatic way you can use Google script as mentioned in this direct link to the post here.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (4,253)