Dynamic work & collaboration software
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
The Smartsheet API gives developers access to Smartsheet platform features and
data, enabling you to build custom applications and integrations that extend
the functionality of Smartsheet. With the Smartsheet API, you can create
powerful integrations that are tailored to your specific business needs.
Using the Smartsheet API, you can:
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}`,
},
})
},
})
package main
import (
"fmt"
pd "github.com/PipedreamHQ/pipedream-go"
)
func main() {
// Access previous step data using pd.Steps
fmt.Println(pd.Steps)
// Export data using pd.Export
data := make(map[string]interface{})
data["name"] = "Luke"
pd.Export("data", data)
}