Reputation: 1
I've created a node.js script that collects all rows in my SmartSheet and then updates the rows that meet a certain criteria. It works fine.
However, rather than having a script that continuously collects all rows and checks for the desired criteria, I would prefer to have the script only check for new rows that are added and then update certain cell values for only those new rows at the time they are added. Is there a way to update only new rows immediately after they're added via the SmartSheet API?
Upvotes: 0
Views: 290
Reputation: 11
According to SmartSheet's API documentation, currently the only events available for subscribing to via Webhook are all events("."). Which means if you create a webhook you'll be subscribing to any changes on a sheet. You'll have to handle filtering updated rows versus new rows in your code.
Upvotes: 0
Reputation: 1223
Yes look at their webHook section in the documentation use it to trigger functions when something happen.
Upvotes: 1