Does anyone know how to automate calculations using the Google-Sheets-Writer? In the example I’m working with, I have two columns (Cost and Sub-Total). From these two columns, I need to calculate the Discount. When I copy the formula down (as Gummie suggested lol) the google sheets writer skips these rows because it thinks there is data in the cells that say $0.00.
Hey @JarredRobidoux - Can you please share the run link from the history page with share access enabled (you can set the link to ‘anyone with the link can view’) so I can understand the use-case properly?
Thank you! I’m viewing the run now but I don’t see any rows skipped by the sheet writer node. Could you elaborate your issue a bit more, ideally with screenshots please?
There are 10 inputs to the Discount column passed directly from the Extract Data node all of which are written to the sheet:
Right now we are using a manual formula to return the correct discount. If you look at the screenshot you provided, you can see the Extract Data node hallucinates a bit and returns the wrong value. This Discounts column should be (Sub-Total - Cost) to return the difference.
Currently, I am using the context provided in the Extract Data node to try and explain this - which I think might be where it’s returning some errors.
Let me know if this makes sense, or if you have anymore questions.
Ah I see. I don’t think you need to add the discount data field in the Extract Data node then since its just a simple formula. You can dynamically add the forumla in a Combine Text node and then write to the Google Sheet.
Could you elaborate a bit on what you mean by pushing a flow in production? By default all workflows are in an ‘active’ state meaning they can be run anytime. However if you mean’t adding a trigger to the workflow, you should refer to this documentation: Triggers - Gumloop
So in the case where I built this flow for someone else, they would have to create a gumloop account and connect their google sheets in order for the flow to start? There’s no way for the trigger to just constantly be on right?