with AttractWell and Neo4j AuraDB?
Emit new event when a contact becomes a new member of a vault.
Emit new event when a new node is created in the Neo4j AuraDB instance.
Emit new event when a new registration for an event takes place.
Emit new event when a new relationship is created between nodes in the Neo4j AuraDB instance.
Emit new event when a lead is gained from a landing page.
Creates a new node in the Neo4j AuraDB instance. See the documentation
Creates or updates a contact with the provided identification and contact details.
Creates a relationship between two existing nodes. See the documentation
Approves, rejects, or unapproves a lesson in the AttractWell system based on the selected status.
Executes a Cypher query against the Neo4j AuraDB instance. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
attractwell: {
type: "app",
app: "attractwell",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.attractwell.com/api/v1/campaigns`,
headers: {
Authorization: `Bearer ${this.attractwell.$auth.oauth_access_token}`,
},
})
},
})
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,
})
},
})