The only marketing automation software you will ever need.
The Platform.ly API allows for deep integration with your marketing automation, CRM, and business intelligence data. Within Pipedream, you can leverage this API to automate workflows, sync data with other services, trigger actions based on customer interactions, and analyze business metrics. The seamless connection with Pipedream opens up possibilities for enriching customer profiles, managing campaigns, and driving analytics-driven decisions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
platform_ly: {
type: "app",
app: "platform_ly",
}
},
async run({steps, $}) {
const data = {
"api_key": `${this.platform_ly.$auth.api_key}`,
"action": `profile`,
"value": `{}`,
}
return await axios($, {
method: "post",
url: `https://api.platform.ly/`,
headers: {
"Content-Type": `application/x-www-form-urlencoded`,
},
data,
})
},
})
The Filter API in Pipedream allows for real-time data processing within workflows. It's designed to evaluate data against predefined conditions, enabling workflows to branch or perform specific actions based on those conditions. This API is instrumental in creating efficient, targeted automations that respond dynamically to diverse datasets. Using the Filter API, you can refine streams of data, ensuring that subsequent steps in your Pipedream workflow only execute when the data meets your specified criteria. This cuts down on unnecessary processing and facilitates the creation of more intelligent, context-aware systems.
export default defineComponent({
async run({ steps, $ }) {
let condition = false
if (condition == false) {
$.flow.exit("Ending workflow early because the condition is false")
} else {
$.export("$summary", "Continuing workflow, since condition for ending was not met.")
}
},
})