with Kraken.io and PaperForm?
Emit new event when a new submission is made on the specified form in Paperform. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kraken_io: {
type: "app",
app: "kraken_io",
}
},
async run({steps, $}) {
const data = {
"auth": {
"api_key": `${this.kraken_io.$auth.api_key}`,
"api_secret": `${this.kraken_io.$auth.api_secret}`
}
};
return await axios($, {
method: "post",
url: `https://api.kraken.io/user_status`,
headers: {
"content-type": `application/json`,
"accept": `application/json`,
},
data,
})
},
})
The PaperForm API offers a robust means to interact programmatically with PaperForm's features, allowing you to automate form submissions, retrieve form data, and integrate with various other services. With Pipedream's serverless platform, you can construct workflows that respond to events from PaperForm forms—like new submissions—by triggering actions in other apps, or perform operations on the submissions themselves.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
paperform: {
type: "app",
app: "paperform",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.paperform.co/v1/forms`,
headers: {
Authorization: `Bearer ${this.paperform.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})