Summit gives you the triggers, actions, and models to extend what's possible inside your favorite platforms.
Emit new event when a new model is added to your organization in Summit. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
summit: {
type: "app",
app: "summit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.usesummit.com/v1/apps`,
headers: {
"x-api-key": `${this.summit.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})