with Returnless and Jotform?
Emit new event when a return is created. See the documentation
Emit new event when a return note is added. See the documentation
Emit new event when a return product is marked as received. See the documentation
Emit new event when a return status is changed. See the documentation
Retrieve a list of sales orders sorted by creation date, with the most recent sales orders appearing first. See the documentation
Gets number of form submissions received this month. Also, get number of SSL form submissions, payment form submissions and upload space used by user See the docs here
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
returnless: {
type: "app",
app: "returnless",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-v2.returnless.com/2023-01/account`,
headers: {
Authorization: `Bearer ${this.returnless.$auth.api_key}`,
"content-type": `application/json`,
},
})
},
})
Jotform’s API is a powerhouse for automating form and survey data management. With Pipedream, harness this API to trigger workflows from new form submissions, manipulate and analyze your form data, and sync it across various platforms. Think streamlined data entry to CRMs, instant notifications for new leads or feedback, and timely data backups to cloud storage.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jotform: {
type: "app",
app: "jotform",
}
},
methods: {
_getBaseUrl() {
return this.jotform.$auth.subdomain
? `https://${this.jotform.$auth.subdomain}.jotform.com/API/`
: `https://${this.jotform.$auth.region}.jotform.com/`;
},
},
async run({steps, $}) {
const baseUrl = this._getBaseUrl();
return await axios($, {
url: `${baseUrl}user`,
params: {
apiKey: `${this.jotform.$auth.api_key}`,
},
})
},
})