with Neo4j AuraDB and Gravity Forms?
Emit new event when a new form submission is received.
Emit new event when a new node is created in the Neo4j AuraDB instance.
Emit new event when a new relationship is created between nodes in the Neo4j AuraDB instance.
Creates a new node in the Neo4j AuraDB instance. See the documentation
Creates a new entry in a Gravity Forms form. See the documentation
Creates a relationship between two existing nodes. See the documentation
Executes a Cypher query against the Neo4j AuraDB instance. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
neo4j_auradb: {
type: "app",
app: "neo4j_auradb",
}
},
async run({steps, $}) {
const data = {
"statement": `RETURN date() AS currentDate, datetime() AS currentDateTime`,
}
return await axios($, {
method: "post",
url: `${this.neo4j_auradb.$auth.api_url}`,
auth: {
username: `${this.neo4j_auradb.$auth.username}`,
password: `${this.neo4j_auradb.$auth.password}`,
},
data,
})
},
})
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}`,
},
})
},
})