with GoFormz and Offorte?
Emit new event when an event is created. See the documentation
Create a new contact organisation in Offorte. See the documentation
Create a new contact person in Offorte. See the documentation
Get the details of a contact in Offorte. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
goformz: {
type: "app",
app: "goformz",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.goformz.com/v2/formz`,
headers: {
Authorization: `Bearer ${this.goformz.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
offorte: {
type: "app",
app: "offorte",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://connect.offorte.com/api/v2/${this.offorte.$auth.account_name}/hello`,
headers: {
"authorization": `${this.offorte.$auth.api_key}`,
},
})
},
})