I am unable to find a way to move rows between sheets in Smartsheet via API. There is a move row command in Smartsheet which moves the row data and preserves all attachments and discussions. Is this available through API?
Thanks,
"Move Row(s)" capability is not available in the current version of the Smartsheet API (1.1). However, the next version of the Smartsheet API (2.0) -- which is scheduled for release later this month -- will include the ability to move row(s) from one sheet to another.
If you haven't already subscribed to the Smartsheet Developer Newsletter, you can do so here: https://www.smartsheet.com/developers (via the "Get Developer Updates" form in the bottom-right area of the page). We'll be notifying subscribers via email when API 2.0 is available.
Related
I'm using Google Sheets along with App Sheet to make a simple mobile app that tracks product inventory for me. It's working great. But I'd like to use a 3rd party API to bring in additional product info. I know how I can use IFTTT or Zapier to make a 3rd party API call, but I can't figure out how to make a 3rd party API call and then update my Sheet with the response. Is this possible? Thanks!T
David here, from the Zapier Platform team.
That's definitely possible! The first thing you'll want to do is decide on a trigger. Is this row only updated once (on creation) or on some other impetus (such as a different field being updated). For sake of example, let's assume creation. Your zap would look like this:
Trigger: New Row Created
Action: Code Step / Webhook Step (to fetch info)
Action: Update Row (using the data from steps 1 & 2)
There's more info about updating rows in the help docs here: https://zapier.com/help/google-sheets/#updating-rows
Let me know if you've got any other questions!
I am creating a facebook chatbot and i can get different kinds of JSON format for persistent menu, quick replies and simple messages. Is there any way that i can differentiate what functionality (i.e. either persistent menu, quick reply, button template) is triggering the webhook call?
Here is the list of actions, that can trigger webhook by the date 10th Sept 2017. You can differentiate the calls by parsing JSON format. Each one has its own structure encapsulated with a general structure.
Message
Message Delivered
Message Read
Message Echo
Postback
Plugin Opt-in
Referral
Payment (beta)
Checkout Update (beta)
Pre-Checkout (beta)
Account Linking Event
Policy Enforcement Event
App Roles (beta)
Standby (beta)
Pass Thread Control (beta)
Take Thread Control (beta)
To find out more check out the related dev docs:
https://developers.facebook.com/docs/messenger-platform/webhook-reference
Currently in SmartSheet, users are able to assign email notifications to users, which are triggered when "Anything Changes" or a pre-specified column changes in a sheet.
While this is useful, there is a common business case where a sheet administrator needs to notify users based on the contents of a cell. For example, if the drop down option in Column A is set to Option A, User A gets notified, or if set to Option B, User B gets notified, etc.
Is this sort of conditional notification logic possible in the SmartSheet API v2.0?
The Smartsheet API doesn't currently support creating or managing alerts (i.e., notifications and reminders). So, to achieve the type of scenario you've described, you'd need to create an integration that:
is able to know when the specified changes occur in the Sheet (ex: Column A is set to Option A for any row)
contains the logic to determine which user(s) to email (ex: if Column A is set to Option A for any row, then email User A)
sends the email(s)
At a high level, you have a couple of different options for accomplishing what I've outlined above:
Poll Smartsheet periodically (ex: hourly) to determine if the Sheet has changed (Get Sheet Version) and if it has changed, evaluate sheet data (Get Sheet); if data meets your criteria for sending email(s), then send email(s).
Alternatively, you could use "Smartsheet Webhooks" such that your integration will be notified when changes occur in the Sheet, then react to such notifications by subsequently using the API to evaluate sheet data (Get Sheet or Get Row); if data meets your criteria for sending email(s), then send email(s). Smartsheet Webhooks are currently in Private Beta -- if you'd like to be considered for the private beta, you can apply by completing this web form.
The API only seems to describe how to get other programs to control smartsheets, how do I get smartsheet to control other apps?
It seems to be possible, the zapier integration mentions that you can make an event "on new row".
In particular, it would be nice to get notifications on new rows and changes in dates.
Cine, you are correct - the explicit objective of the Smartsheet API (as is with most APIs) is to provide access to and facilitate management of Smartsheet data and properties. The API has no knowledge of other products and services - nor it should.
The Smartsheet connectors for Zapier, Azuqua, itduzzit and other similar "API orchestration" services allow users to create triggers on various Smartsheet events, like new rows or row updates... or take an action based on another event (e.g., create a new row or update an existing row).
In addition, we are in the process of developing webhooks (see https://en.wikipedia.org/wiki/Webhook and http://resthooks.org/) and plan to make these available later this year. Through webhooks you will be able to subscribe to notifications on Smartsheet events, like new rows, sheets, discussions, etc.
I'm wondering how to create new reminders via the Java Smartsheet API. I haven't been able to find anything related to that. I thought it might be in the Row or RowResources class. Here is a quote from the launch of the API claiming that it can be done:
"Use the API to automatically trigger events in Smartsheet. Automatically create project sheets or tasks, update and share
data, or send reminders."
Has anyone successfully done this?
The Smartsheet API does not currently support creating Alerts (i.e., reminders & notifications). (Apologies for the confusion -- I've updated the blog post you quoted to remove the reference to Reminders.)