The one - stop solution for all your business needs. A Sales and Marketing Automation tool designed with you in mind.
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 JeffreyAI API offers a suite of AI-driven capabilities such as natural language understanding, image recognition, and sentiment analysis. With these tools, you can automate and enhance various aspects of your applications, from analyzing customer feedback to moderating content. Integrating the JeffreyAI API with Pipedream allows you to seamlessly connect its AI features with hundreds of other apps to create powerful workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jeffreyai: {
type: "app",
app: "jeffreyai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.jeffreyai.$auth.environment}.jeffreyai.com/contact/ContactService.svc/GetContacts`,
headers: {
"Authorization": `${this.jeffreyai.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})