with WaiverForever and Dappier?
Emit new event when a new Waiver sign is received
WaiverForever offers an API to digitally manage waiver documents, enabling users to streamline the process of creating, signing, and organizing waivers. This API can be a game-changer for businesses that need to handle liability waivers, consent forms, or other types of agreements efficiently. By leveraging Pipedream's capabilities, you can automate workflows around these waiver processes, such as triggering actions when a waiver is signed, syncing signed waivers with other databases, or setting up alerts for incomplete documents.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
waiverforever: {
type: "app",
app: "waiverforever",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.waiverforever.com/openapi/v1/auth/userInfo`,
headers: {
"X-API-Key": `${this.waiverforever.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dappier: {
type: "app",
app: "dappier",
}
},
async run({steps, $}) {
const data = {
"query": `What is an MCP server?`,
}
return await axios($, {
method: "post",
url: `https://api.dappier.com/app/aimodel/am_01j06ytn18ejftedz6dyhz2b15`,
headers: {
Authorization: `Bearer ${this.dappier.$auth.api_key}`,
},
data,
})
},
})