SuperPhone® for Coaches & Creators
Triggered when a new contact is created. See the documentation
Triggered when a new message is received. 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
Gets a list of all submissions for all forms on the account See the docs here
SuperPhone is a communication platform that allows users to manage text and call campaigns through a personal phone number. Leveraging the SuperPhone API on Pipedream, you can automate interactions with contacts, send personalized messages, and get analytics on message deliverability and engagement. With Pipedream's serverless platform, you can trigger workflows on various events, like receiving a new message or a specific keyword, and connect to countless other apps to extend functionality.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
superphone: {
type: "app",
app: "superphone",
}
},
async run({steps, $}) {
const data = {
"query": `{{your_query}}`, // such as "query testAuth {defaultForm {id}}"
}
return await axios($, {
method: "post",
url: `https://api.${this.superphone.$auth.environment}/graphql`,
headers: {
Authorization: `Bearer ${this.superphone.$auth.api_key}`,
"Accept": `application/json`,
},
data,
})
},
})
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() {
let baseUrl = `https://${this.jotform.$auth.region}.jotform.com/`;
const standardSubdomains = [
"api",
"eu-api",
"hipaa-api",
];
if (!standardSubdomains.includes(this.jotform.$auth.region)) {
baseUrl += "API/";
}
return baseUrl;
},
},
async run({steps, $}) {
const baseUrl = this._getBaseUrl();
return await axios($, {
url: `${baseUrl}user`,
params: {
apiKey: `${this.jotform.$auth.api_key}`,
},
})
},
})