Smartsheet API - Updating Dropdown Values - smartsheet-api

I need to create a form where the user can submit multiple dates of their choice. Smartsheet forms doesn't support multi-date picker and the only option is to have those dates added to the dropdown.
Can someone please link me to the smartsheet documentation or let me know whether it's possible at all to feed values into a dropdown list using the API?
I need the API to send all dates future except today's date.
I have tried using ddupdate along with automations on smartsheets. I loaded all dates in the a separate sheet and used the smartsheet automation to move rows and stuff, but it ends up taking away the entire sheet instead of just one.

Related

Google forms - how to put collected data into specific column in Google Sheets?

I have setup a google sheets system as a crude database so people can log any changes they make to a website. There is about 100+ pages on the site so I have split the form into sections. So Page Name could be selected from different sections of the form. At the moment the Spreadsheet has created a new column for the page name entered from each different section. This is a mess and makes data manipulation difficult.
Is there a way I can tell Google forms to always insert the Page Name into a specific column in google sheets regardless of which section of the form the data was inputted from? I assume this would be done by adding some code in sheets itself. I am very new to google docs development.
Thanks :)

Update a Google Sheet w/ API Data

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!

Max date should appear automatically in Tableau after extract refresh

I am creating a report in Tableau and wanted to show the latest date in dashboard whenever I refresh the data. My data also contains last one month's data points. And on daily basis, we are refreshing the data.
If you just want to show the latest date in your dashboard you can just have a sheet with max(date_field) and drag that sheet onto your dashboard.
If you want that date to change dynamically with the users choice of periods that you just need to look at "Apply to worksheets" on your dashboard filter.

Using SmartSheet API for "Smarter" email notifications

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.

Notifications on changes in SmartSheet

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.