The Smartsheet API unlocks the power of managing and automating complex workflows, directly interacting with Smartsheet's features such as sheets, rows, columns, and attachments. You can create, read, update, and delete sheets, share them with others, and extract complex data reports. Leveraging the API on Pipedream allows for seamless integration with other services for enhanced productivity and data management. Whether you're orchestrating an approval process, syncing data across platforms, or automating project tracking, the Smartsheet API pairs with Pipedream's serverless platform to build powerful, scalable, and automated workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
smartsheet: {
type: "app",
app: "smartsheet",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.smartsheet.com/2.0/users/me`,
headers: {
Authorization: `Bearer ${this.smartsheet.$auth.oauth_access_token}`,
},
})
},
})
Project Management Automation: Automatically create tasks in Smartsheet from GitHub issues. Each time a new issue is opened in a specified GitHub repository, a Pipedream workflow triggers to create a corresponding task in Smartsheet, ensuring project managers have instant visibility of development queues.
Sales Lead Tracking: Sync new leads from a Google Form to a Smartsheet sales pipeline. When a prospective customer submits their information, a Pipedream workflow captures this data, populates a row in Smartsheet, and can even trigger an email notification to the sales team via Gmail.
Inventory Management: Connect Smartsheet to Shopify for real-time inventory updates. Anytime a product's stock changes on Shopify, a Pipedream workflow updates the relevant inventory sheet in Smartsheet, keeping supply chain managers in sync with current stock levels.
Smartsheet uses OAuth authentication. When you connect your Smartsheet account, Pipedream will open a popup window where you can sign into Smartsheet and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Smartsheet API.
Pipedream requests the following authorization scopes when you connect your account:
ADMIN_SHEETS
ADMIN_SIGHTS
ADMIN_USERS
ADMIN_WEBHOOKS
ADMIN_WORKSPACES
CREATE_SHEETS
CREATE_SIGHTS
DELETE_SHEETS
DELETE_SIGHTS
READ_CONTACTS
READ_SHEETS
READ_SIGHTS
READ_USERS
SHARE_SHEETS
SHARE_SIGHTS
WRITE_SHEETS
GET
https://app.smartsheet.com/b/authorize
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://api.smartsheet.com/2.0/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://api.smartsheet.com/2.0/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}