with Marketing Master IO and Neo4j AuraDB?
Creates a new node in the Neo4j AuraDB instance. 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
The Marketing Master IO API enables the automation of digital marketing tasks, including email campaign management, audience segmentation, and performance analytics. With its integration on Pipedream, you can craft workflows that streamline your marketing efforts, trigger actions based on customer data, and analyze campaign results in real-time. The API's capabilities, when coupled with Pipedream's serverless platform, allow for the creation of dynamic, responsive marketing strategies without extensive manual oversight.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
marketing_master_io: {
type: "app",
app: "marketing_master_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.marketingmaster.io/v1/contacts/list`,
headers: {
Authorization: `Bearer ${this.marketing_master_io.$auth.api_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,
})
},
})