import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
chattermill: {
type: "app",
app: "chattermill",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.chattermill.com/v1/projects`,
headers: {
Authorization: `Bearer ${this.chattermill.$auth.api_key}`,
},
})
},
})
Emit new event when a new response is created. See the documentation
Create response model with given attributes. See the documentation
Chattermill uses API keys for authentication. When you connect your Chattermill account, Pipedream securely stores the keys so you can easily authenticate to Chattermill APIs in both code and no-code steps.