Event tracking made easy!
Emit new events each time a row or rows are added to the bottom of a spreadsheet. To use this source with a spreadsheet in a Shared Drive, use the New Row Added (Shared Drive, Instant) source instead.
Emit new events each time a row or rows are added to the bottom of a spreadsheet in a shared drive
Emit new event each time a row or cell is updated in a spreadsheet. To use this source with a spreadsheet in a Shared Drive, use the New Updates (Shared Drive, Instant) source instead.
Emit new event each time a row or cell is updated in a spreadsheet in a shared drive
Emit new event each time a new worksheet is created in a spreadsheet. To use this source with a spreadsheet in a Shared Drive, use the New Worksheet (Shared Drive, Instant) source instead.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
logsnag: {
type: "app",
app: "logsnag",
}
},
async run({steps, $}) {
const data = {
"project": `[project_name]`,
"channel": `[channel]`,
"event": `Test request`,
"description": `Making a test request on LogSnag`,
}
return await axios($, {
method: "post",
url: `https://api.logsnag.com/v1/log`,
headers: {
Authorization: `Bearer ${this.logsnag.$auth.api_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})
Some examples of things you can build using the Google Sheets API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_sheets: {
type: "app",
app: "google_sheets",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.google_sheets.$auth.oauth_access_token}`,
},
})
},
})