The only marketing automation software you will ever need.
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
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,
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})