with FormTitan and Pushinator?
The FormTitan API enables interaction with FormTitan's form-building and lead-capture capabilities programmatically. With Pipedream, you can harness this API to automate form data processing, synchronize data across various platforms, and trigger actions based on form submissions. This can streamline complex workflow scenarios, such as lead nurturing, survey data analysis, and customer feedback management, without the need to manually intervene.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
formtitan: {
type: "app",
app: "formtitan",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.formtitan.$auth.account}.formtitan.com/api/v1/users`,
headers: {
"ftAPIKey": `${this.formtitan.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pushinator: {
type: "app",
app: "pushinator",
}
},
async run({steps, $}) {
const data = {
"channel_id": `${this.pushinator.$auth.channel_id}`,
"content": `Test notification content`,
}
return await axios($, {
method: "post",
url: `https://api.pushinator.com/api/v2/notifications/send`,
headers: {
Authorization: `Bearer ${this.pushinator.$auth.api_token}`,
},
data,
})
},
})