AnnounceKit helps companies communicate product updates and news to their customers, increase feature adoption and build customer trust.
Convert an object to a JSON format string
Add or subtract time from a given input
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.
AnnounceKit is a tool for creating, managing, and publishing announcements to keep your users informed about product updates and news. Using the AnnounceKit API within Pipedream, you can automate the delivery of these updates across different platforms, sync release notes with your product's lifecycle events, or control the flow of communication based on user behavior or preferences. This level of automation can enhance user engagement and ensure timely updates without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
announcekit: {
type: "app",
app: "announcekit",
}
},
async run({steps, $}) {
const data = {
"query": `{
me {
active_project {
id
name
}
}
}`,
}
return await axios($, {
method: "post",
url: `https://announcekit.app/gq/v2`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.announcekit.$auth.email}`,
password: `${this.announcekit.$auth.password}`,
},
data,
})
},
})
The Pipedream Utils app is a set of pre-built functions that streamline common tasks in your workflows. It acts like a Swiss Army knife for developers, providing essential tools such as format conversion, date manipulation, and text processing. By leveraging these functions, you can reduce the boilerplate code needed for routine operations, speeding up the development of intricate automations. The Helper Functions API can be a game changer when it comes to tasks like parsing dates in user-friendly formats, encoding and decoding data, or generating UUIDs, making them more efficient and less error-prone.
export default defineComponent({
props: {
pipedream_utils: {
type: "app",
app: "pipedream_utils",
}
},
async run({steps, $}) {
},
})