with Mav and Gravity Forms?
Emit new event when a new form submission is received.
Creates a new entry in a Gravity Forms form. See the documentation
The Mav API allows for automated, conversational marketing via SMS, engaging leads and customers through personalized messaging. On Pipedream, you can tap into this capability to create workflows that trigger actions within Mav based on various events or conditions. For example, you can add new leads into Mav's system, update contacts, or send out messages based on triggers from other apps or scheduled times.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mav: {
type: "app",
app: "mav",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://hiremav.com/api/v2/me`,
headers: {
"Authorization": `${this.mav.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
The Gravity Forms API allows you to interact programmatically with Gravity Forms, a WordPress form plugin, to create, update, delete, and retrieve form entries. Within Pipedream, you can leverage this API to automate workflows, integrate with other apps, and manipulate form data in real-time. By connecting Gravity Forms to Pipedream's serverless platform, you open up possibilities to sync form submissions with databases, trigger notifications, or even process payments automatically.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gravity_forms: {
type: "app",
app: "gravity_forms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.gravity_forms.$auth.base_api_url}/wp-json/gf/v2/forms`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.gravity_forms.$auth.consumer_key}`,
password: `${this.gravity_forms.$auth.consumer_secret}`,
},
})
},
})