Pioneering the Connected Operations Cloud to increase the efficiency, safety & sustainability of the operations that power the global economy.
Adds a new address to the organization. The user must provide the necessary props such as formatted address, geofence, and name. See the documentation
Generates a new route to an existing address. As a prerequisite, the user must create an address using the 'create-address' action if the location is not already available in the address book. The user must provide the necessary props such as destination address.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
samsara: {
type: "app",
app: "samsara",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.samsara.$auth.base_url}/users`,
headers: {
Authorization: `Bearer ${this.samsara.$auth.api_token}`,
},
})
},
})
The Typeform API furnishes you with the means to create dynamic forms and collect user responses in real-time. By leveraging this API within Pipedream's serverless platform, you can automate workflows to process this data, integrate seamlessly with other services, and react to form submissions instantaneously. This empowers you to craft tailored responses, synchronize with databases, trigger email campaigns, or even manage event registrations without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
typeform: {
type: "app",
app: "typeform",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.typeform.com/me`,
headers: {
Authorization: `Bearer ${this.typeform.$auth.oauth_access_token}`,
},
})
},
})